Show HN: LadyLua, batteries-included static Lua 5.1 interpreter

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

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

    Single executable(static), batteries included, Lua 5.1 interpreter.

  • gopher-lua

    GopherLua: VM and compiler for Lua in Go

  • GopherLua [0] is a Lua implementation written in Go, not just a wrapper around the C implementation.

    The main alternative seems to be Shopify’s go-lua [1], given that Microsoft’s golua [2] is no longer being developed. The main difference between these three implementations seems to be the supported Lua version - 5.1, 5.2 and 5.3 respectively.

    [0] https://github.com/yuin/gopher-lua

    [1] https://github.com/Shopify/go-lua

    [2] https://github.com/Azure/golua

  • 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
  • go-lua

    A Lua VM in Go

  • GopherLua [0] is a Lua implementation written in Go, not just a wrapper around the C implementation.

    The main alternative seems to be Shopify’s go-lua [1], given that Microsoft’s golua [2] is no longer being developed. The main difference between these three implementations seems to be the supported Lua version - 5.1, 5.2 and 5.3 respectively.

    [0] https://github.com/yuin/gopher-lua

    [1] https://github.com/Shopify/go-lua

    [2] https://github.com/Azure/golua

  • golua

    Discontinued A Lua 5.3 engine implemented in Go

  • GopherLua [0] is a Lua implementation written in Go, not just a wrapper around the C implementation.

    The main alternative seems to be Shopify’s go-lua [1], given that Microsoft’s golua [2] is no longer being developed. The main difference between these three implementations seems to be the supported Lua version - 5.1, 5.2 and 5.3 respectively.

    [0] https://github.com/yuin/gopher-lua

    [1] https://github.com/Shopify/go-lua

    [2] https://github.com/Azure/golua

  • gopher-json

    a simple JSON encoder/decoder for gopher-lua

  • LadyLua is using GopherLua as the base. It only supports 5.1. Also don't need the features of 5.2+. Sticking with 5.1 gets you a 'finished' language.

    GopherLua <-> Go is pretty easy. I was doing LuaJIT FFI to Rust before, moved to GopherLua, it's easier. Check this out to get a feel, it's the json module in LadyLua: https://github.com/layeh/gopher-json

  • omniajit

    Standalone LuaJIT programs.

  • I have an earlier project that did LuaJIT, FFI, and Rust: https://github.com/tongson/omniajit. Creating a static executable is more trouble compared to LadyLua. I would still use it for anything that needs less resources and speed.

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