- As others have noted, this is not actually a Lua engine written in Rust. It is a wrapper over existing C/C++ implementations of Lua. There is, however, an actual Lua engine written in Rust. It is called piccolo.[0]
[0] https://github.com/kyren/piccolo
- Misleading use of the term "runtime" as it does not implement lua, but just links nonrust implementations into a webserver "runtime."
by ElhamAryanpur
1 subcomments
- Author of Astra here, loved seeing all the responses here. It wasn't planned to be anything beyond internal usage, but you are correct that I should have been more clear on the description and naming. In any case, it is far from production level.
For those wondering, it is not a Lua implementation, rather wrapping over available Rust crates with Lua bindings and packaging everything into a single binary to be used. It is the way it is because our CI was spending a lot of time compiling our Rust servers, so this was made to speed up development for simple to mid complexity servers. And since then grew to have more functionality.
Naming wise it is true that it is confusing with Astro and other similar naming projects I agree. Name suggestions are welcome!
by forgotpwd16
2 subcomments
- Not sure what this is. The homepage shows making an API in Lua. So is a web framework?
In any case, a bad description term-wise. Being referred to as runtime made sense for Node & JS, since JS was until Node mostly confined to web browsers with Node setting it free giving native OS access, an event loop, and even a module system. Lua, Python, etc are already shipping as their own self-contained runtime. So calling a Lua, Python, etc wrapper in X as runtime written in X makes no sense.
- The top claim is that it's "Incredibly Fast" but I can't find any performance benchmarks. Can anyone find a link?
by coderedart
2 subcomments
- The naming is definitely unfortunate, as I was briefly excited for a lua VM written in rust.
Anyway, for those who want a lua version of nodejs/bun/deno, try looking at https://luvit.io/ (lua) or https://lune-org.github.io/docs/ (luau - AKA roblox lua).
by benwilber0
0 subcomment
- Looks neat. I built a programmable server for Server-Sent Events using a similar stack (Rust/mlua/axum) [1]. I think the Rust/Lua interop story is pretty good.
[1] https://github.com/benwilber/tinysse
by james2doyle
1 subcomments
- There seems to be quite a few of projects like this these days:
* https://github.com/Scythe-Technology/zune
* https://github.com/lune-org/lune
* https://github.com/luau-lang/lute
* https://github.com/seal-runtime/seal
All slightly different. Personally, I like Lune and Zune. Have used both to play around and find them fun to use
- I transpiled Lua into wasm so that I can run in a browser. It has very little practical purpose, but I thought that it was kind of cool.
https://i.imgur.com/ErSNVoR.png
by anentropic
1 subcomments
- Light-mode CSS is broken https://astra.arkforge.net/docs/latest/internals/structure.h...
(looks as if `code` words are redacted LOL)
by johnisgood
1 subcomments
- How does it compare to LuaJIT? LuaJIT is super performant, that I know.
by bcardarella
1 subcomments
- "written in Rust"
ok
- Not to be missed up with Astra, a Wordpress plugin.
https://wpastra.com/
Naming is hard.
by andsoitis
1 subcomments
- 100% of Lua?
- 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.
by Will-Reppeto
0 subcomment
- [dead]
by nalekberov
5 subcomments
- [flagged]