News for hackers. Stuff that matters.
Re:Let's Destroy C by juped on Thursday January 30, 2020 @01:05PM (#22193608)
It's more that things were left undefined for portability and compiler authors (ab)used them for optimization enough for that to become de facto true (especially now that portability is easier).
Re:Let's Destroy C by favorited on Thursday January 30, 2020 @02:55PM (#22194825)
And if all C users decided that, now that portability is much easier, it was time to define some of that behavior, it would happen.

But, as much as people want to blame optimizing compilers for their behavior around UB, absolutely no one is going to sacrifice C's performance for safety.

Re:Let's Destroy C by tylerhou on Thursday January 30, 2020 @09:52PM (#22198558)
Portability is still nontrivial. It’s still difficult to target all of x86, ARM, Power, RISC-V at once.