Hacker News new | ask | show | jobs
by masklinn 1337 days ago
OTOH Arabic got its numerals from indic systems, and indic scripts are generally LTR, which points to big median being “more natural”. It also matches the spelling of positional numerals in most languages, and does make sense from a convenience point of view: when talking it’s easier to round off by just stopping as you go than to figure out what rounding you should apply beforehand.

If you spell out numbers in little-endian, once you start you’re committed to spelling it out in full, whereas big endian lets you stop at basically any point you feel like.

1 comments

Zwei und dreissig ? Wahid wa ishrun?

Yes most modern languages have lost little endiannes and those that kept it use only for the first 100 numbers.

That's because for bigger and bigger numbers you're correctly pointing out that big endian is more useful when saying the numbers aloud since you can often ignore the less significant digits.

My original point was different though:

You can easily render little endian hexdumps equally readable as big endian hexdumps by just writing them in the order that is meant for numbers, namely right to left.

We even align numbers to the right in spreadsheets. That's the same thing.

Look at an old DEC manual (digital Unix, or VMS) and you'll see hexdumps where the numeric part is aligned from center towards the left and the ASCII part is aligned from the center to the right.

With this layout you can easily read multibyte numbers naturally.