What is Fortran 95 written in?

The Fortran 95 compiler is written in C.

Fortran 95 is a general-purpose programming language, first released in 1997.

Implementation

LayerWritten inNotes
CompilerC (since 1997)GNU Fortran (gfortran) compiler written in C as part of GCC

Compiler implementation

The Fortran 95 compiler, written in C, translates Fortran 95 source code into an executable or intermediate format. The choice of implementation language affects the compiler's portability, build-time dependencies, and the path toward Fortran 95 eventually becoming self-hosting.

Many language compilers are written in C or C++ for maximum portability and performance. When a compiler is written in a higher-level language, it can leverage that language's abstractions for clearer compiler code, at the cost of a longer bootstrap dependency chain.

Explore in the Graph

See Fortran 95's full lineage, including all implementation and influence relationships, in the interactive graph.

Open Interactive Graph →

Or view the Fortran 95 language page for the complete record.

Related Pages