DOE OSTI · 938498
Babel Fortran 2003 Binding for Structured Data Types
Abstract
Babel is a tool aimed at the high-performance computing community that addresses the need for mixing programming languages (Java, Python, C, C++, Fortran 90, FORTRAN 77) in order to leverage the specific benefits of those languages. Scientific codes often rely on structured data types (structs, derived data types) to encapsulate data, and Babel has been lacking in this type of support until recently. We present a new language binding that focuses on their interoperability of C/C++ with Fortran 2003. The new binding builds on the existing Fortran 90 infrastructure by using the iso-c-binding module defined in the Fortran 2003 standard as the basis for C/C++ interoperability. We present the technical approach for the new binding and discuss our initial experiences in applying the binding in FACETS (Framework Application for Core-Edge Transport Simulations) to integrate C++ with legacy Fortran codes.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Muszala, S, Epperly, T, Wang, N. 2008-05-02. Babel Fortran 2003 Binding for Structured Data Types. https://searchnasa.com/record/osti%3A938498/babel-fortran-2003-binding-for-structured-data-types
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search NASA by Indiciae: BibTeX · RIS.