Hi Christian, On 04.04.2012, Christian Tismer <tis...@stackless.com> wrote: > it is funny how familiar this code looks, re-writing it in terms of > Stackless and tasklets:
Yes, that similarity is not accidental :-) It looks like it's "just" a matter of hacking at lib_pypy/stackless.py to use ``transaction``. But as I said it's possible that some changes to the API of ``transaction`` would be needed for an easier mapping. Feel free to try it out. > In STM, independence is enforced, currently at a relatively high > price. > > If Stackless were able to provide some better isolation by design, > maybe there could be a hybrid approach, where most operations would > not need to rely on STM all the time? Maybe. It's a language design question though, and based on future technical work, so I'll not consider it for now. The point of STM is that it allows anything, and once we have a good implementation, we can start tweaking other aspects (like the language) to improve performance. A bientôt, Armin. _______________________________________________ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev