News for hackers. Stuff that matters.
Re:A Guide to Undefined Behavior in C and C++ (2010) by pjmlp on Monday March 17, 2025 @05:26AM (#43386566)
Using protective gear, or making cars safer for crashes, also slows down physics versus not using them at all, yet lifes are saved every year where people would otherwise die or be crippled.

As someone that rather prefers Wirth culture on programming languages, UB at the expense of safety isn't a clear win, that is why we end up with security exploits or hardware mitigations for UB based optmizations gone too far.

There are no comments on this comment yet.