The first sentence in its readme is the following: "Astra is a web server runtime for Lua (5.1-5.4), Luau and LuaJIT written in Rust with native support for Teal."
andsoitis•1m ago
> It's a runtime, not a lua interpreter/jit.
I think calling it a Lua runtime then is unhelpful or confusing.
It is really a "Lua runtime runtime".
VWWHFSfQ•12m ago
Correct me if I'm wrong, but it looks like this is using the mlua Rust bindings (which are excellent). It's not a Lua runtime from-scratch in Rust. It's the regular C Lua/LuaJIT with a Rust interface.
vrighter•10m ago
You're thinking of the interpreter, not the runtime. The runtime is libraries, not the interpreter. The async-io frameworks and stuff like that. Just like how node.js is a javascript runtime, it uses the V8 engine, and bun is also a javascript runtime that uses javascriptcore instead. Neither one of them wrote their own javascript interpreter.
andsoitis•16m ago
vrighter•11m ago
The first sentence in its readme is the following: "Astra is a web server runtime for Lua (5.1-5.4), Luau and LuaJIT written in Rust with native support for Teal."
andsoitis•1m ago
I think calling it a Lua runtime then is unhelpful or confusing.
It is really a "Lua runtime runtime".