2 ms·
> Rust does not guarantee the possibility of matching C++ performance unless you use unsafe code. As with any performance question, this is hard to actually sa
by steveklabnik 12y ago
> Rust does not guarantee the possibility of matching C++ performance unless you use unsafe code.
As with any performance question, this is hard to actually say in general. In the Benchmarks game(1), there are several benchmarks where Rust has no unsafe code and is still faster than C.
1: personal note: ugh, all usual caveats apply, etc.
- igouy 12y agoIf you think there's something wrong about the benchmarks game then don't point to the benchmarks game as evidence for what you wish to be true.