• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

If you were a computer, would you be big-endian or little-endian?

Low bridge, everybody down!
Low bridge for we're coming to a town
And you'll always know your neighbor
And you'll always know your pal
If you've ever navigated on
The Erie Canal
 
The Basics

"Little Endian" means that the low-order byte of the number is stored in memory at the lowest address, and the high-order byte at the highest address. (The little end comes first.) For example, a 4 byte LongInt

Byte3 Byte2 Byte1 Byte0

will be arranged in memory as follows:

Base Address+0 Byte0
Base Address+1 Byte1
Base Address+2 Byte2
Base Address+3 Byte3

Intel processors (those used in PC's) use "Little Endian" byte order.

"Big Endian" means that the high-order byte of the number is stored in memory at the lowest address, and the low-order byte at the highest address. (The big end comes first.) Our LongInt, would then be stored as:

Base Address+0 Byte3
Base Address+1 Byte2
Base Address+2 Byte1
Base Address+3 Byte0

Motorola processors (those used in Mac's) use "Big Endian" byte order.
 
Originally posted by: JohnCU
I feel so geeky for knowing the difference between big and little-endian.

For as long as I've been using MS Windows (started with NT3, if memory serves), I've always filled in the "Organization" line with "little-endian" when installing the OS.

I don't think I know anybody who gets it, but I figure puzzling people is all part of my job.

I think I'd be little-endian myself. Feels more roomy.
 
Back
Top