3 ms·
We turned it back on quite recently! I haven’t seen any numbers yet though.
by steveklabnik 9y ago
We turned it back on quite recently! I haven’t seen any numbers yet though.
- vvanders 9y agoDude! That's awesome, I was under the impression it was a ways away. Is this on nightly or going to be making it into one of the upcoming stable releases?
- steveklabnik 9y agoBoth, it landed a few hours ago, and so will be in 1.28 stable. Here's the PR: https://github.com/rust-lang/rust/pull/50744 https://github.com/rust-lang/rust/pull/50744
- vvanders 9y agoDamn, you guys are knocking it out of the park with Rust. We used to have to do all sorts of convolutions to turn on restrict in the few places it made sense(particle systems, etc). Pretty amazing to have it turned on by default across the whole language.
- steveklabnik 9y agoThanks! It’s a great example of how “less restrictions” doesn’t always mean “fastest code”. In some ways, this specific optimization is the core of what Rust is about.