Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re^3: Slow evolution of Perl = Perl is a closed Word

by erroneousBollock (Curate)
on Sep 01, 2007 at 04:09 UTC ( #636470=note: print w/replies, xml ) Need Help??

in reply to Re^2: Slow evolution of Perl = Perl is a closed Word
in thread Slow evolution of Perl = Perl is a closed Word

Is in working progress for years! How many years we will need to wait to have a good multi-threading model on Perl? I just have waited to much!
I won't pretend that support for robust threading is well implemented in perl5... it's just not.

However, Java's concurrency is not exactly all that.

I'd say that Java's concurrency primitives (and the design patterns programmers build on them) are the state-of-the-art circa 1997.

There are wonderful new ways to think about (and express in code) concurrency that are only really supported well by languages like Erlang, Haskell and Scheme (please let's not have an argument about Scheme). Java's concurrency primitives are concise, robust and orthogonal for the Java language but do not necessarily map well to languages with (encouraged) abstraction techniques based around closures and/or first-class functions.

I (and many others) agree that perl5's support for threading needs serious work (looks like progress in Parrot/Pugs is good in that area) and that increasingly, folks will focus on concurrency as a dealbreaker, what with 4, 8 and more cores becoming the norm any-time-now.

If you're concerned about writing good, concurrent, perl5 code today, you might try designing your code around message-passing (look at Thread::Queue) as in Erlang, as this works well in practice.


  • Comment on Re^3: Slow evolution of Perl = Perl is a closed Word

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://636470]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2018-02-24 20:24 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (310 votes). Check out past polls.