32 vs. 64-bits

There is often a great debate about whether their program should be compiled as 32 or 64-bit. People often think a program will run better on their 64-bit OS if it is 64-bit instead of 32-bit, but that is often not the case. In this post I will discuss some of the advantages and bottlenecks in a 32-bit program versus a 64-bit program.

Many people does not understand what it means that their program is n-bits compiled. (Where n can be 8, 16, 32, 64, and so on) It basically means how much memory your program can allocate. In 32-bits, we can allocate 232 bytes. In the 32-bit world, all objects pointers has 32 zeros and ones. For each bit, there is two posibillities. As there are 32 possible combinations, therefore 232 bytes. In the 64-bit world it would be 264 bytes. We would have the following mathematical formula: 2bits = total memory available to allocate. 

The Xbox One - Back to the Past

I was really excited when the Xbox One was announced. One of the things I hoped for was that Microsoft had done something with those discs from the 90's. And they did, almost. What almost where to be a far better experience for users where thrown away by confused users mostly on the Internet in addition to Sony who made fun of Microsoft and their new model. Sony indirectly asked Microsoft why they would change the current model for games when the one they used where working perfectly fine. I would not say that is the question. What is the issues with the current model and what could be improved?