PyPy 1.4 released
PyPy 1.4 released
Posted Nov 29, 2010 20:54 UTC (Mon) by Velmont (guest, #46433)Parent article: PyPy 1.4 released
Your scripts is running ontop of PyPy which is itself running on top of CPython. And this is faster because PyPy does optimizations?
Posted Nov 29, 2010 21:40 UTC (Mon)
by tseaver (guest, #1544)
[Link] (5 responses)
Posted Nov 29, 2010 21:48 UTC (Mon)
by dlang (guest, #313)
[Link] (4 responses)
so are the speed improvements with pypy running on Cpython, running on Java, running on .NET, or producing C code that then gets compiled?
I would expect significant variations in the performance of these different options.
I'm disappointed to read that they abandoned the ability to run on javascript, as that would have made it easier to migrate python code from server-side to client-side.
Posted Nov 29, 2010 23:42 UTC (Mon)
by drag (guest, #31333)
[Link] (1 responses)
Similar to how with GCC your using a C compiler to compile a C compiler written in C that is used to compile other C programs.
The point of it is that they can spend more time experimenting and working out optimizations then if they don't have to waste their time farting around with making C work.
Posted Dec 2, 2010 17:02 UTC (Thu)
by Velmont (guest, #46433)
[Link]
But, could it also compile my python programs then?
Posted Nov 30, 2010 14:27 UTC (Tue)
by kfiles (guest, #11628)
[Link] (1 responses)
Posted Nov 30, 2010 23:13 UTC (Tue)
by rasjidw (guest, #15913)
[Link]
The most promising project that will hopefully enable Python in the web-browser that I have found is emscripten. It uses LLVM to compile C-code to LLVM bitcode, and then compiles that to javascript. There is already a working Lua interpreter done using emscripten, and there is a demo of it here. Python 2.6 already compiles with emscripten, but there are some lower level system calls that still need to be worked out and emulated. Unlike most other attempts at getting Python to run in the browser, this is not a new implementation of Python, but real CPython compiled to Javascript, so it should even be possible to get C-extensions working.
PyPy 1.4 released
this point. See http://en.wikipedia.org/wiki/PyPy .
PyPy 1.4 released
PyPy 1.4 released
PyPy 1.4 released
PyPy 1.4 released
I'm disappointed to read that they abandoned the ability to run on javascript, as that would have made it easier to migrate python code from server-side to client-side.
For that, there's still pyjamas, right?
PyPy 1.4 released