Lua 5.4 Release Available With new Garbage Collection Mode

Lua 5.4 Release Available

Lua 5.4 release has been announced for general availability and comes with new performance improvements and fixes. It also comes with a new Garbage Collection mode and warning system.

Lua is a mature scripting programming language that is particularly popular for scripting and embedding within games and other applications. It supports procedural programming, object-oriented programming, functional programming, data-driven programming, and data description.

It is dynamically typed, runs by interpreting bytecode with a register-based virtual machine, and has automatic memory management with incremental garbage collection, making it ideal for configuration, scripting, and rapid prototyping.

Lua 5.4 is the first major release since Lua 5.3 shipped five years ago and comes with several feature updates.

It comes with new generational mode for garbage collection, support for to-be-closed variables, support for const variables, new math.random implementation, a new warning system, and a host of other changes.

You can check out the full list of changes that have been introduced in the Lua 5.4 release from the official announcement page here. If you would prefer to get the source and start using it in your projects then head over to the Lua source download page here. Windows users can download compiled Lua binaries from LuaDist, a multi-platform distribution resource found here.