5 ms·
Can you comment on the current state of non-aliased related optimizations? The issue tracker is byzantine on that one and i can't tell if or to what degree tho
by galangalalgol 7y ago
Can you comment on the current state of non-aliased related optimizations? The issue tracker is byzantine on that one and i can't tell if or to what degree those optimizations are now done.
- shepmaster 7y agoI don't know the current state, but I hang out in the Zulip room dedicated to the work on the optimizations - https://rust-lang.zulipchat.com/#narrow/stream/189540-t-compiler.2Fwg-mir-opt https://rust-lang.zulipchat.com/#narrow/stream/189540-t-comp...
- steveklabnik 7y agoThey’re not on right now.
- kibwen 7y agoRight now they're disabled, pending patches on the LLVM side. You can keep track here: https://github.com/rust-lang/rust/issues/54878 https://github.com/rust-lang/rust/issues/54878
- ncmncm 7y agoYes, Rust has the potential to be faster than C, or even C++. But the compilers' implementations of such optimizations are far too buggy to turn on.
- galangalalgol 7y agoAll the usual caveats apply, but benchmark game has rusts median already better than c++, but not as good as c. They are all so close that performance shouldn't really be a consideration between them I think. You can see g++ vs clang++ now too.