2 ms·
UB has nothing to do with complexity. In any case, from about 87 UB in the core language, we eliminated 15 in the last meeting, and already have concrete propos
by uecker 2y ago
UB has nothing to do with complexity. In any case, from about 87 UB in the core language, we eliminated 15 in the last meeting, and already have concrete proposals for 10 more. C2Y will likely not have any trivial UB and hopefully also optional safety modes that eliminate the others.
- pjmlp 2y agoIt certainly has, as proven by recent talk at BlueHat 2024, on Windows kernel refactorings, as not everyone is knowledgeable of ISO C minutia and how optimisers take advantage of it, and still think they know better than analysers.
- uecker 2y agoMaybe you can explain this better. People not knowing about footguns is also not the same complexity, it is just having footguns and people not knowing about them.
- pjmlp 2y agoIt is a matter of wording, doesn't change the trap is on the path. Nonetheless, it is good to see efforts to reduce UB on the standard. My complaints apply to C++ as well, naturally.