This is an old version, saved 4 Dec 2026, 17:26 by TechWritereditor. See the current version.
Lua (programming language)
The Lua programming language is a lightweight scripting language designed to be embedded inside other programs, created in 1993 at the Pontifical Catholic University of Rio de Janeiro (PUC-Rio) in Brazil.[1] Its name means "moon" in Portuguese and is not an acronym, so it is written "Lua" rather than "LUA".[1]
History
Lua grew out of Tecgraf, PUC-Rio's computer graphics technology group, which built software for the Brazilian oil company Petrobras.[1][3] In 1993 the team merged two earlier in-house languages, DEL (a data-entry language) and Sol ("Simple Object Language"), into a single, more powerful language.[3] Because Petrobras used a mix of PC DOS, Windows 3.1, Macintosh and Unix machines, portability was a core requirement from the start.[3] An unreleased first version was called Lua 1.0, and the first public release, Lua 1.1, appeared in July 1994.[3] The language was designed by Roberto Ierusalimschy, Waldemar Celes and Luiz Henrique de Figueiredo, and it is still developed and maintained at PUC-Rio, now in the LabLua laboratory.[1][2]
How it works
Lua is written in C (programming language): about 32,000 lines of code that build with any standard C compiler.[1] It is supplied as a library that a host program calls, and the host can register its own functions so that Lua scripts can control it, which its authors describe as an "extensible extension language".[3] Its only data structure is the table, an associative array that serves for both records and lists.[3] Lua is free, open-source software released under the MIT licence and can be used in commercial products at no cost.[1]
Use
Lua's official site calls it the leading scripting language in games, citing World of Warcraft and Angry Birds; it is also used in industrial software such as Adobe's Photoshop Lightroom and in Ginga, the middleware for Brazilian digital television.[1] Game Developer magazine gave Lua a Front Line Award in 2011.[1] The online games platform Roblox chose Lua around 2006, and in 2019 it began building Luau, a language derived from and compatible with Lua 5.1 that now powers the content users create on the platform.[4]
See also
References
- ^ About Lua. Lua.org, PUC-Rio. lua.org
- ^ Lua authors. Lua.org, PUC-Rio. lua.org
- ^ The Evolution of an Extension Language: A History of Lua. Lua.org, PUC-Rio. lua.org
- ^ Luau origins and evolution. Luau (Roblox). 2022-11-04. luau.org