lua-users home
lua-l archive

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


On Fri, Dec 12, 2008 at 2:11 PM, KHMan <keinhong@gmail.com> wrote:
> So at this point, I think we've pretty much
> exhausted the guessing bit and some debugging is necessary.

Something like this has been reported before--see the "Plea" written
by someone in http://lua-users.org/wiki/BitwiseOperators .

I was thinking of writing an alternative implementation of bitlib
having the exact same interface but in pure Lua so that one could
transparently choose either the C or Lua implementation.  However, the
prerequisite is that the interface of bitlib be more formally defined
in regards to sign, endianness, portability limits, etc. (which I
haven't examined in detail myself).