[pypy-dev] PyPy STM
Armin Rigo
arigo at tunes.org
Sun Sep 30 16:22:00 CEST 2012
Hi Ronny,
On Sun, Sep 30, 2012 at 3:50 PM, Ronny Pfannschmidt
<Ronny.Pfannschmidt at gmx.de> wrote:
> after my thesis i'll be experimenting with a relaxed csp-ish model
> based on python native generator based continuations as well as
> the new continulet-jit-3 based greenlets.
>
> my basic assumption is that having limited amount
> of shared memory is acceptable.
What you are thinking about is to start from the naturally multicore
model of separate address spaces, and add some amount of shared
memory. You would use STM to handle the result. It is the opposite
of what I'm thinking about, which is to start with a non-multithread,
non-tasklet-based program and add multicore capability to it. I would
be using STM to "create" multicore capability, whereas you would be
using it to "create" shared memory. I am more interested in the first
approach than the second because I think it is closer to what
untrained programmers start with, but both approaches are potentially
valid.
Russel: STM is a powerful tool that makes sense of shared memory in
multicore situations. I fail to understand why you are looking at it
in the absence of shared memory...
A bientôt,
Armin.
More information about the pypy-dev
mailing list