Someone needs to tell them that an "unstable beta" should not be given a version number above 1.0...
Still, this is pretty exciting news: A speedy, JIT Python compiler written in Python. I look forward to seeing PyPy become the canonical Python compiler in a couple of years.
met% python -m timeit "sum(x**2 for x in xrange(10000))"
1000 loops, best of 3: 1.14 msec per loop
met% ./bin/pypy -m timeit "sum(x**2 for x in xrange(10000))"
100 loops, best of 3: 5.18 msec per loop
Of course, the slowness of a single artifical <50-character program completely demonstrates the slowness of a jit-compiler for a dynamic language, and clearly they should stop devleoping right now.
is ./bin/pypy the version of pypy that's been compiled or simply the pure-python interpreted version (easy check is to view it in an editor)? if you're running the interpreted version, then that makes sense that it's 5x slower.
I look forward to seeing PyPy become the canonical Python compiler in a couple of years.
I think Unladen Swallow might be ahead of them on that one since they're much closer to getting integrated with Python 3.0 (and they're supported by Google, who also has Guido on their payroll!)
10 comments
[ 5.0 ms ] story [ 37.3 ms ] threadStill, this is pretty exciting news: A speedy, JIT Python compiler written in Python. I look forward to seeing PyPy become the canonical Python compiler in a couple of years.
Don't know what you mean by artificial; it was the first test I tried.
I think Unladen Swallow might be ahead of them on that one since they're much closer to getting integrated with Python 3.0 (and they're supported by Google, who also has Guido on their payroll!)