FORTRAN (the name is short for "FORmula TRANslator") refers to an evolutionary series of versions of a programming language, one which dates back to 1954 (the first version was released for use in early 1957); if not quite the earliest days of computers, it was one of the first computer languages.
It was initially developed by IBM for the IBM 704, for use in writing mathematical applications, primarily in scientific and engineering disciplines. Although it has been broadened since its early days to include other capabilities, that always remained its principal area of use.
Ironically, although it is now considered old-fashioned, when it was first introduced, it was very controversial - mostly because people doubted that a compiler could produce object code that was as efficient as that produced directly by human programmers.
FORTRAN now runs on big machines like mainframes, supercomputers, minicomputers and even down to 8 bit CP/M machines.
Although FORTRAN's popularity has significantly waned over the years, there is still a significant amount of legacy code out there.
Versions and Dialects
Fortran exists in many versions (i.e. those specifically approved by standards bodies) and dialects (i.e. local extensions); although it's a relatively portable language, many vendors extended the language in unique and incompatible ways.
Among the versions are:
- FORTRAN II (June, 1958; added subroutines)
- FORTRAN IV (1962)
- FORTRAN 66
- FORTRAN 77
- FORTRAN 90
- FORTRAN 95
Some dialects are:
- FORTRAN III (internal to IBM)
- RATFOR (FORTRAN with modern control flow)
This is a simple FORTRAN program.
C23456789012345678901234567890 program hello print *, 'Hello!' end
Fortran is mentioned in the well-known rant "Real Programmers Don't Use Pascal".