in reply to Coroutines in Perl
Marc Lehmann has written Coro, a module that introduces coroutines and cooperative multitasking to Perl 5. I have toyed with it, as I find cooperative multitasking much more convenient than threading for most applications where operations can be made nonblocking for Perl.
He used the coroutines to drive a high throughput http daemon, but I found in the module versions I used, that Perl crashed unexpectedly from time to time without any indications as to what caused the crash.
But it sure is fun to program with coroutines, as creating a parallel version of LWP was really easy and nice with it.
|
---|
Replies are listed 'Best First'. | |
---|---|
Coro on OSX (was Re: Re: Coroutines in Perl)
by merlyn (Sage) on May 07, 2004 at 10:09 UTC | |
by tbone1 (Monsignor) on May 07, 2004 at 12:25 UTC | |
by asarih (Hermit) on May 07, 2004 at 15:52 UTC | |
by nmcfarl (Pilgrim) on May 07, 2004 at 16:28 UTC |
In Section
Seekers of Perl Wisdom