Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Luau's Performance (luau.org)
3 points by birdculture 3 months ago | hide | past | favorite | 2 comments


The interpreter, JIT and backend look very interesting. Have there been performance measurements with comparison to e.g. equivalent C code?


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: