encyclopegia.org

Language binding

In programming and software design, a binding is an application programming interface (API) that provides glue code specifically made to allow a programming language to use a foreign library or operating system service (one that is not native to that language).

In programming and software design, a binding is an application programming interface (API) that provides glue code specifically made to allow a programming language to use a foreign library or operating system service (one that is not native to that language). ==Characteristics== Binding generally refers to a mapping of one thing to another. In the context of software libraries, bindings are wrapper libraries that bridge two programming languages, so that a library written for one language can be used in another language. Many software libraries are written in system programming languages such as C or C++. To use such libraries from another language, usually of higher-level, such as Java, Common Lisp, Scheme, Python, or Lua, a binding to the library must be created in that language, possibly requiring recompiling the language's code, depending on the amount of modification needed. However, most languages offer a foreign function interface, such as Python's and OCaml's ctypes, and Embeddable Common Lisp's cffi and uffi. For example, Python bindings are used when an extant C library, written for some purpose, is to be used from Python. Another example is libsvn which is written in C to provide an API to access the Subversion software repository. To access Subversion from within Java code, libsvnjavahl can be used, which depends on libsvn being installed and acts as a bridge between the language Java and libsvn, thus providing an API that invokes functions from libsvn to do the work. Major motives to create library bindings include software reuse, to reduce reimplementing a library in several languages, and the difficulty of implementing some algorithms efficiently in some high-level languages. ==Object models== Common Object Request Broker Architecture (CORBA) – cross-platform-language model Component Object Model (COM) – Microsoft Windows only cross-language model Distributed Component Object Model (DCOM) – extension enabling COM to work over networks Cross Platform Component Object Model (XPCOM) – Mozilla applications cross-platform model Common Language Infrastructure – .NET Framework cross-platform-language model Freedesktop.org D-Bus – open cross-platform-language model ==Porting== Portable object – cross-platform-language object model definition ==See also== Application programming interface (API) Application binary interface (ABI) Calling convention Embedded SQL Name mangling Simplified Wrapper and Interface Generator (SWIG) – interface binding generator from many languages to many languages, open-source Wrapper function ==References== ==External links== JTC1/SC22/WG11 - Binding Techniques, an ISO standard for language bindings What is a language binding?

References

No reference rows published for this article.

Cite this article

MLA

"Language binding." encyclopegia.org, 2026, https://encyclopegia.org/wiki/language-binding. Accessed 24 November 2026.

Chicago

"Language binding." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/language-binding.

APA

encyclopegia.org. (2026). Language binding. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/language-binding

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Tarzan's New York Adventure

enwiki · references available

Paul Burlison

enwiki · references available

Coat of arms of Panama

enwiki · references available

Nun (biblical figure)

enwiki · references available

Refugee (disambiguation)

enwiki · references available

Walrus HULA

enwiki · references available

Stoke, New Zealand

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1366920011 · 0.5 · snapshot enwiki-001366920011

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.