Tony Arcieri
4/10/2009 6:34:00 PM
[Note: parts of this message were removed to make it a legal post.]
On Fri, Apr 10, 2009 at 12:28 PM, Roger Pack <rogerpack2005@gmail.com>wrote:
> Hmm. Looks somewhat like Python psyco. Except psyco boasted to boost
> python performance by only 4x, not 5 :) At least it will work for
> Python 3.0 code (psyco only works on 2.4-6).
>
It could potentially work for Python 3.0, but that is not one of their
priorities at the moment. They're targeting Python 2.x.
> Note that their speed increase is because they are translating the
> python code to bytecode, NOT just compiling python's original
> interpreter using the LLVM compiler. LLVM encompasses a lot of things,
> including both a compiler and also a JIT bytecode emitter. They're
> using the latter. The perl folks were using the former. Some rubyists
> have had a little success with it [1]
>
Actually I believe they're doing both: trying to build the interpreter
itself with LLVM, and then adding an LLVM-based JIT, or at least that's what
I gathered from their roadmap.
They're basically trying everything they can to make CPython faster.
--
Tony Arcieri
medioh.com