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
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • Scout APM - Less time debugging, more time building
  • OPS - Build and Run Open Source Unikernels
  • GitHub repo LadyLua

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

  • GitHub repo 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

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • GitHub repo 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

  • GitHub repo golua

    A Lua 5.3 engine implemented in Go (by Azure)

    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

  • GitHub repo 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

  • GitHub repo 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