Bitwise Operations / BitLib

Hi... I am new and currently porting some prototype code I made a while ago in Python to Corona.

I just found that LUA lacks native support for Bitwise Operations like OR / AND / XOR and BITSHIFTING.

Searching for a solution I found that there are C extensions to LUA which implement them. And implementation in LUA is possible but a BIT (<- phun intendet) awkward.

Is there a chance that you include that with the SDK shortly?

I think it must be fairly easy to add and quick to test as computer love those bitwork :)

I'd like to see this added as well. Right now I use some lua functions for this, but they are slow. Getting full bit support would be very very nice.

Scott

I am also urgently looking for bitwise operators :-(

There are several good libraries and LUA patches available to add bitwise support (see here). Is it possible to add custom libraries and / or patches to the Corona installation in any way (means can they be added or installed afterwards or do we have to wait for Ansca to implement this?)

views:2354 update:2011/9/18 10:09:28
corona forums © 2003-2011