[Python-Dev] A new JIT compiler for a faster CPython?

Yury Selivanov yselivanov.ml at gmail.com
Wed Jul 18 01:07:50 CEST 2012


On 2012-07-17, at 6:38 PM, Devin Jeanpierre wrote:

> On Tue, Jul 17, 2012 at 6:20 PM, Victor Stinner
> <victor.stinner at gmail.com> wrote:
>> What is the status of LLVM nowadays? Is it not a good solution to
>> write a portable JIT?
>> 
>> I don't want to write my own library to generate machine code.
> 
> You don't have to, even if you don't want to use LLVM. There are
> plenty of "ligher-weight" approaches to that. For example, GNU
> Lightning [1] or sljit [2].
> 
> [1] http://www.gnu.org/software/lightning/
> [2] http://sljit.sourceforge.net/

And, there is also DynASM [1], [2].  This one was built for
LuaJIT and is under MIT licence.

[1] http://luajit.org/dynasm.html
[2] https://github.com/LuaDist/luajit/tree/master/dynasm

-
Yury


More information about the Python-Dev mailing list