Lua 5.4 Released, with new generation garbage collection mode

June 29, programming language Lua development team announced the latest release “Lua 5.4”. It is available for download from the project website.

Lua is a light-weight and fast scripting language designed to be embedded into applications. It is a dynamically typed procedural language suited for object-oriented and functional programming. It is released under the MIT License. The latest release Lua 5.4 is the successor of version 5.3 released in 2015.

This release introduces a new generation mode for garbage collection. It also includes support for “to-be-closed” variables and const variables. Now user data can have multiple user values.

In addition to the introduction of a warning system, it brings math.random implementation. It adds new functions lua_resetthread and coroutine.close.

UTF-8, whose support was introduced in Lua 5.3, now accepts codepoints up to 2^31.

Lua
https://www.lua.org