Hacker News new | past | comments | ask | show | jobs | submit login

PyPy is probably your best bet if you want a faster python. The official CPython will never have speed as a primary focus due to a number of self imposed limitations like:

Since it's a reference implementation it should be easy read and learn from.

They're not really willing to accept patches that speed up some things if they at the same time slow down other things (this has been the main problem with all the GIL removal patches that have shown up over the years).

They're not willing to accept patches that break any existing code or libraries.

PyPy on the other hand have non of these limitations and happily break all three, making it great for a subset of python code out there.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: