Conina said:
Sorry, but you as a programmer should know, that Terabytes, Gigabytes, Megabytes and Kilobytes are measured in base 10. A kilogram is 1000 grams, a kilometer is 1000 meters, a kilohertz is 1000 hertz, a kilowatt is 1000 watts, a kiloton is 1000 tons... so why should a kilobyte be 1024 bytes instead of 1000 bytes? https://en.wikipedia.org/wiki/International_System_of_Units#Prefixes Tebibytes, Gibibytes, Mebibytes and Kibibytes are measured in base 2. |
Lol we never used those terms at work. Allocating a megabyte of memory was always 1024 KB, not 1000 KB.
Seems to still be the case
As we know that “Kilo” is generally used as a replacement for 1000. Since computers use the binary system (or base-2 numbering system), the base-2 number which is nearest to 1000 is 1024 (i.e. 2^10). That's why in the computer system, 1024 is referred to as “Kilo”.Oct 19, 2017