3 ms·
What's a concrete example of how FORTRAN compilers are inherently better at this type of task than modern C/C++ or Rust compilers?
by CamperBob2 1mo ago
What's a concrete example of how FORTRAN compilers are inherently better at this type of task than modern C/C++ or Rust compilers?
- mzs 1mo agoIt's not really about the compilers ever since C99's restrict (you can almost always equal fortran performance now), it's how much more you have to think and validate about how to write the C/C++ plus the compiler and linker options to use. Also with C99 you get many of the convenient aspects of fortran (<tgmath.h> and vardim array function args) and with C11 you also get <complex.h> now. But you are still missing fortran's ** operator and it's more than just syntactic sugar, it accepts more types.