Alternatives to Stackless Python?
Olivier Dormond
olivier.dormond at hispeed.ch
Fri Sep 23 08:07:42 EDT 2005
Christophe wrote:
> simonwittber at gmail.com a écrit :
>
>>> I found LGT http://lgt.berlios.de/ but it didn't seem as if the
>>> NanoThreads module had the same capabilites as stackless.
>>
>> What specific capabilities of Stackless are you looking for, that are
>> missing from NanoThreads?
>
> Capabilities of the different "threadlike" systems are somewhat muddy.
> What myself I like in stackless is :
> - you can put context switching instuctions anywhere in the callstack
> without having to explicitely chain the operation
> - pickle support
>
> Not sure if greenlets support pickling yet. There are no info on that
> point and my tests weren't succesful.
The greenlets play with the underlying CPU stack directly so I don't
think they could ever be pickled.
More information about the Python-list
mailing list