Preview of clxOpen samyeyo.github.io

samyeyo.github.io/clx

clx

Clx is a native compiler that compiles Lua 5.5 scripts to standalone executables. Version 0.4.0 adds a new generational GC, faster calls, SIMD string ops, and optional embedded Lua VM.

Visit project

Show me a random project

First shared
Sep 29, 2026
HN activity
30

Show HN@_samt_Sep 29, 2026

Show HN: Clx 0.4.0 – native compiler for Lua

clx is a native compiler that compiles Lua 5.5 scripts to standalone executables. Version 0.4.0 is out, focused on performance and stability : - 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 !

Community

Hacker News discussion

Loading the thread…