CourseElementary22784
Course Introduction:Lua is a small scripting language. It is a research team at the Pontifical Catholic University of Rio de Janeiro in Brazil, composed of Roberto Ierusalimschy, Waldemar Celes and Luiz Henrique de Figueiredo and developed in 1993. It is designed to be embedded in applications to provide them with flexible extensions and customization capabilities. Lua is written in standard C and can be compiled and run on almost all operating systems and platforms. Lua does not provide a powerful library, which is determined by its positioning. Therefore, Lua is not suitable as a language for developing stand-alone applications. Lua has a concurrent JIT project that provides just-in-time compilation capabilities on specific platforms.
Course Introduction:golang can call lua. In the Go language, first use the "import "github.com/aarzilli/golua/lua"" statement to import the Lua script, and then call Lua directly.
2020-03-12 comment 03652
Course Introduction:Golang uses Lua. You can use a Lua virtual machine written in Golang on Github, called gopher-lua. Functions in golang must be converted into the form of func(L *lua.State) int before they can be injected into lua.
2019-12-13 comment 03548
Course Introduction:Lua is a language that is sometimes misunderstood. It is different from other languages such as Python, but it is a general extension language that is widely used in game engines, frameworks, etc. Overall, I find Lua to be a valuable tool for developers, allowing them to enhance and extend their projects in some powerful ways. You can follow Seth Kenlon's article "Is Lua worth learning?" 》Introducing downloading and running commonly used Lua, the article also includes simple Lua code examples. However, to get the most out of Lua, it's best to use it with a framework that adopts the language. In this tutorial, I demonstrate how to use a framework called MakoServer, which is designed to enable Lua programmers to easily
2023-06-10 comment 01001