Computer Science · Computer Networks and Communications
Basic interoperability with C
Michael D. Metcalf, John L. Reid, Malcolm Cohen, Reinhold Bader
See on the mapAbstract
Abstract Fortran provides a standardized mechanism for interoperating with C. Any entity involved must be such that equivalent declarations of it may be made in the two languages. This is enforced within the Fortran program by requiring all such entities to be interoperable. We explain in turn what this requires for types, variables, and procedures. They are all requirements on the syntax so that the compiler knows at compile time whether an entity is interoperable. We examine interoperability for global data and then discuss some examples.