News for hackers. Stuff that matters.
Re:How expensive is integer-overflow trapping in C++? by jjnoakes on Thursday September 24, 2020 @06:41PM (#24584523)
The point is not to fear undefined behavior (though if my software was used in safety systems, I would fear undefined behavior).

The point is to eliminate it because it can cause problems in even the most well-tested code, either when the code inevitably operates outside the test parameters or when compilers or compile flags or system headers change.

Eliminate it both reactively and protectively. Not only in your own code, but encourage others to do the same.

There are no comments on this comment yet.