> … meeting or beating Fortran…
Keep in mind that there seem to be more programmers - making more effort - to improve the C and Rust benchmarks game programs.
The Ada and Fortran programs don't get the same work and improvement.
Keep in mind that there seem to be more programmers - making more effort - to improve the C and Rust benchmarks game programs.
The Ada and Fortran programs don't get the same work and improvement.
What do you think "array support" means to the compiler? Fortran has historically been faster just because of the the aliasing rules, but C has the restrict keyword now that brings it up to snuff there. The standard library inlining is more a hack around the fact that the c stdlib is dynamically linked, and that doesn't always make sense for heavily used functions.
I'm not really sure where you got this idea that C is a low bar. For instance here's C meeting or beating Fortran on every benchmark except one (where statistically they're probably tied). https://benchmarksgame-team.pages.debian.net/benchmarksgame/...