[pypy-dev] The Work Plan Re: STM proposal funding
Armin Rigo
arigo at tunes.org
Thu Apr 5 11:24:17 CEST 2012
Hi Christian,
On 04.04.2012, Christian Tismer <tismer at 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.
More information about the pypy-dev
mailing list