lua-users home
lua-l archive

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


On 11/4/07, Javier Guerra <javier@guerrag.com> wrote:
> Lua doesn't have 'vectors' as a datatype.

> you might not like it (not everybody's happy with this); but if you're
> surprised, you're looking from the wrong angle.

Unfortunately for many people, the "wrong" way to think about Lua is
the way that nearly all mainstream languages work.  I'm curious if
anyone has created a basic 'array' or 'vector' C module for Lua
similar to how Python's numeric libraries work (array elements are a
single contiguous type, rather than polymorphic objects).

-- 
Tom