Interfacing to C: SQLiteAs an Example
Quite often the public interface of a library that you are interested in is written in a different programming language than the one you use. You will need an interface library that bridges the gap between both languages. This is the case with SQLite, a lightweight database management system . It is written in C and there is a host of libraries to communicate with SQLite in all manner of languages.
For Fortran, there is the fsqlite library that I developed. It was inspired by the work of Al Danial , but focused on FORTRAN 77, that was mainly an example of how you could interface to the SQLite library. I wanted a generic solution instead.
The design decisions and the implementation of fsqlite illustrate ...