Fortran

Fortran

Fortran is a general-purpose, compiled imperative programming language that is especially suited to numeric computation and scientific computing. Originally developed by IBM in the 1950s for scientific and engineering applications, Fortran came to dominate this area of programmin
Fortran image
numeric-computing scientific-computing compiled imperative

Fortran: General-Purpose Programming Language for Numeric Computation

A compiled imperative language for scientific computing, originally developed by IBM in the 1950s, suitable for numeric and engineering applications.

What is Fortran?

Fortran is a general-purpose, procedural, imperative programming language that is especially suited for numeric computation and scientific computing applications. Originally developed by IBM in the 1950s, Fortran was one of the first high-level programming languages and quickly came to dominate programming in the areas of numeric analysis and computational science.

The key features that made Fortran very popular for scientific applications include its clear, concise syntax for mathematical expressions, built-in support for arrays and matrices, computing efficiency from compilation, and an extensive math function library. Early versions of Fortran focused on simple numeric computation, but later versions added more complex data structures, modules, pointers, object orientation, and built-in parallelization features.

Over the decades, Fortran has undergone several major revisions (FORTRAN 77, Fortran 90/95, Fortran 2003/2008) to modernize the language while retaining backward compatibility with prior versions. This has enabled Fortran code written decades ago to still compile and run today. The longevity and stability of Fortran, combined with its computational speed and mathematical prowess, has ensured its place as a key language in high-performance computing for science and engineering.

While more specialized than general-purpose languages like C/C++ and not as readable as Python, Fortran remains widely used today for numerical weather prediction, finite element analysis, computational fluid dynamics, computational physics, crystallography, and computational chemistry. Major scientific software packages like LAPACK, IMSL and NAG Libraries rely on Fortran code. Fortran competes with languages like C++, Java and Python for scientific computing applications.

Fortran Features

Features

  1. Compiled language for high performance computing
  2. Strong typing and data abstraction capabilities
  3. Built-in mathematical and array processing functions
  4. Backward compatibility to support legacy code
  5. Interoperability with C and other languages

Pricing

  • Open Source
  • Free Compilers

Pros

Fast execution speed

Efficient code for numerical and scientific applications

Mature language with large user base and code libraries

Portable across platforms

Can call C functions directly

Cons

Steep learning curve for new programmers

Verbose syntax compared to modern languages

Limited object-oriented capabilities

Lack of strings and dynamic data structures

Mostly used in legacy and scientific code, less demand in new development


The Best Fortran Alternatives

Top Development and Programming Languages and other similar apps like Fortran


Julia icon

Julia

Julia is an open-source, high-level, dynamic programming language designed for scientific computing and data science. Some key aspects of Julia:High-performance JIT compiler that allows Julia to approach and often match the speeds of C and FortranDynamically typed, feels like a scripting language but with the speed of a compiled languageDesigned...
Julia image
C (programming language) icon

C (programming language)

C is a general-purpose, procedural programming language originally developed by Dennis Ritchie between 1969 and 1973 at Bell Labs. It was originally implemented on the Unix operating system and its availability on a wide variety of platforms has made C one of the most widely used programming languages.Some key features...
C (programming language) image
F# (programming language) icon

F# (programming language)

F# is a strongly typed, multi-paradigm programming language that encompasses functional, imperative, and object-oriented programming methods. It runs on .NET and is developed by Microsoft.As a functional language, F# helps developers write succinct, robust code. It has full support for first-class functions and object programming, along with scalable type inference....
F# (programming language) image
V (programming language) icon

V (programming language)

V (pronounced 'vee') is an open source programming language designed for building maintainable and performant software. It was created by Alexander Medvednikov and first released in 2017.Some key features and goals of V include:Simplicity - easy to learn syntax similar to Go, Python, and TypeScriptFast compile times - compiles extremely...
V (programming language) image
Object Pascal icon

Object Pascal

Object Pascal is an object-oriented version of the Pascal programming language. It was initially developed by Apple Computer in consultation with Niklaus Wirth, the creator of Pascal, in the early 1980s. The main goal was to add object-oriented programming capabilities to the existing Pascal language.Object Pascal builds on traditional procedural...
GDscript icon

GDscript

GDscript is a high-level, dynamically typed programming language used to create video games, applications, and tools inside the Godot game engine and development environment. It was specifically designed by the Godot team to be integrated with the engine and enable high flexibility and functionality for 2D and 3D game development.GDscript...
GDscript image