Lua 5.5.0 is out!
According to the official announcement, the following main changes are introduced:
- declarations for global variables
- named vararg tables
- for-loop variables are read only
- floats are printed in decimal with enough digits to be read back correctly.
- more levels for constructors
table.createutf8.offsetreturns also final position of character- external strings (that use memory not managed by Lua)
- new functions
luaL_openselectedlibsandluaL_makeseed - major garbage collections done incrementally
- more compact arrays (large arrays use about 60% less memory)
- lua.c loads
readlinedynamically - static (fixed) binaries (when loading a binary chunk in memory, Lua can reuse its original memory in some of the internal structures)
dumpandundumpreuse all strings- auxiliary buffer reuses buffer when it creates final string
Containers
As companion artifacts, we provide the corresponding alpine-based containers.
5.5.0
docker pull ghcr.io/massimo-nocentini/lua.docker:5.5.0
5.4.8
docker pull ghcr.io/massimo-nocentini/lua.docker:5.4.8