Hi "Unknown User",

On Saturday 12 Mar 2011 16:27:27 Unknown User wrote:
> I am looking for a module that will enable easy batching with perl
> threads, somewhat like Parallel::ForkManager for forking in batches.
> Does anybody know of such a module?

Please see this previous thread in this list:

http://www.nntp.perl.org/group/perl.beginners/2011/02/msg115714.html

To sum up, while threads may often be a good idea in general (some people 
happen to claim otherwise), Perl is not a very good language to use for them 
and you should probably look at other languages such as C, C#/.NET, Erlang, or 
possibly C/C++ (= C++ with many C primitives), Node.js, or Java or some JVM-
hosted languages such as Scala or Clojure. Alternatively, maybe try using 
other forms of multi-tasking in Perl. 

Note that threads suck pretty badly in all of the Perl 5/Python/Ruby/PHP/etc. 
languages in part due to their design philosophy, so it's not limited to Perl.

If you do have to use threads in Perl read:

* http://www.perlmonks.org/index.pl?node_id=288022

* http://perldoc.perl.org/perlthrtut.html

Regards,

        Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Stop Using MSIE - http://www.shlomifish.org/no-ie/

If his programming is anything like his philosophising, he would find ten
imaginary bugs in the "Hello World" program.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to