in reply to Re: Dealing with non Thread safe modules
in thread Dealing with non Thread safe modules

Java has support for threads built-in. My college textbook Software Construction with Examples in Ada treats threads as an important concept in CS. It advocates first decomposing a system into its different concurrent processes, and then writing threads to perform the different processes.

A similar textbook "with examples in Perl" would therefore be an impossibility.

In real life perlmonks.org is multi-threaded. Each of us reading and posting is in real life a thread. An inability to support threads could choke Perl's future growth.

So the question is, should Perl support threads? How much of a deficiency is this inability to write threaded programs using Perl?

  • Comment on Re: Re: Dealing with non Thread safe modules

Replies are listed 'Best First'.
Re (tilly) 3: Dealing with non Thread safe modules
by tilly (Archbishop) on Feb 11, 2001 at 22:21 UTC
    FYI different posters are much more akin to separate processes than separate threads. Also there is no realistic hope that a sane threading model can be reverse-engineered onto Perl before 6.0. Please see Threads vs Forking (Java vs Perl) for more.