What is Lua?
Official website https://www.lua.org
The name Lua means "beautiful moon" in Portuguese and was born in a Brazilian university laboratory.
This is a small, efficient programming language that works well with C.
In the field of scripting languages, Lua is also one of the fastest and most efficient scripting languages because it is qualified as an alternative for game development (such as Angry Birds).
Programming language
- machine language
Made up of 0's and 1's and cannot be read and understood by humans
- Assembly language
Composed of some specific instructions, the learning cost is high, the program size is small, and the operating efficiency is high
- high level language
C C++ C# JAVA PHP Python
- compiled language
Write a program in a high-level language, and then use a compiler to compile the program into the target machine language, that is, 0 and 1 that the machine can understand.
High operating efficiency.
- interpreted language
It is completed by the interpreter, which interprets and executes the program.
Flexible operation, but low efficiency.
scripting language
It is an interpreted language that is simple, easy to learn, and easy to use, allowing programmers to quickly complete program writing.
Features of Lua
Lua is an embedded scripting language and is not recommended if you want to develop independent applications.
Features of Lua:
- portable
- good embedded
- small size
- efficient
It is called a language that can pass through the eye of a needle. Its biggest feature is that it is small and precise.