Re: Running PyPy on top of CPython

Matti Picus <[email protected]> Mon, 10 Jan 2022 00:23:34 +0200
Newsgroups gmane.comp.python.pypy
Message-ID <[email protected]>
On 9/1/22 9:50 pm, M A wrote:
> Hello, I read here (https://rpython.readthedocs.io/en/latest/rpython.html) that PyPy is runnable on top of CPython. How do I start PyPy so it runs in CPython?


python2 pypy/bin/pyinteractive.py


You can get help with

python2 pypy/bin/pyinteractive.py --help


It takes ~20 secs to startup. To drop into rpython, hit ctrl-c, to 
return to interpreted PyPy on top of CPython hit ctrl-d


In rpython you have access to "space".



Matti