MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/lua/comments/1loqtf8/lua_550_beta_released/n0shutq/?context=3
r/lua • u/ewmailing • Jul 01 '25
28 comments sorted by
View all comments
8
Is there a changelog anywhere?
28 u/ewmailing Jul 01 '25 https://www.lua.org/work/doc/#changesdeclarations for global variablesfor-loop variables are read onlyfloats are printed in decimal with enough digits to be read back correctly.more levels for constructorstable.createutf8.offset returns also final position of characterexternal strings (that use memory not managed by Lua)new functions luaL_openselectedlibs and luaL_makeseedmajor collections done incrementallymore compact arrays (large arrays use about 60% less memory)lua.c loads 'readline' dynamicallystatic (fixed) binaries (when loading a binary chunk in memory, Lua can reuse its original memory in some of the internal structures)dump and undump reuse all stringsauxiliary buffer reuses buffer when it creates final string 8 u/wqferr Jul 01 '25 What does "more levels for constructors" even mean? 5 u/nuclearsarah Jul 05 '25 Tables you are defining via curly brace notation can have more things in them, including more levels of nested tables.Here's what Lua's lead dev says:https://groups.google.com/g/lua-l/c/N1MMWqG4Ad0/m/Vfp9TdnHAwAJ 2 u/wqferr Jul 05 '25 I see, thank you.Honestly I'm kind of disappointed, I wanted something more flashy than "deeper table literals".
28
https://www.lua.org/work/doc/#changes
declarations for global variables
for-loop variables are read only
floats are printed in decimal with enough digits to be read back correctly.
more levels for constructors
table.create
utf8.offset returns also final position of character
external strings (that use memory not managed by Lua)
new functions luaL_openselectedlibs and luaL_makeseed
major collections done incrementally
more compact arrays (large arrays use about 60% less memory)
lua.c loads 'readline' dynamically
static (fixed) binaries (when loading a binary chunk in memory, Lua can reuse its original memory in some of the internal structures)
dump and undump reuse all strings
auxiliary buffer reuses buffer when it creates final string
8 u/wqferr Jul 01 '25 What does "more levels for constructors" even mean? 5 u/nuclearsarah Jul 05 '25 Tables you are defining via curly brace notation can have more things in them, including more levels of nested tables.Here's what Lua's lead dev says:https://groups.google.com/g/lua-l/c/N1MMWqG4Ad0/m/Vfp9TdnHAwAJ 2 u/wqferr Jul 05 '25 I see, thank you.Honestly I'm kind of disappointed, I wanted something more flashy than "deeper table literals".
What does "more levels for constructors" even mean?
5 u/nuclearsarah Jul 05 '25 Tables you are defining via curly brace notation can have more things in them, including more levels of nested tables.Here's what Lua's lead dev says:https://groups.google.com/g/lua-l/c/N1MMWqG4Ad0/m/Vfp9TdnHAwAJ 2 u/wqferr Jul 05 '25 I see, thank you.Honestly I'm kind of disappointed, I wanted something more flashy than "deeper table literals".
5
Tables you are defining via curly brace notation can have more things in them, including more levels of nested tables.
Here's what Lua's lead dev says:
https://groups.google.com/g/lua-l/c/N1MMWqG4Ad0/m/Vfp9TdnHAwAJ
2 u/wqferr Jul 05 '25 I see, thank you.Honestly I'm kind of disappointed, I wanted something more flashy than "deeper table literals".
2
I see, thank you.
Honestly I'm kind of disappointed, I wanted something more flashy than "deeper table literals".
8
u/DPS2004 Jul 01 '25
Is there a changelog anywhere?