nowfound

Dev tools · July 11, 2026

Clx – Compile Lua to Native Executables Through C++20

Hi HN, clx is an ahead-of-time compiler for standard Lua that generates C++20 and produces standalone native executables through GCC, Clang or MSVC. The project started as an experiment to see whether modern C++ could be used as a portable compiler backend instead of LLVM or direct machine code generation. The generated code is then compiled and optimized by the host toolchain. The latest release replaces the previous NaN-tagged value representation with a new shadow-types implementation, adds full int64 support, improves native arithmetic code generation and adds ARM64 macOS coroutine…

Clx – Compile Lua to Native Executables Through C++20 launched on July 11, 2026 with 143 votes, #249 of 24,623 launches that month and more than 95% of that year's launches.

Visit github.com ↗Alternativestop 1% of July 2026

In plain words

Clx is an ahead-of-time compiler that converts standard Lua code into C++20, which is then compiled into standalone native executables using GCC, Clang, or MSVC. Designed for developers seeking performance improvements over traditional Lua interpreters, it uses modern C++ as a portable compiler backend. Recent updates include improved value representation, full int64 support, and better arithmetic optimization. The compiled output typically runs significantly faster than Lua interpreters and can exceed LuaJIT performance on computation-heavy tasks.

written from the facts on this page · September 2026

From the sources

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

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. 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 ! What makes clx useful Just write Lua. clx targets Lua 5.5, so your code works like ordinary Lua. Fast native speed — your scripts are compiled to native machine code. Standalone binaries — no interpreter or extra runtime to install alongside your program. Small outputs — size-friendly builds can create very compact executables.…from github.com

In the maker’s words, at launch

Hi HN, clx is an ahead-of-time compiler for standard Lua that generates C++20 and produces standalone native executables through GCC, Clang or MSVC. The project started as an experiment to see whether modern C++ could be used as a portable compiler backend instead of LLVM or direct machine code generation. The…

Does a similar job

all alternatives →
  • A Modern C/C++ build tools (Simple, Fast, Cross-platform)2019 · xmake.io · ▲89

    A cross-platform build utility based on Lua

  • Cline CLI 2.0Feb 2026 · cline.bot · ▲298

    Parallel agents & headless CI/CD in your terminal

  • A console-based editor with Lua support, based on antirez's project2016 · github.com · ▲85

    A minimal text-editor with lua scripting. Contribute to skx/kilua development by creating an account on GitHub.

  • Lua/LuaJIT with C/C++/Java/JavaScript syntax2018 · github.com · ▲77

    Lua with C/C++/Java/Javascript syntax. Contribute to mingodad/ljs development by creating an account on GitHub.

  • Luminal – Open-source, search-based GPU compiler2025 · github.com · ▲153

    Hi HN, I’m Joe. My friends Matthew, Jake and I are building Luminal (https://luminalai.com/), a GPU compiler for automatically generating fast GPU kernels for AI models. It uses search-based compilation to achieve high performance. We take high level model code, like you'd have in PyTorch, and generate very fast GPU code. We do that without using LLMs or AI - rather, we pose it as a search problem. Our compiler builds a search space, generates millions of possible kernels, and then searches through it to minimize runtime. You can try out a demo in `demos/matmul` on mac to…

  • Another C++ Lua Wrapper2015 · github.com · ▲24

    Minimal-overhead C++ wrapper for Lua. Contribute to vapourismo/luwra development by creating an account on GitHub.

More dev tools this month

the category →
  • /dev/null▲486

    a social network for devs

    Dev tools · 3d ago · dev-null.sh

  • open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.

    Dev tools · 28d ago · github.com

  • Contribute to reladraw/reladraw development by creating an account on GitHub.

    Dev tools · 26d ago · github.com

  • OpenBot▲362

    Grok Bot alternative: free, local, open-source, multiplayer

    Dev tools · 23d ago · openbot.run

  • Talanoa▲346

    Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…

    Dev tools · 21d ago · talanoa.email

  • CoreSpeed▲332

    One MCP for everything your agents need: apps, memory, tools

    Dev tools · 28d ago · corespeed.io

Source: Show HN post ↗ · launch text quoted in part

Launched alongside, July 2026

the whole month →
  • IR

    I might be the only SRE on Earth with his own bowling center. It's a more in-depth gig than you'd think. My family and I bought an abandoned 8-lane bowling center in the rural mid-west. In our small town there weren't many recreation options for families. You've heard of a food desert? This is an R&R desert. It had been abandoned for a good reason. The roof leaks, the electrical system was constantly surging, and my 70-year-old bowling equipment (still) doesn't work perfectly. The system that keeps your score is particularly interesting to me. It's the thing you watch during your game, but…

    Life & fun · Jul 2026

  • Elevators▲1,680

    How elevators push your buttons

    Life & fun · Jul 2026 · john.fun

  • 18 Words▲1,160

    Play 18 Words, the free daily word puzzle. The official home is 18words.com. Tap Play now to open today

    Life & fun · Jul 2026 · 18words.com

  • BA

    Over the past few months, our team has been building more and more slidedecks using web frontend technologies with coding harnesses like Claude Code, but a common complaint is to make even small edits we need to edit the code either manually or via the harness. To avoid this loop, I ended up creating Bento, a single HTML file with everything you need in a slide tool including animations and shared editing. There's no install or cloud login, everything works offline. The default deck is around 560 KB and it doesn't need to fetch anything once you got it. Open it in a browser and then you can…

    Dev tools · Jul 2026 · bento.page

  • A few days ago I found myself trying out GLM 5.2 and was really positively impressed. The capabilities and security I was getting from this LLM are similar to those I've gotten from models like Claude or GPT, and this really surprised me. But then I thought, "I wonder how it would work on a normal computer like mine," and above all, "I wonder if it would work without going into OOM on a computer like mine." So I started working with the help of agents to test this possibility. I started converting the model to int4, understanding MTP usage, and if possible implementing DSA for long context.…

    AI · Jul 2026 · github.com

  • OpenSEO▲928

    Hello! For the last 2 months, I've been building OpenSEO. It's a user friendly UI wrapping the DataForSEO API which has high quality SEO data for keywords, backlinks, AI SEO and competitor research. Instead of paying $100+ per month, you buy DataForSEO credits and pay only for usage. The coolest thing about the project so far has been hearing about what people are building on top of it. People are using coding agents to quickly integrate with Google Search Console, Google Ads and building their own AI SEO and reporting features. Many were already building their own custom solutions around…

    Dev tools · Jul 2026 · openseo.so