Why your computer's internal byte order is a relic of a satirical novel
In short: Computers store multi-byte data in one of two ways: big-endian or little-endian. These terms, which describe whether the most or least significant byte comes first, were coined in 1980 by Danny Cohen. He borrowed the labels from Jonathan Swift’s Gulliver’s Travels, where warring factions fought over how to crack eggs.
At the hardware level, computers organize information into bytes, each assigned a unique memory address. When a piece of data requires multiple bytes, the system must decide which byte occupies the lowest address. Big-endian systems place the most significant byte first, mirroring how we write numbers in English. Conversely, little-endian systems store the least significant byte at the lowest address.
The choice between these formats often dictates how efficiently a processor handles specific math operations. Because addition and subtraction start with the least significant digit, little-endian architectures can perform these calculations with slightly simpler logic. Big-endian systems, however, are often more efficient for comparison and division, which begin with the most significant digit. While modern high-performance processors typically mask these differences during standard operations, the underlying architecture remains a critical design constraint.
The persistence of these formats is largely a matter of legacy and compatibility. Intel’s x86 architecture, which dominates modern computing, inherited its little-endian design from the earlier 8008 microprocessor. Networking protocols, by contrast, almost exclusively use big-endian order, often called network order. This creates a constant need for byte-swapping—rearranging the order of bytes—to ensure data remains readable when moving between different systems or storage formats.
Some modern architectures are bi-endian, meaning they can switch between formats via software or hardware settings. While this flexibility theoretically allows for better performance in mixed environments, many systems still default to a single mode in practice. For instance, while the Power ISA is bi-endian, Linux transitioned to little-endian mode by 2019 to simplify software porting from x86, illustrating how the practical needs of developers often outweigh the theoretical versatility of hardware.
Opens the Intellect+ feed with this card first. Swipe up for the next one.
Sources
- Summary by Intellect · source: Endianness
To cite this card, link to https://intellectplus.co.uk/app/technology-endianness.
How we source, check and correct cards: Editorial standards.
General information, not professional advice. Spotted an error? Flag the card or see corrections and complaints.
Intellect Plus is a visual educational discovery platform for exploring fascinating facts and ideas. Brain Food, Not Brain Rot. What is Intellect Plus?
Related
More in Technology today · More in Technology · Latest · A–Z · All topics