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:

    There’s a cool web of language winds us in,
    Retreat from too much joy or too much fear:
    We grow sea-green at last and coldly die
    In brininess and volubility.
    Robert Graves (1895–1985)