3 ms·
Great article It just seems to me there's too much risk in "overoptimizing" especially in a weakly defined language like C with trigger happy optimizers and ev
by raverbashing 6y ago
Great article
It just seems to me there's too much risk in "overoptimizing" especially in a weakly defined language like C with trigger happy optimizers and even more trigger happy "UB means let's go crazy"
I take it as principle that no compilers should "throw their hands up" when detecting UB. Crash the program, don't just take that part out.
- gpderetta 6y agoCompilers don't detect UB (at least as optimizations are concerned), they assume no UB. If you want to detect UB, at least dynamically, compile with sanitizers.