While looking for data comparing Rust and C, I went to the benchmarkgame site and tried it myself, and it turned out different from the specified results.(rust vs c clang)
https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/rust-clang.html
Each source code is as follows, and it was executed through the compile command shown at the bottom of the source code.
However, Rust ran the cargo in the nightly version.
Below is the result of the compiled result measured by time on my pc.
The reason for this result is that I compile incorrectly? Or is it normal for these results to come out in the first place?
I am using intel i7 10700k, 16gb ram.