lua-users home
lua-l archive

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


On Thu, Apr 1, 2010 at 2:57 PM, Joe Andresen <joe.andresen@gmail.com> wrote:
> BitOp looks promising.

bitop is the one, its the only one thats both well thought out, that
was done after looking
at the preexisting collection, and that documents its rationale. That
last point is the
one most often missing.

> I'm most likely going to be binding enums from C++ for checking input and
> passing the byte codes up to lua.

That said, one of the uses of bit operations is for bitfields, which
is not well supported by lua, if those fields
get over 32bits wide (limitations of its builtin numeric type).
Probably not your case, though.

Cheers,
Sam