3 ms·
If you are confused (like me) that this was about PyPI (Python packages repository) then no. It is about a project called PyPy (one can argue it is bad name) th
by bluish29 3y ago
If you are confused (like me) that this was about PyPI (Python packages repository) then no. It is about a project called PyPy (one can argue it is bad name) that is an implementation of python interpreter but without cpython. Instead they rely on a JIT compiler. And it is syntax compatible but if your code uses any library or method relying on C extensions then you are out of luck (Goodbye NumPy.. etc).
Edit: They have C-layer emulation, but I don't know its limitations or current status, but you can use those libraries [1][2]
[1] https://www.pypy.org/posts/2018/09/inside-cpyext-why-emulating-cpython-c-8083064623681286567.html https://www.pypy.org/posts/2018/09/inside-cpyext-why-emulati...
[2] https://pythoncapi.readthedocs.io/cpyext.html https://pythoncapi.readthedocs.io/cpyext.html
- giovannibajo1 3y agoto be fair, PyPy predates PyPI
- miketheman 3y agoHow so? PyPI launched in 2003, PyPy's first release was in 2007. https://www.pypa.io/en/latest/history/#before-2013 https://www.pypa.io/en/latest/history/#before-2013
- cfbolztereick 3y agoPyPy was started early in 2003 too, the first release took a while. PyPI was branded as 'The Cheeseshop' in the early years.
- d-cc 3y agoNow all we need is a PiPy and we'll have all the pies
- d-cc 3y agoTHANK YOU. This was my first reaction as well.
- pletnes 3y agoThey do support numpy. The pypy name predates pypi. You’re off on multiple details here.
- deleted 3y ago[deleted]
- pythux 3y agoNit. I believe you can use numpy and at least some other libraries relying on native extensions but performance might vary: https://doc.pypy.org/en/latest/faq.html#should-i-install-numpy-or-numpypy https://doc.pypy.org/en/latest/faq.html#should-i-install-num...
- CogitoCogito 3y ago> one can argue it is bad name Given the way that pypy is implemented, I think the name is quite clever really.
- fumeux_fume 3y agoThe packages repo is known as PyPI (like Py P.I.), not PyPi.
- Waterluvian 3y agoPyPy being a Python JIT written in Python with an ouroboros as a logo is pretty much the perfect name.
- Dylan16807 3y agoAs a counterbalance, I'm very familiar with PyPy and have never heard "PyPI". > one can argue it is bad name I suppose one can, but it's a python interpreter written in python, so I think it's pretty good.