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


in reply to Re^7: Why are people not using POE?
in thread Why are people not using POE?

...considering that "cooperative multi-threading" is basically extinct and hardly applicable to high-performance servers Thought I'd jump here and point out that, while I can't speak for the world of servers, cooperative multithreading is alive and well in the world of simulation. Here, it is really important that the results are determinitic -- the same stimuli should always give the same path through the code. I have become very frustrated over the years as support for cooperative multithreading libraries has slowly dwindled away. I have hopes that good continuation support in parrot (and P6) may stem the trend.

--Dave
Opinions my own; statements of fact may be in error.

Replies are listed 'Best First'.
Re^9: Why are people not using POE?
by BrowserUk (Patriarch) on Jun 11, 2005 at 23:02 UTC

    Imagine ...

    if Parrot had both. You run those algorithms that need determanistic threading using user threads, and you run the user-thread dispatcher within a kernel thread. Your interface (GUI / CLI / browser ) runs in a separate kernel thread.

    The simulation runs perfectly predictably, and the interface can both monitor it's progress and remain responsive to allow the simulation parameters to be adjusted in real time.

    Maybe I'm a dreamer...


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
    "Science is about questioning the status quo. Questioning authority".
    The "good enough" maybe good enough for the now, and perfection maybe unobtainable, but that should not preclude us from striving for perfection, when time, circumstance or desire allow.