Fast Lua runtime written in Rust

Rust-made Lua server claims speed — commenters ask: real rebuild or slick wrapper

TLDR: Astra promises a speedy Lua server “written in Rust,” but commenters say it’s just Rust talking to the regular Lua engine. The thread turns into a wrapper-versus-rewrite fight, with jokes about Rust obsession and a browser demo, underscoring how marketing claims matter as much as performance.

Astra swaggered in saying it’s a “fast Lua runtime written in Rust,” showing off a tiny code snippet that spins up a web server in a few lines and chirps “hello from default Astra instance!” Cue the crowd: is it really new, or just a Rust coat of paint? One early skeptic fired, “100% of Lua?” while another, VWWHFSfQ, argued Astra is using Rust bindings to the existing Lua engine (the classic C version or LuaJIT), not a fresh rewrite. Translation: it’s not actually Rust-only, it’s Rust talking to the old Lua under the hood. The eye-roll counter hit red when bcardarella dropped, “’written in Rust’ ok,” and the meta jokes flew—phplovesong roasted Hacker News culture with, “HN without Rust and AI… that’s the golden braid.”

Meanwhile, a show-and-tell moment stole a chuckle: fullstop casually said they transpiled Lua to WebAssembly (tech that lets code run in your browser) “for very little practical purpose,” but it looks cool—see the screenshot. The strongest vibe: Astra’s demo is clean and friendly, but the headline triggered a wrapper vs. rebuild debate. Drama, sarcasm, and browser memes—classic internet launch day energy.

Key Points

  • Astra is a Lua server runtime built with Rust, positioned for performance, fault-tolerance, and ease-of-use.
  • An HTTP server is created using require("http").server.new() and routes are registered with server:get().
  • The root route ("/") returns a text response: "hello from default Astra instance!"
  • The "/count" route consumes the request body, sets status code and headers, maintains a counter, and returns JSON.
  • The server is configured to listen on port 3000 and started with server:run().

Hottest takes

"It's not a Lua runtime from-scratch in Rust." — VWWHFSfQ
"'written in Rust' ok" — bcardarella
"HN without Rust and AI, thats the golden braid" — phplovesong
Made with <3 by @siedrix and @shesho from CDMX. Powered by Forge&Hive.