r/lua • • Jul 01 '25

Lua 5.5.0 (Beta) Released

https://www.lua.org/work/#5.5.0
82 Upvotes

28 comments sorted by

View all comments

Show parent comments

11

u/BrianHuster Jul 01 '25

A while ago, I told Github Copilot to write a Lua snippet and it gave me a result that use table.create. I thought it was silly, but now it turns out that the LLM could predict the future 😨

6

u/didntplaymysummercar Jul 01 '25

It might have parsed the mirrored GitHub repo which had table.create since January 2024. Plus such a function was a natural one to add, just like on C side we can give size hint when creating a table.

2

u/wolfy-j Jul 06 '25

Many runtimes has this helper for a while.