concept Compiled in category fortran

appears as: Compiled
Modern Fortran: Building efficient parallel applications

This is an excerpt from Manning's book Modern Fortran: Building efficient parallel applications.

  • Compiled--You’ll write whole programs and pass them to the compiler before executing them. This is in contrast to interpreted programming languages like Python or JavaScript, which are parsed and executed line by line. Although this makes writing programs a bit more tedious, it allows the compiler to generate efficient executable code. In typical use cases, it’s not uncommon for Fortran programs to be one or two orders of magnitude faster than equivalent Python programs.

    What is a compiler?

    A compiler is a computer program that reads source code written in one programming language and translates it to equivalent code in another programming language. In our case, a Fortran compiler will read Fortran source code and generate appropriate assembly code and machine (binary) instructions.

  • Compiled--You’ll write whole programs and pass them to the compiler before executing them. This is in contrast to interpreted programming languages like Python or JavaScript, which are parsed and executed line by line. Although this makes writing programs a bit more tedious, it allows the compiler to generate efficient executable code. In typical use cases, it’s not uncommon for Fortran programs to be one or two orders of magnitude faster than equivalent Python programs.