[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: boolean operators.eml
- From: John Hind <john.hind@...>
- Date: Fri, 22 Sep 2006 10:03:57 +0100
For what it's worth, I think library functions are the way to go here,
though a standard library in the Lua distribution would be useful. I use
the bitwise functions in Girder 4 all the time, but it *is* a
specialised requirement which would be justifiably regarded as bloat by
many if introduced in the core language.
HOWEVER: If it is done, it should be done properly not using some kludge
involving string packing or number truncating. This means a proper
*unsigned* integer type with a well-defined bit length and a syntax for
constants in binary, hex, octal etc.