Conveners
Session D: Interfacing
- Anna Hehn (University of Zurich)
At first glance, Fortran may not be easily associated with the emerging Internet of Things and its new networked services, data formats, and protocols. In fact, the language features of modern Fortran make it possible to inter-connect with existing third-party libraries, written in C, Lua, Python, and other languages. With the toolset given by the ISO C binding module, Fortran applications...
The gtk-fortran binding (https://github.com/vmagnin/gtk-fortran/wiki), developed since 2011, is based on the ISO_C_BINDING module, introduced in the Fortran 2003 standard, which is used to interface fortran programs with the functions of the GTK libraries (mainly written in C). gtk-fortran is multi-platform: Linux, FreeBSD, MacOS, Windows (via MSYS2), and even Raspberry Pi (ARM...
Fortran application often need to access libraries which are written
in C or C++. The interoperability with C features introduced in
Fortran 2003 standardized access to symbols and types. But to access
all of the features of C++ libraries additional wrapper code must be
written, often by the author of the C++ library who may not be
familiar with modern Fortran features.
Shroud is a tool...
In the world of quantum chemistry programs, Fortran reigns supreme. While there are packages available that are purely written in C++ and Python, it has become increasingly common to combine different languages. Common combinations include C++/Fortran or Python/C++.
Fortran 2003 introduced a standardized way to generate interoperable procedures and derived types with the C programming...