Myth: Compilers optimizing based on undefined behavior is one of the biggest real world problems with C/C++. It’s actually nowhere near.
Because undefined behavior optimizations are necessary for C to be acceptably fast. e.g. signed overflow ruins loop trip count detection.
-
-
I don’t want to use C without TBAA rules, for example. It’s needed for all sorts of optimizations that e.g. JVMs can do easily.
-
Cards on the table: Rust depends on those optzns. They are safe in Rust (modulo some bugs). Throwing them out of LLVM would hurt us a lot.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.