#
Fortran Wiki

Modern Fortran in Practice

*By Arjen Markus* (2012)

Cambridge University Press

Buy on Amazon

## Overview

- Presents applications of the modern features and discusses alternative implementations for Fortran
- Analyses implementations of several (numerical) algorithms to expose easily made implicit assumptions
- Demonstrates that readers can explore different styles of programming
- Shows how Fortran can be used for graphical presentation but also for Internet applications

## Description

From its earliest days, the Fortran programming language has been designed with computing efficiency in mind. The latest standard, Fortran 2008, incorporates a host of modern features, including object-orientation, array operations, user-defined types, and provisions for parallel computing. This tutorial guide shows Fortran programmers how to apply these features in twenty-first-century style: modular, concise, object-oriented, and resource-efficient, using multiple processors. It offers practical real-world examples of interfacing to C, memory management, graphics and GUIs, and parallel computing using MPI, OpenMP, and coarrays. The author also analyzes several numerical algorithms and their implementations and illustrates the use of several open source libraries. Full source code for the examples is available on the book’s website.

## Contents

- Introduction to modern Fortran
- Array-valued functions
- Mathematical abstractions
- Memory management
- An interface problem
- Interfacing to C: SQLite as an example
- Graphics, GUIs, and the internet
- Unit testing
- Code reviews
- Robust implementation of several simple algorithms
- Object-oriented programming
- Parallel programming

**Appendix A.** Tools for development and maintenance.

**Appendix B.** Caveats.

Created on March 26, 2019 18:13:54
by

Jason Blevins
(200.31.167.8)
(2033 characters / 0.0 pages)