Re:Endianness, a constant source of conflict for decades
by saurik on Wednesday August 18, 2021 @04:06AM
(#28218720)
(I mean it just seems obvious you would catch more bugs given the format of big-endian, right?... it comes directly from the dual of one of the not-really-a-benefits of little-endian: how you can cast between pointers of different integer types without moving the pointer.)
[ Parent
| on HN ]
Re:Endianness, a constant source of conflict for decades
by agent327 on Wednesday August 18, 2021 @04:10PM
(#28226436)
I'm totally onboard with casting integers, and I can understand casting between pointers-to-char and pointers-to-other, but why on earth would you want to cast between pointers to (different) integers? That seems like asking for trouble, for no benefit I can discern...