Cross-platform ahead-of-time Lua compiler
clx is a cross-platform ahead-of-time Lua compiler and runtime that generates standalone native executables through modern C++ toolchains. 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,
fast startup times,
integration with existing C++ toolchains,
and strong optimization opportunities through modern native compilers.
Quick Start
<div dir="auto" data-snippet-clipboard-copy-content="git clone https://github.com/samyeyo/clx.git cd clx ./build.sh install # or build.bat install on Windows clx examples/hello/hello.lua ./hello
Hello clx !"> git clone https://github.com/samyeyo/clx.git cd clx ./build.sh install # or build.bat install on Windows clx examples/hello/hello.lua ./hello
Hello clx !
Features
Competitive performance with strong results on many AOT-friendly workloads
No bytecode interpreter overhead —…