wrtobin / fortran-c-interface

Working on FORTRAN-C interporability using FORTRAN modules to describe C interfaces

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FORTRAN-C Interface

Working on proof-of-concept C-API callable from FORTRAN, currently uses ISO_C_BINDING and a FORTRAN module to describe the C-API.

Still need to check out efficiency of the calls, including possibly LTO optimizations between the C compilation units and the FORTRAN compilation units. If it is possible to coerce the linker to inline functions from a source object from C that would allow zero-cost inter-language API usage (no function call overhead).

About

Working on FORTRAN-C interporability using FORTRAN modules to describe C interfaces


Languages

Language:Fortran 59.5%Language:C 29.7%Language:CMake 8.5%Language:Shell 2.3%