# Lua

> A powerful, efficient, lightweight, embeddable scripting language

Source: https://talira.ai/catalog/lua-0jn3nbkb
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Programming language
- Categories: [developer tools / programming languages](https://talira.ai/categories/developer-tools/programming-languages)
- Licence: MIT[^1][^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Typing: Dynamic[^3]
- Runs as: Bytecode, interpreted[^3]
- Memory: Garbage collected[^3]
- Paradigms: Procedural, object oriented, functional[^3]
- Package registries: LuaRocks[^4]
- Latest release: 5.5.1 (24 Jul 2026)[^4]
- Implementations: [LuaJIT](https://talira.ai/catalog/luajit-22hapqm2.md)
- Backed by: [PUC-Rio](https://talira.ai/orgs/puc-rio.md)

Lua is a powerful, efficient, lightweight scripting language designed to be embedded in applications, and supports procedural, object-oriented, functional and data-driven programming. It combines simple procedural syntax with data description built on associative arrays (tables) and extensible semantics. This listing covers the language and its reference implementation from PUC-Rio, written in ISO C, which runs bytecode on a register-based virtual machine with incremental garbage collection. It is used for configuration and scripting in applications such as Adobe Photoshop Lightroom, in embedded systems and in games. Lua modules are published on LuaRocks.

## Links

- Website: https://www.lua.org/
- GitHub: https://github.com/lua/lua
- Docs: https://www.lua.org/docs.html

## Libraries for Lua

- [Apache Casbin](https://talira.ai/catalog/apache-casbin-q0j8c46t.md)
- [crun](https://talira.ai/catalog/crun-bkgs01e8.md)

Browse all of them: [2 libraries](https://talira.ai/catalog?type=library&language=lua).

## Problems it solves

- add a scripting language to my C or C++ application so users can extend it
- a tiny language for configuration files that can also run logic
- let modders script my game without recompiling it
- a scripting language small enough to run on embedded devices
- write plugins for my editor or window manager in a simple language
- a fast, simple language I can learn in an afternoon

## Features

- small embeddable interpreter written in ISO C, also compiles as C++
- register-based bytecode virtual machine
- incremental garbage collection
- tables as the single data structuring mechanism
- C API for embedding and extending
- coroutines

## Trust

Overall: 0.27 out of 1.
Signals: backing 0.30, extensibility 0.00.

- backed by PUC-Rio

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [Python](https://talira.ai/catalog/python-tgjs08pq.md): A programming language that lets you work quickly and integrate systems more effectively

## Sources

[^1]: https://www.lua.org/license.html (checked 23 Nov 2026)
[^2]: https://github.com/lua/lua/blob/master/lua.h (checked 23 Nov 2026)
[^3]: https://www.lua.org/about.html (checked 23 Nov 2026)
[^4]: https://www.lua.org/download.html (checked 23 Nov 2026)
