frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

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

https://github.com/samyeyo/clx
75•_samt_•5d ago
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 support.

Performance is typically much faster than the Lua interpreter and can outperform LuaJIT on some computation-heavy workloads while remaining fully ahead-of-time compiled.

The repository also contains graphical examples written in Lua, including a Pong game and a Mandelbrot explorer using a Sokol binary module (using the clx C++ API)

I'd be very interested in feedback on clx :)

Comments

arikrahman•1h ago
Interesting, will be pairing this with my Funnel setup and see how it goes.
valorzard•30m ago
Does the backend output c++20? If so, why? I’m curious what specific features you guys are using from c++20.

Have c++20 coroutines been useful at all?

Kimi K3: Open Frontier Intelligence

https://www.kimi.com/blog/kimi-k3
1077•vincent_s•9h ago•675 comments

LM Studio Bionic: the AI agent for open models

https://lmstudio.ai/blog/introducing-lm-studio-bionic
129•minimaxir•4h ago•53 comments

Microsoft Comic Chat is now open source

https://opensource.microsoft.com/blog/2026/07/16/microsoft-comic-chat-is-now-open-source/
496•jervant•8h ago•112 comments

The Little Book of Reinforcement Learning

https://github.com/alxndrTL/little-book-rl/
34•mustaphah•1h ago•5 comments

Decoy Font

https://www.mixfont.com/experiments/decoy-font
364•ray__•8h ago•91 comments

My car's OTA update broke Android Auto, and it's a indictment of modern software

https://imdanielkendall.com/the-great-software-regress-how-move-fast-and-break-things-broke-our-l...
93•Expletive4138•1h ago•94 comments

Mathematics of Data Science

https://arxiv.org/abs/2607.11938
79•Anon84•3h ago•2 comments

NotebookLM is now Gemini Notebook

https://blog.google/innovation-and-ai/products/gemini-notebook/notebooklm-gemini-notebook/
219•xnx•8h ago•121 comments

Show HN: Mojibake – a low-level Unicode library written in C

https://mojibake.zaerl.com/
24•program•1h ago•1 comments

'Likweli': A new monkey species discovered in the Congo Basin

https://news.yale.edu/2026/07/15/meet-likweli-new-monkey-species-discovered-congo-basin
28•gmays•2h ago•4 comments

Ring-Zero: Scaling Zero RL to a Trillion Parameters for Emergent Reasoning

https://arxiv.org/abs/2607.12395
24•binyu•2h ago•6 comments

Helium escaping from atmosphere of nearby rocky exoplanet in a habitable zone

https://www.science.org/doi/10.1126/science.aea9708
51•anyonecancode•3h ago•12 comments

Detecting LLM-Generated Texts with “Classical” Machine Learning

https://blog.lyc8503.net/en/post/llm-classifier/
144•uneven9434•7h ago•103 comments

OnePlus halts operations in USA and Europe

https://community.oneplus.com/thread/2170715118587871237
528•pilililo2•14h ago•311 comments

Immersive Linear Algebra Book with Interactive Figures (2015)

https://immersivemath.com/ila/
155•srean•8h ago•24 comments

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

https://github.com/samyeyo/clx
75•_samt_•5d ago•2 comments

Abstracting Effects with Continuations

https://crowdhailer.me/2026-07-15/abstracting-effects-with-continuations/
31•crowdhailer•13h ago•0 comments

Solod: Go can be a better C

https://solod.dev
10•koeng•3d ago•1 comments

The privacy problems hidden in your period tracker

https://www.bbc.com/future/article/20260715-how-period-trackers-share-womens-private-details
61•tchalla•4h ago•36 comments

How Our Rust-to-Zig Rewrite Is Going

https://rtfeldman.com/rust-to-zig
391•jorangreef•12h ago•213 comments

Adaptional (YC S25) Is Hiring

https://www.ycombinator.com/companies/adaptional/jobs
1•acesohc•7h ago

Goes-19 weather satellite enters Safe Hold mode

https://www.spaceweather.gov/news/goes-19-safe-hold
146•yabones•10h ago•73 comments

Timeline Scan – AI fixes the dates on your scanned photos

https://timelinescan.com/
20•HoserHoser•3h ago•21 comments

CVE-2026-25089: FortiSandbox unauthenticated command injection added to CISA KEV

https://hellorecon.com/blog/cve-2026-25089
14•slvnx•2h ago•0 comments

How to Train a Gen AI Kick Drum Model on Your Old Linux Desktop with 6GB VRAM

https://www.zhinit.dev/blog/training-a-kick-drum-diffusion-model
89•zhinit•9h ago•53 comments

The LLM Critics Are Right. I Use LLMs Anyway

https://www.theocharis.dev/blog/llm-critics-are-right-i-use-llms-anyway/
181•JeremyTheo•12h ago•182 comments

Show HN: Libretto PR agents – Automatically fix failing playwright scripts

https://libretto.sh/debug-agents
16•muchael•3h ago•1 comments

Show HN: BambooGrid – Open-source web UI for power grid modeling and power flow

https://bamboo.kickstage.com
22•soaringmonchi•8h ago•5 comments

Launch HN: Traceforce (YC S26) – Company-wide security monitoring for AI apps

23•XiaHua•7h ago•14 comments

Ente – Opening Our Books

https://ente.com/open/
231•Sherex•13h ago•88 comments