32 bit vs 64 bit
Taiwo Amao
Technical Support Engineer @ Moniepoint Group ? DevOps ?? ? Cloud Migration ? 5x AWS ? 2x Azure ? Platform Engineer ? AWS Community Builder ??
Computer hardware and software can come in 32 or 64 bit versions, the difference between a 32 bit and a 64 bit is the way that it handles memory. The bit size refers to the memory that it can address, a 32 bit system can reference two to the 32nd power bytes of memory, which equals to about four gigabytes.
However, a 64 bit system can reference two to the 64th power bytes of memory, which equals to about 16 exabytes, which is 4 billion times more memory than a 32 bit. Now that number is so huge that it's virtually unlimited because we will never need to use that amount of memory. So in a computer, in order for a data or a program to run, it needs to be loaded into ram first. So the data is stored on the slower hard drive. And from the hard drive, it's loaded into the faster Ram. And once it's loaded into RAM, the CPU can now access the data or run the program.
Now in a 32 bit system, since the maximum amount of memory that it can support is four gigabytes, it may not be enough to hold all the data that the CPU needs to make the computer run as fast as possible. And when this happens, then some of the data has to be kept on the slower hard drive to compensate for the low memory. So instead of data going from ram to the CPU, it has to do extra work by going back to the slower hard drive. And when this happens, it slows down the computer.
But in a 64 bit system, it's able to store a lot more memory than four gigabytes, which means that more data can be stored into the faster ram than on a slower hard drive. And because it can store more data into RAM, the computer is able to run a lot faster.
So in a nutshell, this is why a 64 bit system is faster than a 32 bit system.