Fortran is faster and almost always better than C++ for purely numerical code. There are many reasons why Fortran is faster. It is the oldest compiled language (a lot of knowledge in optimizing compilers). … Many high performance libraries are still coded in Fortran, with a long (> 30 years) history.