r/Compilers • u/mttd • May 29 '26
Lunacy: Lua 5.1 interpreter + JIT using Lazy Basic Block Versioning
https://redvice.org/2026/lunacy/
15
Upvotes
r/Compilers • u/mttd • May 29 '26
1
u/Justanothertech May 29 '26
Cool stuff. I’ve tried writting a BBV style JIT, and it is pretty easy! But unfortunately I found required lots of metadata overhead, and couldn’t optimize well over many blocks. More standard tracing jit has been giving me better performance. Love the authors write up though!