Strange benchmark, comparing llvm(rust) to gcc(c++ code)
Re:Clang Format Tanks Performance
by The_rationalist on Friday November 22, 2019 @03:38AM
(#21603890)
As 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.
Looking at 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.