Olivier Dormond a écrit : > Christophe wrote: > >> [EMAIL PROTECTED] 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.
Then they are useless for nearly all the uses cases I need them :/ And that's why stackless is still relevant here. Or maybe pypy too but it's still a long time to go. -- http://mail.python.org/mailman/listinfo/python-list