News for hackers. Stuff that matters.
Re:Ask HN: Why is the byte order little-endian, but the bit ... by nemetroid on Tuesday July 06, 2021 @12:41PM (#27750917)
I think you need to qualify in what sense bits are big endian. ”Bit 0” is reasonably the first one, and that usually refers to the least significant bit.
Re:Ask HN: Why is the byte order little-endian, but the bit ... by bruce343434 on Tuesday July 06, 2021 @12:48PM (#27751045)
Yes. In the same way that "byte 0" is the last byte in little endian, "bit 0" is the first bit in big endian.
Re:Ask HN: Why is the byte order little-endian, but the bit ... by nemetroid on Tuesday July 06, 2021 @05:38PM (#27754669)
> "byte 0" is the last byte in little endian

What do you mean by ”last byte” here? On a little endian machine, a two-byte integer stored at address x has its less significant byte at x+0, and its more significant byte at x+1.

Going by those numbers, byte 0 is the least significant byte, much like bit 0 is the least significant bit.