[pypy-dev] naive VM question
arigo at tunes.org
Thu Nov 22 05:14:38 CET 2007
On Fri, Nov 16, 2007 at 10:53:39PM +1300, Peter Fraser wrote:
> Is "multiple isolated (but bridged) VM's in a single process" a
> possible general technique?
> If multiple cooperating processes is a reasonable response to the
> "single threaded VM meets multi-core architecture" problem -then is
> "multiple VM's in a single process" a better one?
This is probably yet another place where PyPy could go much more easily
than CPython: multiple VMs in the same process which would by default
not have any share state, but expose primitives to the Python programmer
to explicitly share some objects. This is not trivial: there is some
research and experimentation to be done here.
Right now, the main issue with that is that it's definitely "yet another
cool thing that we could do with PyPy". As was discussed at length, in
the current situation the core team's feeling is that it needs to focus
on providing a useful "baseline" Python interpreter. Someone else is
welcome to jump in and play, though.
More information about the Pypy-dev