Language binding

From Wikipedia, the free encyclopedia

In computing, a binding from a language to a library or OS service is an API providing that service in the language.

Many software libraries are written in systems programming languages such as C or C++. To use the services these libraries provide from another (usually higher-level) language such as Java, a Java binding to the library must be created.

Software reuse is a major motivation for creating library bindings, rather than reimplementing the library in several languages. Another is the impossibility to implement certain algorithms (efficiently) in high-level languages.