JIT through LLVM

Muthiah Annamalai muthuspost at gmail.com
Sun Jan 13 00:24:17 CST 2008


 Hello,

 I was thinking if we could use LLVM (parallel Virtual Machine, 
 http://llvm.org)
 IR-code and JIT engine as possible backend / target for Octave
 code. This could start from the existing AST-walker and emit code.
 
 LLVM is a C++ library, and from the looks of the tutorials very
 powerful, as they implement the complicated optimizations like
 dead-code elimination, eliminating common sub-expressions and
 such.
 
 So if we could manage to convert the Octave AST to LLVM IR, then
 much of the problems of the lack-of-JIT would be solved; atleast in
 principle.
 
 However someone with time and expertise needs to look into this.
 
 Im just posting this email, so if anyone is working on trying to
 bring JIT support, can take a look at this, and also serve as a pointer. 

 Best,
 -Muthu
 



More information about the Octave-maintainers mailing list