Menu

1 / 7

GitHub - samyeyo/clx: A cross-platform ahead-of-time Lua compiler and runtime, using C++20 backend

Hacker News·3 months ago
#g6hdq4EO
#github#build#file#runtime#native
Reading 0:00
15s threshold

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 —…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.