4 ms·
Why not use DynASM, especially since you are using the Lua eco-system already? https://luajit.org/dynasm.html https://luajit.org/dynasm.html
by patrec 10y ago
Why not use DynASM, especially since you are using the Lua eco-system already?
https://luajit.org/dynasm.html https://luajit.org/dynasm.html
- my123 10y agoDynASM isn't that portable... not remotely even near LLVM
- neopallium 10y agoLLVM-lua was just an experiment. I wanted to see what kind of performance statically compiled Lua could achieve. I didn't really need the JIT feature. But I did add support for it because Lua code can dynamically generate/load more Lua code. I just found that the runtime overhead (memory and stack space) of LLVM was too high for my needs.