News for hackers. Stuff that matters.
Re:Almost Always Unsigned by colanderman on Sunday January 02, 2022 @11:37AM (#29770183)
A bonus is that you can enable UBSAN to automatically and efficiently catch signed integer overflow, without changing language semantics (since, unlike unsigned overflow, signed overflow is undefined in C/C++). Here's an earlier post of mine showing how: https://news.ycombinator.com/item?id=24578534

There are no comments on this comment yet.