3 ms·
In practical terms: what kind of performance difference would one see between optimized C(++) and optimized Fortran when running exactly the same algorithm?
by TomVDB 8y ago
In practical terms: what kind of performance difference would one see between optimized C(++) and optimized Fortran when running exactly the same algorithm?
- cbkeller 8y agoAccording to the Julia benchmarks (and I assume Julia folks are relatively unbiased re: C vs Fortran), it depends on the algorithm [1], but less than an order of magnitude in either direction. I'm kinda surprised Fortran doesn't do better there actually -- but at this level it probably also depends on compiler and architecture. [1] https://julialang.org/benchmarks/ https://julialang.org/benchmarks/
- igouy 8y agohttps://benchmarksgame-team.pages.debian.net/benchmarksgame/faster/fortran.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...