[pypy-dev] pypy and crunchy

Maciej Fijalkowski fijall at gmail.com
Mon Dec 10 12:06:13 CET 2007


(I've tried sending this mail from genesilico, but failed)

Hi Andre.

I think there is a bit of confusion. The ideal way would be to run crunchy
on top of cpython and fork a new process with sandboxed pypy. Sandboxing
works slightly different than import sandbox; sandbox.interact(), hence
even on top of pypy it would be hard to run one sadboxed thread and other
not sandboxed (I cannot really think about feasible solution). So this
looks like you would need to distribute pypy as a compiled interpreter.

This is the way play1 is done, it forks and runs different process for
each interpreter (without sandboxing, it's older than those features).
Although as I said before play1 is just a hack to make demos work, nothing
more  :)

Cheers,
fijal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20071211/3a8d15f1/attachment.html>


More information about the Pypy-dev mailing list