Current location - Training Enrollment Network - Mathematics courses - What language is lua?
What language is lua?
Lua is a small scripting language. The writer is Brazilian. The language is designed to be embedded in applications, so as to provide flexible expansion and customization functions for applications. Its home page is www.lua.org.

Lua's most famous application is in Blizzard's online game WOW.

Lua scripts can be easily called by C/C++ codes, and functions of C/C++ can be called in turn, which makes Lua widely used in applications. It can be used not only as an extended script, but also as a general configuration file to replace XML, Ini and other file formats, and it is easier to understand and maintain.

Lua is written in standard C, and the code is concise and beautiful, which can be compiled and run on almost all operating systems and platforms.

A complete Lua interpreter is only 200k, and Lua is the fastest of all scripting engines at present. All these decide that Lua is the best choice as an embedded script.

Lua also has a JIT project in progress, which provides real-time compilation function on a specific platform, which will bring better performance to Lua. Please visit http://luajit.org/ to learn about this project.

Unlike scripts such as Python, Lua does not provide a powerful library, which is determined by its positioning. So Lua is not suitable as a language for developing independent applications. However, Lua still has basic functions such as mathematical operation and string processing.

The latest version of Lua is 5. 1.