News for hackers. Stuff that matters.
Re:Compact Representations for Arrays in Lua [pdf] by ufo on Monday June 23, 2025 @09:02AM (#44355392)
I think the real issue here is not whether there is a separate type for tables and arrays, but whether the arrays are homogenous (all elements must have the same type). In most dynamic languages, the arrays are heterogeneous. For example, Python has a separate array type, but if you want homogenous arrays you have to reach for something like numpy.

There are no comments on this comment yet.