lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hello,

I am glad to share a post on how I built the fastest Lua interpreter to date. My interpreter runs 28% faster than LuaJIT's interpreter on average across 34 Lua and LuaJIT benchmarks, and 171% faster than the official PUC Lua5.1 interpreter.

More importantly, the interpreter is not hand-written. It is automatically generated from a semantical description of the LuaJIT bytecodes using a meta-compiler called Deegen.

You can read the post here: https://sillycross.github.io/2022/11/22/2022-11-22/
You can find the code repository here (it is currently only an interpreter, but it will be more than that in the future): https://github.com/luajit-remake/luajit-remake

Please feel free to let me know any comments and feedbacks!

Best,
Haoran