Lua Programming Language
www.lua.org
1
Leaving SiteNav
External Link Disclaimer
You are about to visit www.lua.org. This website is not operated by us. We are not responsible for its content or privacy practices.
About this website
Lua is a powerful, fast, lightweight, and embeddable scripting language designed as a procedural language with extensible semantics, primarily used for embedding in applications, game development, and configuration. Created in 1993 by Roberto Ierusalimschy, Luiz Henrique de Figueiredo, and Waldemar Celes at PUC-Rio in Brazil, Lua is embedded in Wireshark, Neovim, Adobe Lightroom, Redis, Nginx, and thousands of games including World of Warcraft and Roblox. Key features include: lightweight (entire interpreter is approximately 300KB including compiler and VM, with minimal memory footprint for embedded systems), fast (register-based Lua VM is consistently one of the fastest scripting language implementations, with LuaJIT achieving within 2-10x of native C performance), tables (single composite data type serving as arrays, dictionaries, objects, and sets with metatables for operator overloading and OOP), first-class functions (functions are values that can be stored in variables, passed as arguments, and returned), closures (full closure support with lexical scoping and upvalues), coroutines (collaborative multitasking via coroutines for cooperative concurrency), metatables (metaprogramming enabling operator overloading, inheritance, and custom object behaviors), garbage collection (incremental mark-and-sweep GC with configurable pause and step multiplier), embedding C API (clean minimal C API with approximately 180 functions for embedding in host applications), LuaJIT (just-in-time compiler with tracing JIT, FFI library for calling C functions, and compatible API), and portability (written in ANSI C, compiles on virtually any platform).
Statistics
1
Views
0
Clicks
0
Like
0
Dislike