Fortran

Published:

Fortran (derived from “Formula Translation”) is a general-purpose, imperative programming language that is especially suited to numeric computation and scientific computing. Originally developed by IBM in the 1950s for scientific and engineering applications. Fortran came to dominate this area of programming early on and has been in continuous use for over half a century in computationally intensive areas such as numerical weather prediction, finite element analysis, computational fluid dynamics, computational physics and computational chemistry. It is a popular language for high-performance computing and is used for programs that benchmark and rank the world’s fastest supercomputers.

It is one of the older active programming languages, and it evolved adding extensions and retaining back-compatibility with prior versions. One the the most popular versions was FORTRAN77 (from 1977, and the most used for didactic application, or at least I learned with this version). FORTRAN77 have structured programming and processing of character-based data. In FORTRAN90 was added array programming, modular programming and generic programming, in FORTRAN95 was added high-performance programming, in FORTRAN2003 object-oriented programming and finally in FORTRAN2008 concurrent programming.

Fortran even keeps its initial form inherited from punched cards in which the first 6 columns was kept for special instructions and the code did not go far away of the 80 column. Even today is only directly used by universities, research and high-performance institutes, most of the high-performance and numberical libraries that other languages uses are coded in Fortran as LAPACK (for numerical linear algebra) or IMSL and NAG.

When do you have to use Fortran:

  • Flexible numerical high-performance needs. (Yes, I do not recommend other cases)

See also

Python, Julia, SAS, Matlab, Go (Programming language), Java, R, C, Sage

Material

Books