Myth: Compilers optimizing based on undefined behavior is one of the biggest real world problems with C/C++. It’s actually nowhere near.
-
-
Replying to @vyodaiken @johnregehr
Because undefined behavior optimizations are necessary for C to be acceptably fast. e.g. signed overflow ruins loop trip count detection.
1 reply 0 retweets 0 likes -
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.
1 reply 0 retweets 0 likes
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.
1:52 PM - 3 Oct 2017
0 replies
0 retweets
2 likes
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.