waynecochran 1 day ago

The whole advantage of UB is that this places less restraints on what the optimizer can do. If I say something does not need to be initialized I am giving the optimizer the freedom to do more!

1
TheBicPen 1 day ago

So what's the issue with introducing explicit syntax to do exactly that if you want to? A safe default does not preclude you from opting out of safety with a bit of syntax or perhaps a compiler flag.

monkeyelite 1 day ago

The issue is that the language was already designed with the old behavior.