Free Programming Books

8 Excellent Free Books to Learn Fortran

Fortran (Formula translation) is a multi-paradigm programming language invented by John Backus of IBM in the 1950s. It is particularly notable for innovation; it was the first high-level language, using the first compiler.

The language is designed to be simple to understand, yet retains the efficiency in execution as assembly language – about 80% as efficient as assembly/machine code. Fortran is machine independent, and a problem oriented language. It is often used in the scientific community, particularly among physicists, and is designed for scientific numerical computing. Fortran allows for high parallelization, it’s easy to optimize, and lends itself particularly well to computationally intensive fields such as finite element analysis, numerical weather prediction, computational physics, computational chemistry, and computational fluid dynamics.

Fortran has evolved over time, with various standards including Fortran IV, Fortran 77, Fortran 90 and Fortran 95. More recent revisions are Fortran 2003, and Fortran 2008. Since Fortran 9x, it has many structured programming features, dynamic memory, operator overloading, and primitive objects. It is both the language of the past, the current, and the future (high-performance computing is unlikely to cast aside Fortran). Despite its age, Fortran is still very much alive and kicking. Fortran has a vast number of libraries of code.

Here’s our recommended books to master Fortran.

1. Interactive Fortran 77: A Hands on Approach by Ian D Chivers, Jane Sleightholme

Interactive Fortran 77: A Hands on ApproachInteractive Fortran 77: A Hands on Approach introduces the reader to the concepts and ideas involved in problem solving with Fortran 77.

The authors stress the first stages of good programming practice, the accurate specification of problems, and well-organized program plans. Once these principles are defined, the main features of Fortran 77 are introduced. The emphasis throughout is placed on the need for a rigorous approach to algorithmic problem-solving, and the practical benefits to be gained from the adoption of a structured modular methodology.

Read the book

2. Introduction to Programming using Fortran 95/2003/2008 by Ed Jorgensen

Introduction to Programming using Fortran 95/2003/2008Introduction to Programming using Fortran 95/2003/2008 provides an introduction to programming and problem solving using the Fortran 95/2003/2008 programming language.

This introduction is geared for non computer science majors. As such, this text is not a complete, comprehensive guide to the Fortran 95/2003/2008 programming language.

The primary focus is on an introduction to problem solving and algorithm development. As such, many details of the Fortran 95/2203/2008 language are omitted.

Read the book

3. Professional Programmer’s Guide to Fortran77 by Clive G. Page

Professional Programmer's Guide to Fortran77Professional Programmers Guide To Fortran 77 provides a comprehensive description of the features and implementation of Fortran 77.

Ideal as a text from which to learn a second language, or as a reference guide to a first or main language.

Chapters include:

  • Basic Fortran Concepts – presents some of the basic ideas of Fortran by showing some complete example. Statements, Expressions and Assignments, Integer and Real Data Types, DO Loops, Formatted Output, Functions, IF-blocks, and Arrays are explained.
  • Fortran in Practice – describes the steps required to turn a Fortran program from a piece of text into executable form. It covers creating source code, compiling, and linking.
  • Program Structure and Layout – explains the rules for program construction and text layout.
  • Constants, Variables, and Arrays – deals with the data-storage elements of Fortran: constants, variables, and arrays.
  • Arithmetic.
  • Character Handling and Logic – describes the facilities for handling non-numerical data in Fortran.
  • Control Statements – includes IF-Blocks, DO-Loops, Logical-IF Statement, and more.
  • Procedures – Intrinsic functions, Statement functions, External functions, and Subroutines.
  • Input/Output Facilities.
  • DATA Statement – used to specify initial values for variables and array elements.
  • Common Blocks – a list of variables and arrays stored in a named area which may be accessed directly in more than one program unit.
  • Obsolete and Deprecated Features.
  • Common Extensions to the Fortran Standard.

One of the attractions of using Fortran 77 is that Linux has an excellent open source compiler in the form of the GNU Fortran compiler, which is part of the GNU Compiler Collection (GCC).

Professional Programmers Guide To Fortran 77 is published under the GNU Free Documentation License Version 1.1.

Read the book

Next page: Page 2 – Combinatorial Algorithms and more books

Pages in this article:
Page 1 – Interactive Fortran 77: A Hands on Approach and more books
Page 2 – Combinatorial Algorithms and more books
Page 3 – User Notes on Fortran Programming and more books

All books in this series:

Free Programming Books
JavaGeneral-purpose, concurrent, class-based, object-oriented, high-level language
CGeneral-purpose, procedural, portable, high-level language
PythonGeneral-purpose, structured, powerful language
C++General-purpose, portable, free-form, multi-paradigm language
C#Combines the power and flexibility of C++ with the simplicity of Visual Basic
JavaScriptInterpreted, prototype-based, scripting language
PHPPHP has been at the helm of the web for many years
HTMLHyperText Markup Language
SQLAccess and manipulate data held in a relational database management system
RubyGeneral purpose, scripting, structured, flexible, fully object-oriented language
AssemblyAs close to writing machine code without writing in pure hexadecimal
SwiftPowerful and intuitive general-purpose programming language
GroovyPowerful, optionally typed and dynamic language
GoCompiled, statically typed programming language
PascalImperative and procedural language designed in the late 1960s
PerlHigh-level, general-purpose, interpreted, scripting, dynamic language
RDe facto standard among statisticians and data analysts
COBOLCommon Business-Oriented Language
ScalaModern, object-functional, multi-paradigm, Java-based language
FortranThe first high-level language, using the first compiler
ScratchVisual programming language designed for 8-16 year-old children
LuaDesigned as an embeddable scripting language
LogoDialect of Lisp that features interactivity, modularity, extensibility
RustIdeal for systems, embedded, and other performance critical code
LispUnique features - excellent to study programming constructs
AdaALGOL-like programming language, extended from Pascal and other languages
HaskellStandardized, general-purpose, polymorphically, statically typed language
SchemeA general-purpose, functional language descended from Lisp and Algol
PrologA general purpose, declarative, logic programming language
ForthImperative stack-based programming language
ClojureDialect of the Lisp programming language
JuliaHigh-level, high-performance language for technical computing
AwkVersatile language designed for pattern scanning and processing language
CoffeeScriptTranscompiles into JavaScript inspired by Ruby, Python and Haskell
BASICBeginner’s All-purpose Symbolic Instruction Code
ErlangGeneral-purpose, concurrent, declarative, functional language
VimLPowerful scripting language of the Vim editor
OCamlThe main implementation of the Caml language
ECMAScriptBest known as the language embedded in web browsers
BashShell and command language; popular both as a shell and a scripting language
LaTeXProfessional document preparation system and document markup language
TeXMarkup and programming language - create professional quality typeset text
ArduinoInexpensive, flexible, open source microcontroller platform
TypeScriptStrict syntactical superset of JavaScript adding optional static typing
ElixirRelatively new functional language running on the Erlang virtual machine
F#Uses functional, imperative, and object-oriented programming methods
TclDynamic language based on concepts of Lisp, C, and Unix shells
FactorDynamic stack-based programming language
EiffelObject-oriented language designed by Bertrand Meyer
AgdaDependently typed functional language based on intuitionistic Type Theory
IconWide variety of features for processing and presenting symbolic data
XMLRules for defining semantic tags describing structure ad meaning
ValaObject-oriented language, syntactically similar to C#
Standard MLGeneral-purpose functional language characterized as "Lisp with types"
DGeneral-purpose systems programming language with a C-like syntax
Share this article

Share your Thoughts

This site uses Akismet to reduce spam. Learn how your comment data is processed.