tech-kern archive

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

Re: A Library for Converting Data to and from C Structs for Lua



On Sun, Nov 17, 2013 at 11:23 AM, Marc Balmer <marc%msys.ch@localhost> wrote:
> Am 17.11.13 13:32, schrieb Hubert Feyrer:
>> On Sun, 17 Nov 2013, Marc Balmer wrote:
>>> I plan to import it and to make it available to both lua(1) and lua(4)
>>
>> I wonder if we really need to get all this into NetBSD,
>> instead of moving it to pkgsrc somehow.
>
> Yes, we need it to handle structured binary data.

BTW, I'm developing bitwiser library with a similar purpose.It is not
ready already, but it could be helpful to handle binary data without
copying it from/to Lua string in the future.

LHF has lpack library [1], it could be an alternative to Roberto's struct.

[1] http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lpack

Regards,
-- 
Lourival Vieira Neto


Home | Main Index | Thread Index | Old Index