A cross-platform ahead-of-time Lua 5.5 compiler that turns your scripts into fast, self-contained native executables — no interpreter or runtime dependencies.
- New generational garbage collector
- Faster function calls
- Faster table iteration using next(), pairs(), ipairs()
- Faster string operations using SIMD instructions on x64 and ARM64
- Optional dynamic execution of Lua code using an embedded Lua VM with seamless interoperability with native code
- Better stability : several rare crashes caused by values being freed too early while native code was still using them are fixed
- As a real-world test, clx can now compile the Teal compiler into a native standalone executable, and it produces the same output as standard Lua when compiling Teal scripts
- clx is faster than Lua 5.5 in well known Lua benchmark scripts, and competitive with LuaJIT on many of them
Feedback and bug reports are welcome !
0 comments
No comments yet.
Related stories
- Lobsters · 86 points · about 1 year ago
- Writing Rust code that's faster than state-of-the-art libraries by asking agents to make the code fasterminimaxir.comLobsters · 5 points · 8 days ago
- Hacker News · 2 points · 9 days ago
- Hacker News · 1 points · 9 days ago
- Hacker News · 8 points · 6 days ago
- Hacker News · 1 points · 2 days ago