PyPy v7.3.16

by lumpaon 4/24/2024, 10:18 AMwith 27 comments

by candlon 4/24/2024, 3:44 PM

I recently had to script reading a large Excel XLSB file. Using pyxlsb it took about two minutes. I found an alternative library with significally better performance - python-calamine, but this one reads all the data to memory consuming GBs of RAM, so was a no starter. Then I tried PyPy and miraculously the same script with pyxlsb takes 15 seconds.

by giancarlostoroon 4/24/2024, 2:29 PM

I never really did much with PyPy, do people mostly use it in a deployed application setting? I ask because looking over at the PyPy Speed page...

https://speed.pypy.org/

Looks like Django is insanely faster under PyPy. Feels like a potential waste not to use PyPy on a deployed web app in most cases. I wonder how FastAPI scales with PyPy and other Python interpreters.

by sneed_chuckeron 4/24/2024, 3:52 PM

Still crazy to me that Python is this popular in all sorts of production uses without a JIT reference implementation.

by albertzeyeron 4/24/2024, 3:37 PM

Is there an overview of the user share of PyPy vs CPython? I have the feeling that PyPy usage became less in the recent years.

How well does PyPy work together with frameworks like PyTorch, JAX, TensorFlow, etc? I know there has been some work to support NumPy, but I guess all these other frameworks are much more relevant nowadays.

by abeppuon 4/24/2024, 2:31 PM

Does PyPy still release 2.7 because RPython is still based on it?

I was recently trying to play with RPython for the first time, and having to remember all the python 2 vs python 3 differences felt strange, and very retro.

by singularity2001on 4/24/2024, 5:42 PM

Too bad they don't compile to wasm. Shouldn't be tooo hard.

by brian_hermanon 4/24/2024, 9:39 PM

Why do they have 3.9 and 3.10 is it their policy to have two previous versions for every release?