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
You misunderstand me. I’m saying that safe Rust depends on UB-based optimizations in LLVM, because our compiler guarantees our IR has no UB.
1 reply 0 retweets 0 likes
In other words: The Rust compiler *is* the mythical perfect programmer who never writes code with UB. Why not let us have our optimization?
2:00 PM - 3 Oct 2017
0 replies
0 retweets
1 like
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.