in reply to Re^3: Slow evolution of Perl = Perl is a closed Word
in thread Slow evolution of Perl = Perl is a closed Word
I suppose that depends on how many more years you're willing not to contribute somehow to getting a good multi-threading model in Perl.
The first step in achieving a good threading model is understanding the limitations of the existing one.
And the first few steps in doing that is realising that:
If STM is the only state-sharing mechanism, then a very high proportion of the situations and algorithms that most benefit from threading can no longer be coded!
Whilst it is conceivable to wrap these FS primitives such that they might be undone if the STM requires rollback, other processes may have noticed and acted upon the changes
STM promises an efficient solution to shared-state memory operations which can benefit some classes of algorithm (the kinds of things PDL does for instance), but it holds little promise for a huge range of other threading scenarios.
Did you ever visit one of those Echo Canyons, yell, and wonder if anyone is listening?
Did you ever stick your head into a lion's cage to try and pursuade it to become a vegetarian?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Slow evolution of Perl = Perl is a closed Word
by chromatic (Archbishop) on Sep 04, 2007 at 04:53 UTC | |
by BrowserUk (Patriarch) on Sep 04, 2007 at 09:31 UTC | |
by chromatic (Archbishop) on Sep 04, 2007 at 10:58 UTC | |
by BrowserUk (Patriarch) on Sep 04, 2007 at 12:11 UTC | |
by chromatic (Archbishop) on Sep 04, 2007 at 18:53 UTC | |
|