
In this article, we’ll cover the basics of the Lua programming language, including:
Let’s get started.
What is Lua?
Lua is a robust, lightweight, and embeddable scripting language that supports multiple programming methods, including procedural, object-oriented, functional, and data-driven programming.
As the primary focus on Lua is for scripting, it is rarely used as a standalone programming language. Instead, it is used as a scripting language that can be integrated (embedded) into other programs written in mainly C and C++. It also supports other programming languages via third-party plugins (NLua/KeraLua for .NET/C#).
Popular use cases for Lua include:
- As a popular component in video game and game engine development. For example, Warframe, World of Warcraft, and CRYENGINE all use Lua.
- As a programming language in many network programs, like CISCO Systems, Nmap, and ModSecurity.
- As a programming language in industrial programs such as Adobe Lightroom and MySQL…