Do Rust and Lua work well together?

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • druid

    A data-first Rust-native UI design toolkit. (by linebender)

  • Concerning GUI frameworks, the most common ones are druid, egui and iced. All three of them run native and on the Web.

  • egui

    egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native

  • Concerning GUI frameworks, the most common ones are druid, egui and iced. All three of them run native and on the Web.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • iced

    A cross-platform GUI library for Rust, inspired by Elm

  • Concerning GUI frameworks, the most common ones are druid, egui and iced. All three of them run native and on the Web.

  • Godot

    Godot Engine – Multi-platform 2D and 3D game engine

  • If it's a game, probably the Godot Engine. It has its own scripting language. It can also use Rust code, but that's a bit in flux right now because they're currently rewriting native code integration.

  • bevy

    A refreshingly simple data-driven game engine built in Rust

  • Amethyst was abandoned a few years ago. The best game engine written in Rust at the moment is bevy, but concerning multiplayer you're on your own there.

  • qsv

    CSVs sliced, diced & analyzed.

  • It works quite well IMHO. Using the mlua crate, I’ve managed to integrate Luau as a very powerful data-wrangling DSL for qsv (https://github.com/jqnatividad/qsv)

  • piccolo

    An experimental stackless Lua VM implemented in pure Rust (by kyren)

  • The rust ecosystem is doubling down on wasm with little to no focus on lua (some would even prefer to build their own programming language) that doesn’t mean lua is pretty bad for the rust ecosystem it’s just that there’s no much focus as to compared to wasm Example I noticed is https://github.com/kyren/luster

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • mlua

  • I'm not a specialist about text based multiplayer game, but from what I saw on Wikipedia it seem doable to do it with Rust and Bevy. On top of that you can add a layer of LUA with https://github.com/khvzak/mlua (or write your own bindings and sandbox later).

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts