Re:Optimizing C++ Const Objects in LLVM
by steveklabnik on Monday December 28, 2015 @10:10AM
(#10801406)
My sibling commentators have given you good links, but it's worth noting that these systems and Rust have a lot of differences. For example, they're explicitly not trying to tackle data races, and the way that they work is different.
I'm excited to see this all play out though!
CppCon 2015: Herb Sutter "Writing Good C++14... By Default":
Sutter comments on const_cast around 11m15s.
Is the idea that they'll codify a bunch of static analysis that disallows problematic constructs & patterns? Could implementers then add something like Rust's ownership checks (assuming full source visibility)?