4 ms·
Where did you pull those numbers? Looking at https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/gpp-rust.html https://benchmarksgame-team.page
by Ygg2 7y ago
Where did you pull those numbers?
Looking at https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/gpp-rust.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
While the worst case is 40% slower (where even C perfored abysmally), most of the time the Rust is within a 10% margin of error, and in quite a few cases it's faster.
- NoZZz 7y agoStrange benchmark, comparing llvm(rust) to gcc(c++ code)
- The_rationalist 7y agoAs nozzz said, this is using clang. So I should correct my statement, c++ is in average 30% faster as gcc is in average 20% faster than llvm.