Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 1.43 KB

index.md

File metadata and controls

42 lines (32 loc) · 1.43 KB
layout permalink
lesson
/

Mixed Martial Arts: Interfacing Fortran, C, C++, and Python for Great Good!

Status

This lesson is currently under construction - feedback and suggestions are most welcome.

Learning goals

The programming languages Fortran, C, C++, and Python each have their strengths and weaknesses and their own fan base. This workshop is for people who would like to be able to combine these languages within one code project:

  • When writing a high-level abstraction layer or interface to a "bare metal" legacy software written for instance in Fortran or C.
  • When writing an efficient back-end to a code mainly written in a high-level language such as Python.
  • When combining modules written in different programming languages.
  • When writing a Python interface to a software in C or C++ or Fortran to leverage the wealth of libraries available in Python.

Prerequisites

To appreciate the material it helps to have some previous exposure to Python and a compiled language (such as C, C++, or Fortran).

To traverse the material you will need a C++ compiler which is C++11 compliant, a Fortran compiler, CMake, Make and a couple of Python packages. For more details please consult the installation instructions.