News for hackers. Stuff that matters.
Re:Coming Soon: AWS Graviton2 Processor for AWS by api on Wednesday December 04, 2019 @08:57PM (#21709296)
If anyone wants to see why little endian is better try implementing a sigint. Big endian makes everything backwards in terms of iteration order.
Re:Coming Soon: AWS Graviton2 Processor for AWS by takeda on Wednesday December 04, 2019 @09:08PM (#21709343)
You are presenting argument in favor of little endian, yet you're provide enough information that is only useful for someone who already knows the answer.
Re:Coming Soon: AWS Graviton2 Processor for AWS by tedunangst on Wednesday December 04, 2019 @10:05PM (#21709627)
The answer is also only useful to those who know it? I mean, nerds love to shout about the superiority of this or that, but they're mostly just parroting their tribe motto. If you have reason to really care about endian order, I would encourage you to do more research than you'll find in an HN comment. Perhaps there's even more than one right answer depending on circumstance.
Re:Coming Soon: AWS Graviton2 Processor for AWS by takeda on Thursday December 05, 2019 @12:12PM (#21714049)
I don't have too much knowledge in that area, but my understanding is as follows: for a software engineer big endian simpler to use, for hardware engineer little endian is simpler to implement.

I think it's similar to scientific calculator vs RPN calculator.

Re:Coming Soon: AWS Graviton2 Processor for AWS by atq2119 on Thursday December 05, 2019 @01:28PM (#21714807)
I don't think big vs little endian makes a difference in terms of hardware implementation. It's just a simple swap of wires.
Re:Coming Soon: AWS Graviton2 Processor for AWS by takeda on Thursday December 05, 2019 @01:58PM (#21715166)
it's more optimal when you're doing pipelining, for example adding two numbers to do the operation you start from the lowest byte and add them together and move up. With little endian bytes are already positioned in the order you want.

x86 architecture also was big on backward compatibility. You have registers that can be accessed as 8bit, 16bit, 32bit (and I believe 64bit) adding the extra bytes after similarly makes it easier, because the little significant bits are always in the same place.

Again, I don't have extensive understanding of hardware side, so I might be wrong.