3 ms·
Give us an example.
by edflsafoiewq 5y ago
Give us an example.
- saurik 5y ago(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.)
- agent327 5y agoI'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...
- masklinn 5y agohttps://news.ycombinator.com/item?id=28218704 https://news.ycombinator.com/item?id=28218704