Time to rename Stackless? (Re: Stackless Platform Independence?)

Christian Tismer tismer at tismer.com
Mon Feb 25 16:15:35 CET 2002

Paul Rubin wrote:

> Christian Tismer <tismer at tismer.com> writes:
>>>Maybe something like "Microthreaded Python" or
>>>"Multitasking Python" would be better?
>>We have now tasklets, proclets, and the stack slices
>>are stacklets. :)
> What about generators (yield statement)?  Since you have microthreads,
> is it now ok to yield through multiple levels of function calls?

I can't support the yield statement, since this is occupied
by the new built-in generators.
But it is easily possible to use tasklets as generators.
They can be used like the ICON coexpressions, from anywhere.
Switching to and from such a generator is slightly more
expensive, probably like 4 calls to a builtin primitive.

ciao - chris
Christian Tismer             :^)   <mailto:tismer at tismer.com>
Mission Impossible 5oftware  :     Have a break! Take a ride on Python's
Kaunstr. 26                  :    *Starship* http://starship.python.net/
14163 Berlin                 :     PGP key -> http://wwwkeys.pgp.net/
PGP Fingerprint       E182 71C7 1A9D 66E9 9D15  D3CC D4D7 93E2 1FAE F6DF
      where do you want to jump today?   http://www.stackless.com/

More information about the Python-list mailing list