3 ms·
I have experience with modern Fortran. The features that make Fortran relevant today are the array operations, simpler memory management than C/C++ (the alloca
by atrettel 6y ago
I have experience with modern Fortran. The features that make Fortran relevant today are the array operations, simpler memory management than C/C++ (the allocate statement), and the ability to change floating point and integer precision easily. If you are doing math on very large arrays, Fortran is one of the best ways to go. If you are just starting to learn it, try to follow at least the Fortran 2003 standard and up, because it introduces many more modern conveniences. Many people still use Fortran 77 but honestly I see no reason to look at it at all. Fortran 90 really was only the start of the modernization of Fortran. Most compilers (GNU/gfortran and Intel/ifort) already support the Fortran 2003 standard. For a free software solution, stick to GNU (unless you want to pay for the Intel compiler).