Rochus
3 months ago
The interpreter, JIT and backend look very interesting. Have there been performance measurements with comparison to e.g. equivalent C code?
Rochus
3 months ago
Meanwhile I conducted performance measurements myself, based on the Are-we-fast-yet benchmark suite. Here are the results: https://github.com/rochus-keller/Are-we-fast-yet/blob/main/L...
Luau in interpreter mode is pretty much as fast as LuaJIT 2.1 in interpreter mode.
Luau with (partial) native compilation is factor 1.6 slower than LuaJIT 2.1 in JIT mode. I used Luau with the -g0 -O2 --codegen options (didn't add --!native to the code though).