lua-users home
lua-l archive

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

This is also similar to alien.array(type, len[, buf])

Of course the same argument as with LuaFFI applies, as one would have
to rip out the libffi stuff to only have buffers and arrays ...


On Mon, Feb 27, 2012 at 1:28 AM, Dimitris Papavasiliou
<> wrote:
>> Out of curiosity, how does this compare to LuaFFI's [1] array and structure
>> manipulation?
> I'm not familiar with LuaFFI but from what I understand from the
> description its purpose is to allow a programmer to mix Lua and C
> code.  LuaFFI therefore has a much larger scope but it inevitably
> introduces all of C's complexity into Lua to achieve that.