Lua: Good, Bad, and Ugly Parts

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

Our great sponsors
  • InfluxDB - Access the most powerful time series database as a service
  • ONLYOFFICE ONLYOFFICE Docs — document collaboration in your environment
  • Sonar - Write Clean C++ Code. Always.
  • CodiumAI - TestGPT | Generating meaningful tests for busy devs
  • luau

    A fast, small, safe, gradually typed embeddable scripting language derived from Lua

    It is nice small, so Lua even ran on Playstation 3 SPU!

    We used to ship lua binaries for the premake build system.

    For me, the indexed from 1 rather than 0 is a big turn off.

    Roblox has the mlua fork,

  • lua-cmake

    Embed lua with CMake

    Lua is a very nice piece of technology. Its source code is pretty easy to get into, the documentation is complete.

    It has its quirks yes, but if I need to add scripting to a software, I'd consider Lua before considering writing a DSL, simply because you can pretty much embed Lua's source in your C/C++ software as a static library[0].

    The stack-based approach makes it so easy to interact with C/C++, and I've been looking at the Rust bindings[1] recently out of curiosity, looks promising.

      [0] -

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • rlua

    High level Lua bindings to Rust

    [1] -

  • mlua

    I believe mlua [0] is the recommended Lua Rust binding now.


  • piccolo

    An experimental Lua VM implemented in pure Rust (by triplehex)

  • gopher-lua

    GopherLua: VM and compiler for Lua in Go

  • fengari

    🌙 φεγγάρι - The Lua VM written in JS ES6 for Node and the browser


    ONLYOFFICE Docs — document collaboration in your environment. Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises

  • moonsharp

    An interpreter for the Lua language, written entirely in C# for the .NET, Mono, Xamarin and Unity3D platforms, including handy remote debugger facilities.

  • lua-lockbox

    A collection of cryptographic primitives written in pure Lua

  • lanarts

    lanarts is an open source RPG that attempts to play like a real-time rogue-like

    I looked at many options, what I lacked when I looked in this space is a big comparable project to, say, my game engine that uses one of these typed Lua's. I'm not in a position where I can spend the time being the first - typescript has very mature idioms for large code bases

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