3 ms·
And somehow still insufficient. They can't find words in all that to define some undefined behavior?
by wffurr 6y ago
And somehow still insufficient. They can't find words in all that to define some undefined behavior?
- AnimalMuppet 6y agoUndefined behavior isn't undefined because somebody didn't have enough words to nail down a definition. It's undefined by definition.
- pajko 6y agoAnd some of them does a "sane" defined thing on some of the platforms, but enforcing them for all of the platforms would mean a lot of burden to the implementors working on those.
- pjmlp 6y agoThey found them, because UB cases are documented actually.
- Gibbon1 6y agoIt's a cultural problem. The standards committee cares about security than micro-benchmarks on legacy hardware.
- lionkor 6y agosome behaviors are defined to be undefined because there is no sane way to universally define them in a way that doesnt cripple the range of supported hardware & OSs.