clx - Cross-platform AOT Lua compiler for native executables

Show HN: Clx – Compile Lua to Native Executables Through C++20

74_samt_💬 2
clx - Cross-platform AOT Lua compiler for native executables

clx is a modern cross-platform ahead-of-time compiler that transforms Lua scripts into standalone native executables using a C++20 backend. Unlike traditional interpreters, clx eliminates bytecode overhead to deliver predictable performance, fast startup times, and aggressive optimizations via Clang, GCC, or MSVC. Ideal for developers seeking to deploy compact, high-performance Lua applications across Linux, macOS, and Windows without runtime dependencies, clx supports Lua 5.5 features while enabling native module integration through a lightweight C++ API.

"clx is not trying to be the fastest Lua implementation in every workload. Its goal is to provide ahead-of-time native compilation, deployable standalone executables, predictable runtime performance, and fast startup times."

More from this day · 2026-07-16