13 ms·
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
by js8 6y ago
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.
- bonzini 6y agoThat'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.