News for hackers. Stuff that matters.
Re:Ask HN: Why is the byte order little-endian, but the bit ... by ThePadawan on Tuesday July 06, 2021 @12:38PM (#27750880)
AFAIK big-endian bit order makes the very very very low-level circuits easier.

Want to compare two numbers? You can short-circuit (hah) as soon as the leftmost bit is different.

Re:Ask HN: Why is the byte order little-endian, but the bit ... by gopalv on Tuesday July 06, 2021 @02:24PM (#27752404)
> big-endian bit order makes the very very very low-level circuits easier

These probably invert pretty easily I suspect (the 1-bit bus with a latch would be the only order dependent thing).

But as a human, it is definitely so much easier to write down 7 on paper tape if the numbers match the big endian order.

The big-endian bit order definitely made my "write binary on paper" exercises in college much easier to read back.

The whole "arabic numeral" thing is accidentally visible there, where you fill numbers right to left if you want the decimal points to align.

Re:Ask HN: Why is the byte order little-endian, but the bit ... by bruce343434 on Tuesday July 06, 2021 @12:49PM (#27751059)
Why not just reverse the direction of the "comparison wiring" instead of the bit order?
Re:Ask HN: Why is the byte order little-endian, but the bit ... by addingnumbers on Tuesday July 06, 2021 @12:55PM (#27751171)
Don't you just short-circuit as soon as any bit is different regardless of bit ordering?
Re:Ask HN: Why is the byte order little-endian, but the bit ... by rowanG077 on Tuesday July 06, 2021 @06:28PM (#27755184)
For equality yes. But not for ordering purposes.
Re:Ask HN: Why is the byte order little-endian, but the bit ... by benlivengood on Tuesday July 06, 2021 @04:06PM (#27753583)
In processors bits are in parallel, and in any arithmetic operation more-significant bits depend on less-significant bits because of carry, so you'd want to stream bits least-significant first.