News for hackers. Stuff that matters.
Re:How to Make Python Run as Fast as Julia by Animats on Wednesday December 16, 2015 @12:52AM (#10742634)
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.
Re:How to Make Python Run as Fast as Julia by zitterbewegung on Wednesday December 16, 2015 @02:05AM (#10742818)
The reason people don't use pypy is the lack of c libraries.
Re:How to Make Python Run as Fast as Julia by jfpuget on Wednesday December 16, 2015 @06:14AM (#10743532)
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.

Re:How to Make Python Run as Fast as Julia by itsadok on Wednesday December 16, 2015 @07:01AM (#10743701)
I'm pretty sure everything you used is already supported: http://buildbot.pypy.org/numpy-status/latest.html
Re:How to Make Python Run as Fast as Julia by jfpuget on Wednesday December 16, 2015 @07:28AM (#10743807)
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?

Re:How to Make Python Run as Fast as Julia by poooogles on Wednesday December 16, 2015 @07:51AM (#10743904)
http://lostinjit.blogspot.com/2015/11/python-c-api-pypy-and-...

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

Re:How to Make Python Run as Fast as Julia by jbssm on Wednesday December 16, 2015 @07:59AM (#10743945)
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.

Re:How to Make Python Run as Fast as Julia by heinrich5991 on Wednesday December 16, 2015 @08:07AM (#10743977)
Re:How to Make Python Run as Fast as Julia by canjobear on Wednesday December 16, 2015 @09:19AM (#10744361)
Only Python 3.2 (so no "yield from" or async stuff).
Re:How to Make Python Run as Fast as Julia by Veedrac on Wednesday December 16, 2015 @04:57PM (#10747666)
Note also jitpy for those times when they're not:

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

Re:How to Make Python Run as Fast as Julia by stonewhite on Wednesday December 16, 2015 @10:10AM (#10744676)
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.

Re:How to Make Python Run as Fast as Julia by pronoiac on Wednesday December 16, 2015 @10:52AM (#10745008)
I think the focus is "pre-JIT Java," rather than the exact browser version, Netscape Navigator 2.