Tencent/xLua
xLua is a lua programming solution for C# ( Unity, .Net, Mono) , it supports android, ios, windows, linux, osx, etc. observed · 2026-08-28
Health v2 · maintenance only
49/100
- Activity 53
- Release rhythm 15
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3556
- days_rel: 356
- days_push: 285
- n_releases_24m: 1
Adoption not part of the score
10175 stars · 2491 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
xLua is a Lua scripting solution for C# environments such as Unity, .Net, and Mono, enabling Lua code to interoperate with C# in both directions. It supports runtime hot-patching of C# methods with Lua implementations and offers GC-optimized value type passing across the Lua/C# boundary.
Use cases
- script unity game logic in lua
- hot patch c# methods at runtime in unity
- call c# code from lua scripts
- avoid gc allocations when passing structs between lua and c#
- embed a lua interpreter in a .net application
- write unity ui and monobehaviour logic in lua
When to choose
- you need runtime-updatable game logic or hotfixes in a Unity project without rebuilding
- you want mature, widely used Lua-C# binding with strong performance and GC optimizations
- you target multiple platforms including android, ios, windows, linux, and osx
When to avoid
- your project does not use C#, Unity, .Net, or Mono
- you prefer statically typed scripting or a different scripting language
- you need a general-purpose standalone Lua interpreter outside a C# host
Facets
library · maturity stable
interpreter plugin-system concurrency programming-languages cross-platform windows cpp c lua unity unity3d csharp scripting hotfix interop game-scripting game-development android ios linux macos
1 source
- readme: https://github.com/Tencent/xLua · fetched 2026-08-28 · 5ff8f3e469e1
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Tencent/xLua | main | 49 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem