ProBackend
News & Analysis
Oct 29, 20267 min read

Fortran Was Supposed to Die. It Refused.

Fortran Was Supposed to Die. It Refused.

Tony Hoare jokingly predicted in 1982 that Fortran would define the year 2000. Discover why the programming language endured and continues to support scientific computing.

The Joke That Wouldn’t Land

“I don’t know what the language of the year 2000 will look like, but I know it will be called Fortran.”

The line is often attributed to Tony Hoare and dated to 1982, but no verified primary source for its wording or context has been identified. Treat it as an unverified quip, not an authenticated quotation. Its staying power comes from a real contrast: Fortran is old, yet scientific programmers still maintain and develop it.

That persistence is not a verdict on every newer language. It reflects the practical weight of working scientific software: numerical code tested against real problems, libraries built around it, and a language whose standards have continued to change. This is less a story of Fortran winning than of it remaining useful in particular settings.

From Formula Translation to a Working Language

IBM developed Fortran in the 1950s under John Backus, with the aim of making numerical programming more accessible while still producing efficient compiled code. IBM announced its first Fortran compiler in 1957 for the IBM 704. The Computer History Museum’s account of Fortran describes the project, its development, and the challenge of translating a higher-level notation into efficient machine instructions.

The name contracts “Formula Translation.” The historical importance of the compiler is not that Fortran single-handedly created modern programming; it is that IBM demonstrated a practical path from a higher-level notation to compiled code for numerical work. In its historical context, this was a significant engineering achievement: programmers could express calculations in a more readable form while relying on a compiler to produce code suited to the hardware of the time. The Computer History Museum account supports this milestone, not a claim that one language or compiler alone transformed computing.

Why Scientific Code Stays in Service

A mature scientific program is more than a collection of lines to translate into another language. It may include numerical methods refined over time, tests against known results, and assumptions tied to a model or instrument. Replacing it can mean checking not only that the new program runs, but also that it produces results researchers can trust. These are considerations in assessing a particular system, not claims that every legacy program has the same history or risks.

That helps explain why an organization might continue to maintain Fortran code, particularly in scientific and engineering settings. The calculation is case-specific: maintenance costs, available expertise, performance requirements, and the work needed to validate a rewrite all matter. Longevity is not proof that every old program should be preserved; it is a reason to treat replacement as an engineering project rather than a cosmetic cleanup.

There may also be practical costs in a rewrite. A program can depend on file formats, scripts, numerical libraries, or workflows that have accumulated around it. Its behavior may be understood by a small group of specialists, and a replacement may require those specialists to verify results across a range of inputs. These are possibilities to investigate in the system being considered, not universal properties of scientific software. None makes a rewrite wrong; the decision should compare the costs and risks of maintaining the existing system with those of changing it.

What the Language Rules Can—and Can’t—Do for Speed

Fortran’s argument-association rules restrict certain ways a program may define or reference an argument and another associated object during a procedure call. Those restrictions can give a compiler useful information when it analyzes a procedure, but they do not eliminate every possible aliasing situation or guarantee faster code. The rules are specified in the Fortran 2018 standard; the standard, rather than a general compiler-performance claim, is the authority for the language requirements.

This distinction matters because discussions of optimization sometimes turn a conditional advantage into a blanket claim. A compiler can make use of assumptions permitted by the language, but the benefit depends on the program, compiler, target processor, and options used. If a program violates the applicable rules, the compiler is not necessarily required to preserve the results its author expected. For compiler-specific behavior, consult the documentation for the compiler and version in use; GNU Fortran’s documentation describes that implementation and its options. Neither the language rules nor the existence of an optimization option establishes that every application will run faster.

A language rule creates an opportunity for analysis, not a performance promise. For a real application, profiling and measurement are more useful than a language-level guarantee. Comparisons should use representative inputs and account for whether the measured work is computation, memory movement, input and output, or calls into libraries. Small illustrative examples can help explain a compiler behavior, but they cannot establish the performance of a complete scientific workload.

BLAS and LAPACK: Shared Numerical Infrastructure

BLAS defines interfaces for basic linear algebra operations, such as vector and matrix calculations. LAPACK provides routines for tasks including solving linear systems, least-squares calculations, and eigenvalue computations. The Netlib BLAS documentation and LAPACK documentation describe these libraries and their routines. Their interfaces let numerical software build on established operations rather than reimplementing every foundational calculation.

The Netlib reference implementations are largely written in Fortran; other implementations may be optimized for particular processors and may use different implementation languages. Programs written in other languages can call these libraries through interfaces or bindings. The existence of a Fortran implementation therefore does not require an application using a library to be written in Fortran itself. It does show how code in one language can remain part of infrastructure used by software written in others.

NumPy documents the linear algebra operations exposed by its numpy.linalg interface. Some operations can use BLAS and LAPACK libraries, depending on how NumPy was built and which libraries are available; NumPy describes this relationship in its linear algebra documentation. This is one route by which Fortran-based library code can support work written in Python. It does not mean every NumPy operation runs Fortran code: the operation, linked libraries, and build determine the code path. To identify the library used by a particular installation, inspect that installation rather than infer it from the language of a reference implementation.

A Language That Kept Changing

Fortran has been revised through successive standards, including Fortran 90, 95, 2003, 2008, and 2018. The ISO catalogue entry for Fortran 2018 identifies that edition of the standard. The Fortran standards committee’s document index provides committee materials by year, helping distinguish formal standardization work from informal summaries of the language.

Modern Fortran includes free-form source layout, dynamic allocation, derived types, modules, object-oriented features such as type extension and polymorphism, and coarrays for parallel programming. These capabilities are specified across the language’s standards; the Fortran 2018 standard is the primary reference for that edition. Their presence does not mean all existing Fortran code uses the same style or features. A maintained program may combine older conventions with newer constructs, or remain in an earlier style because changing it offers little practical benefit.

Standards describe what a conforming language implementation is expected to support; actual compiler support can vary by compiler and version. Likewise, the presence of a feature in a standard does not show that a particular project uses it. Developers considering modernization need to account for compiler availability, dependencies, team experience, and interoperability with existing code. Standards history is relevant context, but it does not substitute for checking the tools and requirements of a particular project.

The Point of the Joke

The uncertainly sourced Hoare line is memorable because it turns longevity into a punchline. The history underneath it is less tidy: Fortran has persisted where maintained scientific programs, evolving standards, and mature numerical libraries make continuity useful. Its role in BLAS- and LAPACK-related workflows also illustrates how language ecosystems can outlast individual applications and connect software written in different languages.

None of that makes Fortran the right choice for every new project, nor does it mean that every legacy program should remain untouched. The reasonable question is narrower: what language, tools, libraries, and validation process best serve the work at hand? Fortran remains one option among several for scientific and engineering computing—not a universal answer, and not merely a relic.

Abstract scientific-computing concept in blue, with geometric forms and no textAbstract scientific-computing concept in blue, with geometric forms and no text