Hacker News new | ask | show | jobs
by patrec 3343 days ago
Why not use DynASM, especially since you are using the Lua eco-system already?

https://luajit.org/dynasm.html

2 comments

LLVM-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.

DynASM isn't that portable... not remotely even near LLVM