r/lua • u/jadfe1234 • Jan 01 '26
What are some of your problems with lua?
Love2d and other libraries are welcome but just say what library your talking about
23
Upvotes
r/lua • u/jadfe1234 • Jan 01 '26
Love2d and other libraries are welcome but just say what library your talking about
View all comments
Show parent comment
1
u/didntplaymysummercar Jan 02 '26
You can use
newproxyin Lua 5.1 and LuaJIT to get custom__lenor__gcfrom pure Lua if you need, but it's undocumented so read the C code or user wiki or something for how it works.It should just be two types, hashtables and arrays. There's no benefit to them being one, but many problems - length and serialization confusion, relying on heuristic for array part, implementation complexity and lower performance, etc.