2-4 July 2020
University of Zurich
Europe/Zurich timezone

Experimental Fortran Programming

3 Jul 2020, 16:20
25m
ZOOM (University of Zurich)

ZOOM

University of Zurich

Selected Presentations Session E

Speaker

Dr Arjen Markus (Deltares)

Description

While Fortran is usually used for serious work, number crunching for instance, it does not mean that that is the only way to use it. Far from it, the features offered by modern Fortran allow all manner of experimentation with other programming paradigms. Emulating, say, prototype-based object-oriented programming may not lead to an efficient implementation, but it offers the benefits of demonstrating what the possibilities are of such a paradigm. In this talk I would like to present three cases of extending the language beyond the obvious:

  • Using user-defined operators to stay close to the mathematical notation of differential equations
  • An alternative way of looking at object-oriented programming
  • Introducing "lambda expressions"or anonymous functions

As stated, the implementation probably will not lead to very efficient programs, but thinking beyond the traditional will bring new possibilities to light.

Primary author

Dr Arjen Markus (Deltares)

Presentation Materials