A language built for computation

Fortran is one of the oldest programming languages still in wide use. It was developed in the 1950s to let scientists and engineers write numerical programs in something close to mathematical notation, and its design has always favored the needs of numerical work: efficient arithmetic, strong array handling, and a syntax that stays close to the formulas being computed.

The standards timeline

Fortran has been an internationally standardized language since the 1960s, which is one reason programs written decades ago can often still be compiled today. The major standards, in order:

Fixed and free source form

Programs written for the older standards use fixed source form, in which columns of each line have special meaning. Since Fortran 90, free source form has been available: statements may start in any column, lines may be long, and comments begin with an exclamation mark. Most new code is written in free form, and the examples on this site use it throughout.

First steps for new programmers

If the language is new to you, a steady path looks like this:

Use any compiler that supports the standard you are targeting, and rely on its documentation for the details of compiling on your system. This site covers the language, not the tools.