# pangweiwei/slua

Fastest lua binding via static code generating for Unity3D and mono.

Repository: https://github.com/pangweiwei/slua
Canonical: https://ross.abutalabs.com/products/slua
Language: C
License: MIT
License Family: permissive
Last push: 2022-02-18T04:39:24+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4250, "days_push": 1657, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1419, forks 429 (observed 2026-08-28T04:04:40.290718+00:00)

## What it is
slua is a fast Lua binding library for Unity3D and mono that uses static code generation instead of reflection to export C#/.NET interfaces to Lua. It supports iOS64/il2cpp, remote debugging, and a standalone mode for pure .NET/mono server development.

## Use cases
- script unity game logic in lua
- hot reload game code without rebuilding
- bind c# api to lua without reflection overhead
- embed lua in a mono or .net server
- export unityengine interfaces to lua scripts
- run lua scripts on ios with il2cpp

## When to choose
- you need the fastest possible lua-c# binding in unity via static codegen
- you target ios64 or il2cpp and need full lua support
- you want to hot-update game logic via lua scripts
- you need lua scripting in a non-unity .net/mono project via slua-standalone

## When to avoid
- you use a modern unity version beyond the tested 4.6-5.5 range
- you prefer reflection-based or dynamic bindings like xLua with richer community support
- you need built-in third-party lua libraries like protobuf or lpeg
- your project does not use unity or mono/.net

## Facets
- artifact type: library
- maturity: maintenance
- function: interpreter, plugin-system, developer-tools
- domain: programming-languages, cross-platform
- platform: cpp, c, cross-platform, game-engine, windows
- tags: lua-binding, unity3d, static-code-generation, luajit, hot-reload, scripting, mono, il2cpp, game-development, linux, macos

## Member repositories
- pangweiwei/slua (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:40.290718+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:37:54.073127+00:00, confidence not recorded.
  - readme: https://github.com/pangweiwei/slua (fetched 2026-08-28T04:04:40.290718+00:00, sha 859b4f383159)
- Data as of 2026-08-30T08:39:29.467469+00:00.
