3 ms·
PyPy is python implemented in python. It is fast.
by nxpnsv 6mo ago
PyPy is python implemented in python. It is fast.
- Doxin 6mo agoPyPy is python implemented in RPython, which is technically a python subset. It's so restricted it might as well be a different language though.
- bjoli 6mo agoIt is restricted in a way that you would restrict yourself to write high speed software in most languages, and I found it is not that restrictive compared to C that you would have to use if you were to write a fast Python library.
- Doxin 6mo agooh for sure, but I still feel like telling people pypy is written in python is misleading. it's written in something significantly like python, but it's not python.
- mjmas 6mo ago> technically a python subset So it can just run under CPython? If so, then that isn't too misleading.
- bjoli 6mo agoYes. It can run under Cpython (2.7).
- nxpnsv 6mo agoPyRPy is just less catchy sounding
- notpushkin 6mo agohttps://pypy.org/ https://pypy.org/ It lags behind CPython in features and currently only supports Python versions up to 3.11. There was a big discussion a month ago: https://news.ycombinator.com/item?id=47293415 https://news.ycombinator.com/item?id=47293415 But you can help! https://pypy.org/howtohelp.html https://pypy.org/howtohelp.html https://opencollective.com/pypy https://opencollective.com/pypy
- wyldfire 6mo agoThe fact that it's written in python is often brought up in order to explain its name. But really, it's much less interesting than the fact that it has a tracing JIT. If it were called PyJIT I'd bet it would be clearer and more obvious that it's fast. And people would prob get less hung up on the distinction between python/rpython.