Earlier quoted context omitted.
This is by no means scientific, but it’s a fun benchmark, there’s some debate about the fastest Rust options submitted (ie I believe there were faster than C versions that were rejected). C: https://benchmarksgame-team.pages.debian.net/benchmarksgame/... Clang (for common llvm backend between rust and c): https://benchmarksgame-team.pages.debian.net/benchmarksgame/... C++: https://benchmarksgame-team.pages.debian.net…
On par is an understatement. It beats C++ in 8 benchmarks and loses in 2. Quite impressive. Rust has more potential for better optimisation than C++ because the compiler has full information on pointer aliasing.
One of those C++ comparisons is currently multi-core vs sequential.
Several C++ programs were recently removed, which upends things. You might say — "there were faster than [Rust] versions that were rejected".