Re:C++ Dev Ecosystem 2021
by userbinator on Monday July 19, 2021 @10:51PM
(#27889603)
Speaking from experience, because MSVC (and also ICC) is far more sane with how it interpets undefined behaviour.
[ Parent
| on HN ]
Relying on UB in programs is a recipe for disaster. It should be avoided rather than workarounded by compiler. There's UBSAN, various static analysis tools to fish out UB, developers should use them instead.