Free since 2005 · No login required
AT

Academic Tutorials

Learn at your own pace

site-mobile-top-banner · 320x50

Fortran - a language with a past and a future

Added 31 Jul 2008

This standard is the culmination of almost a decade's work by representatives from the US, UK and other countries.

Fortran was designed to be easy for scientists and engineers to learn so that they could readily program their own problems on to a computer.

The development of the language has continued with these principles in mind while incorporating modern features, such as character strings and block IF statements in Fortran 77 and memory allocation at run-time and free form source format in Fortran 90.

Fortran 2003 includes several features to support object-oriented programming, a standard way of interfacing with C (previously different compilers required different approaches) and a standard way of accessing operating systems features.

In the UK Fortran users include the Meteorological Office, the Ministry of Defence, universities, research labs and other scientific institutions.

The information used to produce our daily television weather forecasts and longer term climatic predictions is produced by very large Fortran programs running on supercomputers.

Fortran is also used in the finance industry, which does complex calculations to analyse stock market and financial market data. At present the UK has three software companies producing Fortran compilers and tools.

Estimates suggest that there are several thousand organizations in Europe using Fortran applications, although not all of them are using Fortran to develop new programs. This is partly due to Fortran being seen as an old language whilst people want to be seen as modern, so C and C++ have moved to the fore.

Fortran champions believe that despite efforts to improve facilities for scientific calculations in C and C++, Fortran has a wider range and is better in important areas, notably for handling multi-dimensional arrays and very large data sets.

They also argue that Fortran is not only a safer language but also produces highly reliable programs that are easier to write and maintain.

The developers of the new standard were focused on ensuring that it would be compatible with an object-oriented approach that did not go overboard in this direction.

For example, Fortran 2003 avoids multiple inheritance, because it adds too much complexity for too little gain in expressive power. Likewise, Fortran's unique ability to handle massive data sets and array processing was kept intact by rejecting the tactic of making everything a polymorphic object, as in other languages.

The arrival of Fortran 2003 means that anyone planning a new development in a scientific domain should strongly consider using it. It is a language that has been redeveloped for the 21st century.