Xbox One

As a Norwegian, there was no big surprise that the Xbox One were to be delayed by months. After all, we normally get new tech a few months later than every other country in the world. However, this racism is something I didn't really accept so I ordered one from Amazon instead. The console arrived the day before Christmas Eve, and the xmas feeling finally stroke me when I started unboxing the console. 

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.