Lua

A tiny, fast, embeddable scripting language used in games, Roblox (Luau), Neovim, Redis and network appliances.

Lua is designed to be embedded in host applications through a compact C API, which is why game engines and tools use it for scripting. Its core is small — tables are the only data structure — yet flexible enough for object-oriented and functional styles. LuaJIT and Roblox's Luau dialect extend it with very fast execution and gradual typing respectively.

Type
Language
Category
Languages
Maintainer
PUC-Rio (Lua team)
First released
1993
License
Open source (MIT)
Pricing
Open source — GitHub repo is a read-only mirror of the official sources.
Level
Beginner
Technologies
lua
GitHub stars
10,499
Latest release
[object Object]
Last verified
26 Nov 2026

What Lua is used for

  • Game scripting
  • Editor and tool plugins (Neovim)
  • Embedded configuration
  • Scripting in Redis and Nginx/OpenResty

Strengths

  • Very small and fast
  • Easy to embed in C/C++
  • Simple to learn

Limitations

  • Minimal standard library
  • 1-based indexing surprises newcomers
  • Fragmented versions (5.1/LuaJIT vs 5.4)

Lua alternatives

Built with the same technologies

Learn Lua

Official links

Sources

Explore