On Thu, 21 Aug 2003, Tom Locke wrote:

(not sure who you're quoting here... dan I think)

> > > But Parrot has continuations. Doesn't this gives me (cooperative)
> > > microthreads? (with a little work on my part).
> >
> > Sure...
> 
> So these would be real cheap right? Time and space overheads similar to
> regular procedure calls?


Yes. This isn't working 100% (at least I couldn't get it working
without tweaking the opcodes a bit) but you can see an example
of some microthreads at http://pirate.tangentcode.com/ ) ... 
Microthreads is kind of a loose word for it because it's just
a list of generators that increment at each tick.

The bytecode I'm generating there is really really bad, so it
runs pretty slow, but it definitely works. You might try playing
around with that.


Sincerely,
 
Michal J Wallace
Sabren Enterprises, Inc.
-------------------------------------
contact: [EMAIL PROTECTED]
hosting: http://www.cornerhost.com/
my site: http://www.withoutane.com/
--------------------------------------


Reply via email to