News for hackers. Stuff that matters.
Re:An Introduction to OpenBSD [video] by mprovost on Monday August 17, 2020 @11:51AM (#24188375)
Network protocols usually encode things as big endian since that was the dominant order when the internet was being developed. It's a minor point now but everything has to be swapped around on little endian systems.
Re:An Introduction to OpenBSD [video] by RedShift1 on Monday August 17, 2020 @12:00PM (#24188452)
But is there some kind of computational advantage down to the processor architecture level? Can certain instructions or set of instructions be executed faster on big endian systems?
Re:An Introduction to OpenBSD [video] by jfoutz on Monday August 17, 2020 @12:25PM (#24188723)
No. There may have been micro optimizations on specific chips, but there's nothing intrinsically faster about one encoding or the other.

Sorta like English reads right to left, but left to right or top to bottom would work just as well. left to right was what won.

Re:An Introduction to OpenBSD [video] by retro64 on Monday August 17, 2020 @05:17PM (#24192245)
Not sure about today's CPUs, but back in the days of the 68000 I'm pretty certain there was a small advantage in both designs but for different reasons. I wouldn't normally write such a vapid post without supporting details (that I can't recall anyway), but I wanted to pipe up to encourage you to do more research if you're curious.
Re:An Introduction to OpenBSD [video] by tyingq on Monday August 17, 2020 @12:56PM (#24189075)
No, no advantage. Just variety. You used to occasionally see bugs where things would work fine on little and not big, or vice-versa. Usually due to assumptions about data.