17 Jul
2012
17 Jul
'12
11:07 p.m.
On 2012-07-17, at 6:38 PM, Devin Jeanpierre wrote:
On Tue, Jul 17, 2012 at 6:20 PM, Victor Stinner
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