http://www.perlmonks.org?node_id=628783


in reply to Re: Where is concurrency going? Is Perl going there?
in thread Where is concurrency going? Is Perl going there?

And when they need to communicate, use a simple to understand, easy to use, safe, conceptually clean and almost trivially programmed abstraction (Thread::Queue) and almost anyone can program a threaded application with ease.

Oblig. and shameless plug for Thread::Apartment, which hopefully goes even further to ease the process (tho, admittedly, its still a bit warty).

Alas, the current threads::shared creates a bit of a barrier to large scale threading (shared nothing/MP or otherwise) due to the global interpretter lock. But an alternative is being worked on. And while current ithreads is a burden, some of that could be alleviated by iCOW - if ever implemented.

I won't comment on Perl 6. I have problems to solve last year, and can't wait for it. Perl 5 is quite capable of concurrency, be it threaded or otherwise.


Perl Contrarian & SQL fanboy
  • Comment on Re^2: Where is concurrency going? Is Perl going there?