News for hackers. Stuff that matters.
Re:PyPy has moved to Git, GitHub by bluish29 on Monday January 01, 2024 @04:06PM (#38835354)
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 [1]

[1] https://www.pypy.org/posts/2018/09/inside-cpyext-why-emulati...

Re:PyPy has moved to Git, GitHub by pletnes on Monday January 01, 2024 @04:32PM (#38835537)
They do support numpy. The pypy name predates pypi. You’re off on multiple details here.
Re:PyPy has moved to Git, GitHub by pythux on Monday January 01, 2024 @04:38PM (#38835569)
Nit. 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-num...
Re:PyPy has moved to Git, GitHub by giovannibajo1 on Monday January 01, 2024 @04:14PM (#38835405)
to be fair, PyPy predates PyPI
Re:PyPy has moved to Git, GitHub by d-cc on Monday January 01, 2024 @04:27PM (#38835504)
Now all we need is a PiPy and we'll have all the pies
Re:PyPy has moved to Git, GitHub by dpflan on Monday January 01, 2024 @04:44PM (#38835609)
PiPi would complete the set but that would be (doubly) irrational…
Re:PyPy has moved to Git, GitHub by cdjk on Monday January 01, 2024 @05:33PM (#38835936)
I think you mean transcendental.
Re:PyPy has moved to Git, GitHub by dpflan on Monday January 01, 2024 @05:43PM (#38835999)
That works too. Perhaps that would be how the pie would taste: truly transcendental, but I don't think it could ever be finished.
Re:PyPy has moved to Git, GitHub by miketheman on Tuesday January 02, 2024 @11:13AM (#38843198)
How so? PyPI launched in 2003, PyPy's first release was in 2007. https://www.pypa.io/en/latest/history/#before-2013
Re:PyPy has moved to Git, GitHub by cfbolztereick on Tuesday January 02, 2024 @02:20PM (#38845770)
PyPy was started early in 2003 too, the first release took a while. PyPI was branded as 'The Cheeseshop' in the early years.
Re:PyPy has moved to Git, GitHub by d-cc on Monday January 01, 2024 @04:27PM (#38835501)
THANK YOU. This was my first reaction as well.
Re:PyPy has moved to Git, GitHub by CogitoCogito on Monday January 01, 2024 @04:44PM (#38835607)
> one can argue it is bad name

Given the way that pypy is implemented, I think the name is quite clever really.

Re:PyPy has moved to Git, GitHub by fumeux_fume on Monday January 01, 2024 @04:56PM (#38835694)
The packages repo is known as PyPI (like Py P.I.), not PyPi.
Re:PyPy has moved to Git, GitHub by Waterluvian on Monday January 01, 2024 @05:21PM (#38835872)
PyPy being a Python JIT written in Python with an ouroboros as a logo is pretty much the perfect name.
Re:PyPy has moved to Git, GitHub by Dylan16807 on Monday January 01, 2024 @08:18PM (#38837014)
As 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.