Hacker GitHub

← All repos

mlua-rs/mlua

View on GitHub ↗ ★ 2,934 Rust

High level Lua 5.5/5.4/5.3/5.2/5.1 (including LuaJIT) and Luau bindings to Rust with async/await support

10 mentions on Hacker News by 8 people: 1 story, 9 comments · first 2024-05-26 · latest 2026-10-18

Mentions per year 10 mentions · busiest year 2025 (6)
20082026
  1. I've used Lua extensively with Rust via the mlua library and it's excellent and full-featured. https://github.com/mlua-rs/mlua
  2. …thing makes sense. Do you need unknown-unknown? Seems like support exists for emscripten and wasi: https://github.com/mlua-rs/mlua/issues/366 It just seems like a lot of hassle to write a lua interpreter, although it would be nice to see a…
    comment by mplanchard · 2026-06-09 · in What it feels like to work with Mythos
  3. Likely similar to something like https://github.com/mlua-rs/mlua - but wanting to execute javascript (instead of lua, and no static libs?) in the context of native rust. The alternative might be https://github.com/denoland/rusty_v8 but…
  4. …Luau runtimes that followed it) were written in Rust mainly because of the existence of mlua < https://github.com/mlua-rs/mlua > and the bindings it provides for Luau. Binding Luau in Zig or C isn't as plug-and-play but is still relatively…
    comment by Heliodex · 2025-05-21 · in Lune: Standalone Luau Runtime
  5. …with mlua-rs Rust bindings. [0] https://tinysse.com [1] https://github.com/benwilber/tinysse [2] https://github.com/mlua-rs/mlua
    comment by benwilber0 · 2025-04-13 · in Why Fennel?
  6. …experience. The Rust mlua-rs crate [1] is trivially easy to integrate. [0] https://tinysse.com/ [1] https://github.com/mlua-rs/mlua
  7. …Lua derivative including Roblox Luau. It's just a matter of enabling the mlua feature you want. [0] https://github.com/mlua-rs/mlua [1] https://tinysse.com/
    comment by benwilber0 · 2025-03-29 · in The Koto Programming Language
  8. …as I don't have any prior experience embedding any scripting language into a Rust project. [0]: https://github.com/mlua-rs/mlua
    comment by Andoryuuta · 2025-01-20 · in Rhai: An embedded scripting language for Rust
  9. If you want it to interact well with a couple of really popular languages there's this: https://github.com/mlua-rs/mlua Rust and through Deno, JavaScript. It also supports Luau which has sandboxing. https://luau-lang.org/sandbox