FORTRAN, or Formula Translation, is a computer programming language invented by John Backus in 1957 to speed up the programming process and make it more approachable.
The introduction of FORTRAN in 1957 was a watershed moment in the evolution of computer programming languages. Programming used to be done in machine (first-generation) or assembly (second-generation) languages, which required the programmer to write binary or hexadecimal arithmetic instructions.
A quick overview of FORTRAN’s history
- Prior to the creation of FORTRAN, programmers employed machine or assembly code to construct immensely complicated and time-consuming programmes.
- It led to the development of FORTRAN, a programming language that was simple to learn, independent of the computer, easy to use for mathematical formulae, and suitable for a wide range of applications.
- Developers could build programmes in FORTRAN 500 percent faster than in previous versions since it was so much easier to test.
- FORTRAN IV and FORTRAN 77 are the most well-known FORTRAN variants.
- FORTRAN IV became a USASI standard in 1966, and FORTRAN 77 was recognised by ANSI in 1978.
- In the early 1990s, a new ISO & ANSI standard for FORTRAN, dubbed FORTRAN 90, was produced.
Characteristics of the FORTRAN Programming Language:
- It’s simple to understand and learn.
- It is possible to move software from one computer to another.
- It allows complicated mathematical functions to be stated in a variety of natural forms.
- In comparison to assembly or machine code, there is only roughly a 20% performance drop.
- Programmers can use it to control storage allocation.
- Programmers do not have to lay out code in tightly defined columns like they do in assembly or machine language.
Advantages of FORTRAN:
- Numerical analysis and scientific computation are supported by Fortran.
- Generic and Structured programming are supported by Fortran.
- Array and Modular programming are supported in Fortran.
- Object-oriented programming with high performance
- Extremely well-suited to vectorization
- Fortran is a legible and easy-to-understand programming language.
- Scientific Computing is really quick.
Uses of FORTRAN:
FORTRAN is still used in applications that require a lot of matrix algebra and have high performance requirements, such as in science, where it’s used to simulate nuclear explosions and global climate, and engineering, where it’s used to do structural analysis and other things engineers do. I used FORTRAN in the aviation business until recently. Other high-performance languages like C, C++, and Julia, as well as multi-purpose languages like Python, Java, and R, are now putting FORTRAN to the test.
Extension and meaning:
In the extension, lowercase f is used.
These files lack preprocessor directives, which are common in the C programming language. To produce object files, they can be immediately compiled. .f,.for,.f95, etc.
In the extension, capital F.
These files include preprocessor directives that are comparable to those used in the C programming language. The preprocessors are either specified in the files themselves, or via C/C++ header files, or both. These files must be pre-processed in order to obtain lower-case extension files for compilation. .F,.FOR,.F95, etc.
.f, .for, .f77, .ftn
These are for Fixed style format Fortran files that use the Fortran 77 release version. They can’t have preprocessor directives since they’re lowercase extensions.
.F, .FOR, .F77, .FTN
These are for Fixed style format Fortran files that use the Fortran 77 release version. They can contain preprocessor directives since they are uppercase extensions, therefore they must be preprocessed to produce the lower case extension files.
.f90, .f95, .f03, and .f08 are examples of file extensions. These are used for Fortran files that utilise the Free style format and so use Fortran versions later than the current release. The names of the release versions are included in the name. They can’t have preprocessor directives since they’re lowercase extensions.
.F90, .F95, .F03, and .F08 are examples of file extensions. These are used for Fortran files that utilise the Free style format and so use Fortran versions later than the current release. The names of the release versions are included in the name.
They have preprocessor directives because they are uppercase extensions, therefore they must be preprocessed to produce the lower case extension files.
Conclusion:
It was created to facilitate simple translation of arithmetic formulae into code, FORTRAN is an abbreviation for FORmula TRANslation. It was created with keeping the work profile of scientists and engineers in mind, and it has dominated this sector ever since. FORTRAN has been utilised for over 30 years in projects such as bridge and aeroplane structural design, industrial automation control, storm drainage design, and scientific data processing, among others.