API - Language Bindings and Interface Generators

Language Bindings and Interface Generators

APIs that are intended to be used by more than one high-level programming language often provide, or are augmented with, facilities to automatically map the API to features (syntactic or semantic) that are more natural in those languages. This is known as language binding, and is itself an API. The aim is to encapsulate most of the required functionality of the API, leaving a "thin" layer appropriate to each language.

Below are listed some interface generator tools which bind languages to APIs at compile time.

  • SWIG open-source interfaces bindings generator from many languages to many languages (Typically Compiled->Scripted)
  • F2PY: Fortran to Python interface generator.

Read more about this topic:  API

Famous quotes containing the word language:

    Our language has wisely sensed these two sides of man’s being alone. It has created the word “loneliness” to express the pain of being alone. And it has created the word “solitude” to express the glory of being alone. Although, in daily life, we do not always distinguish these words, we should do so consistently and thus deepen our understanding of our human predicament.
    Paul Tillich (1886–1965)