ARM 64bit vs 32bit, what's the advantage?

Hi Guy’s, now that we can compile for Arm64, can anyone tell me what advantages this brings as my app seems to work just the same on 32 or 64 bit ?..

Thx :slight_smile:

Most new boards are 64 bit.

And most of the non Raspberry PI boards only come with 64 bit OS.

(Though on Raspberry PI you can still choose if you install 32 bit or 64 bit OS)

According to Raspberry PI maker then their 64 bit runs faster. (and of course you can access more than 2 GB of ram with your app)

So in short, then being stuck in 32 bit Arm meant fewer and fewer boards that you had choice of.

Your linux customers may have either Intel or ARM, 32 or 64 bit.

Xojo 2022r3 can do 3 of 4 variants.
but now Xojo 2022r4 allows you to deliver all 4 combinations.

Thanks for clearing that up, I understand better now.
Is it true though that the pi only uses 2gb of the boards 4gb if you install the 32bit Os ?

No, 32-bit OS can manage 8 GB RAM, but individual processes are each limited to maximum 2 or 3 GB.

Thanks for the info guys :-), I have 2x pi boards so I think I will install 64 on one and 32 on the other and do some testing…

1 Like

64 bit code should run faster. Doubles are 64bit values, Currency are 64bit values, even in 32 bit systems, so you easily can see that 32 bit systems suffers penalties loading and saving values. The 64 bit instruction set is smarter, many things can be done with one instruction that in 32 bit needs compares and jumps.
IF Xojo 64bit is stable, 64 bit is the way to go as 32 bit OSs are dying, and 32 bit CPUs are becoming less and less used. ARM for Web is all 64 bit based. AWS have not less than 3 generations of ARM processors (and evolving) running their cloud, all 64 bit.