2 ms·
> I think it's the compilers that have perverted the language to such an extent that it's become ridiculously difficult to understand, and so it's the compiler
by pcwalton 9y ago
> I think it's the compilers that have perverted the language to such an extent that it's become ridiculously difficult to understand, and so it's the compilers that must change back to being less obtuse and adversarial.
I disagree. Undefined behavior is very important for optimization. See John Regehr's blog post on the topic [1], or any of DannyBee's numerous posts here explaining why GCC and Clang can and must exploit UB, etc. etc.
[1]: https://blog.regehr.org/archives/1467 https://blog.regehr.org/archives/1467