Difference between revisions of "FORTRAN"

From Computer History Wiki
Jump to: navigation, search
m
m (Versions and Dialects: "RATFIV" added)
 
(20 intermediate revisions by 6 users not shown)
Line 1: Line 1:
Fortran, better known as a "FORmula TRANslator".  It's primary use was in Scientific and Engineering disciplines.
+
'''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.
  
== Dialects ==
+
It was initially developed by [[International Business Machines|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.
There have been several popular versions of Fortran, namely:
 
*FORTRAN 66
 
*FORTRAN 77
 
*FORTRAN 90
 
*FORTRAN 95
 
  
{{stub}}
+
It was an extremely important step in the evolution of computers, since it allowed [[end-user]]s to write their own programs, instead of having to interact with professional [[programmer]]s to use computers.
[[Category:Languages]]
+
 
 +
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.
 +
 
 +
==History==
 +
 
 +
It spread rapidly; the first non-IBM version was produced for the [[UNIVAC I]] in January, 1961, followed by a version for the [[Remington Rand]] [[LARC]] later that year. By 1964, no less than 43 were known.
 +
 
 +
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]])
 +
* [[RATFIV]] (FORTRAN with even more advanced features)
 +
 
 +
== Hello World ==
 +
 
 +
This is a simple FORTRAN program.
 +
<pre>
 +
C23456789012345678901234567890
 +
      program hello
 +
      print *, 'Hello!'
 +
      end
 +
</pre>
 +
 
 +
== Folklore ==
 +
 
 +
Fortran is mentioned in the well-known rant "[[Real Programmers Don't Use Pascal]]".
 +
 
 +
== Popular Compilers ==
 +
 
 +
*[[f77]]<br>
 +
*[[g77]]<br>
 +
*[[Watcom Fortran]]<br>
 +
*[[Microsoft Fortran]]<br>
 +
*[[VAX FORTRAN]]<br>
 +
 
 +
== Popular Fortran Programs ==
 +
 
 +
*[[Adventure]]
 +
*[[Snoopy Calendar]]
 +
*Bob Supnik ported [[Zork]] to Fortran
 +
*[[TREK7]]
 +
*[[Whetstone]]
 +
*[[SPICE]]
 +
 
 +
==External links==
 +
 
 +
* [http://ed-thelen.org/FortranHistories/1%20Paul%20McJones%20-%20In%20Searchof%20the%20Original%20FORTRAN%20compiler.pdf In Search of the Original Fortran Compiler]
 +
* [https://www.softwarepreservation.org/projects/FORTRAN/ History of FORTRAN and FORTRAN II]
 +
 
 +
[[Category: Languages]]

Latest revision as of 09:52, 19 November 2024

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.

It was an extremely important step in the evolution of computers, since it allowed end-users to write their own programs, instead of having to interact with professional programmers to use computers.

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.

History

It spread rapidly; the first non-IBM version was produced for the UNIVAC I in January, 1961, followed by a version for the Remington Rand LARC later that year. By 1964, no less than 43 were known.

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)
  • RATFIV (FORTRAN with even more advanced features)

Hello World

This is a simple FORTRAN program.

C23456789012345678901234567890
      program hello 
      print *, 'Hello!' 
      end

Folklore

Fortran is mentioned in the well-known rant "Real Programmers Don't Use Pascal".

Popular Compilers

Popular Fortran Programs

External links