6 ms·
which is a loss, as according to openbsd developers developing for both caught a lot of bugs otherwise not found easily..
by minusf 5y ago
which is a loss, as according to openbsd developers developing for both caught a lot of bugs otherwise not found easily..
- edflsafoiewq 5y agoGive 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
- iainmerrick 5y agoCouldn’t you keep that benefit by testing on emulated big-endian hardware, though? (edit to fix interesting autocorrect glitch... “bug-endian” indeed!)