lua-users home
lua-l archive

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


On Mon, Jul 13, 2009 at 5:30 AM, Steven Barth wrote:
> bitlib
> * Autotools for a single C-file?!
> * Not possible to cross-compile without doing dirty hacks.

Yeah, the fourteenth bit library!  [1]  :)

The docs say, "Can be used as a drop-in replacement for bitlib."  At
least it attempts to reuse the bitlib API, which Lua BitOp also
reuses.  However, there are some differences (e.g. "shl" v.s.
"lshift").

Have you considered Mike's Lua BitOp?  That seems to be the "best
practice" at the moment.

[1] http://lua-users.org/wiki/BitwiseOperators