> To the best of my knowledge, PyPy supports soft switching only. However
> greenlets use hard switching and stackless.py is built on top of greenlets. I 
> don't know if this means there is room for improvement in the PyPy world in 
> this regard.

You might be interested in my improved emulation of Stackless using greenlet:

http://code.google.com/p/syncless/source/browse/trunk/syncless/greenstackless.py

It passes a picky unit test which Stackless also passes:

http://code.google.com/p/syncless/source/browse/trunk/test/stackless_test.py

_______________________________________________
Stackless mailing list
[email protected]
http://www.stackless.com/mailman/listinfo/stackless

Reply via email to