lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, Sep 16, 2011 at 2:39 PM, Roberto Ierusalimschy
<roberto@inf.puc-rio.br> wrote:
> (Note that it is already easy to implement tuples using C closures; see
> PiL 2nd edition page 255.)

as a facility for users, yes; but not as a 'lighter than tables' data type.

as much as i'd like to see real tuples in Lua (as the type of ... ), i
feel that the usage presented by Xavier should be better served by a C
library.  or, if performance is critical, as a patch to the core; not
as part of Lua.  (at least until a general redesign of language
primitives)

-- 
Javier