Extend Rust app using Lua

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

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

    Discontinued Cisco Teams bot for Gerrit code reviews.

  • I used lua a while ago as a formatter in a simple code review bot (used at my previous workplace). Here is an example: https://github.com/boxdot/gerritbot-rs/blob/7d597568ddf0421ddfc6e9d41a1993fe1044ee49/gerritbot/src/format.rs#L118

  • card_game

  • I've used rlua in the past and it works quite well. I also made a wrapper for it (tealr) so it is easier to work with teal (lua + static typing basically). You can explore the repo that uses it here https://github.com/lenscas/card_game/tree/master/server

  • 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
  • rlua

    High level Lua bindings to Rust

  • As for mlua vs rlua. I personally prefer rlua, as mlua got forked right before some big changes to rlua to get rid of possible UB in it's safe interface. Mlua managed to fix most of it, but it did cause me to trust rlua more. There is some discussion about it here https://github.com/amethyst/rlua/issues/172

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