3 ms·
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 (especiall
by juped 7y ago
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).
- favorited 7y agoAnd 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.
- tylerhou 7y agoPortability is still nontrivial. It’s still difficult to target all of x86, ARM, Power, RISC-V at once.