Re:Lua: the world's most infuriating language?
by justincormack on Friday October 18, 2013 @10:20AM
(#6571483)
LuaJIT has real types and arrays, as part of the ffi.
Re:Lua: the world's most infuriating language?
by anonymoushn on Friday October 18, 2013 @11:48AM
(#6572009)
The language seems to ship with an array type and a numeric type. I hear it will soon ship with 2 numeric types instead. If you aren't satisfied with your ability to redefine the numeric type(s) to literally anything by changing 1 line in 1 header file, you can use a userdata that supports "real numeric" operations.
No. Not having a real numeric or array type is serious, '1-based arrays' is just a minor quibble about syntactic sugar.