[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: [ANN] Building the fastest Lua interpreter.. automatically!
- From: Haoran Xu <haoranxu510@...>
- Date: Tue, 22 Nov 2022 09:59:14 -0800
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.
Please feel free to let me know any comments and feedbacks!