Re:The Byte Order Fiasco
by js8 on Saturday May 08, 2021 @08:26AM
(#27086515)
Maybe I am biased working on mainframes, but I would personally take big endian over little endian. The reason is when reading a hex dump, I can easily read the binary integers from left to right.
[ Parent
| on HN ]
That's the only thing that BE has over LE.
But for example bitmaps in BE are a huge source of bugs, as readers and writers need to agree on the size to use for memory operations.
"SIMD in a word" (e.g. doing strlen or strcmp with 32- or 64-bit memory accesses) might have mostly fallen out of fashion these days, but it's also more efficient in LE.