The Wayback Machine - https://web.archive.org/web/20120404022541/https://en.wikipedia.org/wiki/Language_binding

Language binding

From Wikipedia, the free encyclopedia
Jump to: navigation, search

In computing, a binding from a programming 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 these libraries from another (usually higher-level) language such as Java, Common Lisp, Python or Lua, a binding to the library must be created in that language possibly requiring the recompilation of the language's code depending on the amount of modification necessary; however most languages offer some sort of foreign functions interface like Python's ctypes and ecl's cffi, and uffi.

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

[edit] See also

[edit] External links

[1] ISO standard for language bindings

Personal tools
Namespaces

Variants
Actions
Navigation
Interaction
Toolbox
Print/export
Languages
Morty Proxy This is a proxified and sanitized view of the page, visit original site.