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

Suprisingly, they didn't try PyPy, which is about two orders of magnitude faster than CPython on simple loops. PyPy needs to become the main production version of Python. CPython should be viewed as obsolete technology, like the original non-compiling Java interpreter in Netscape 1.



The reason people don't use pypy is the lack of c libraries.


I did not try Pypy because last time I checked, it wasn't supporting Numpy. It means that Pypy would not been able to run these micro benchmarks as Numpy is used in some of them.

Please let me know if Numpy is supported now in Pypy. I'd be happy to add Pypy in the mix in that case.


I'm pretty sure everything you used is already supported: http://buildbot.pypy.org/numpy-status/latest.html


Thanks. I did look at that page recently, and felt Numpy support was still experimental. But I'll give it a fair try.

What would motivate me would be that Pypy supports the packages I need for my day job, including Pandas, Scipy, and Scikit-learn. Do you know if there are plans to have these on top of Pypy?


http://lostinjit.blogspot.com/2015/11/python-c-api-pypy-and-...

tl;dr, Yes there are plans. But funding is needed.


Does PyPy work with Python 3?

Python 3 has been out for 7 years and I refuse to use anything that doesn't work in Python 3, it's just ridiculous to keep building stuff for Python 2, it's hindering the language and keeping it back in the past.



Only Python 3.2 (so no "yield from" or async stuff).


Note also jitpy for those times when they're not:

http://jitpy.readthedocs.org/en/latest/


Google doesn't return a lot about any "non-compiling Java interpreter in Netscape 1". Anybody has some source?

Also, thinking like that makes more sense about the naming of JavaScript.


I think the focus is "pre-JIT Java," rather than the exact browser version, Netscape Navigator 2.




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

Search: