Content deleted Content added
Guy Harris (talk | contribs) Even computer-generated code can use ABIs when compiled; no need for a programmer to generate it. A library can make calls to another library, and thus use its ABI. |
→top: Re-worded and streamlined. |
||
Line 2:
[[File:Linux API and Linux ABI.svg|thumb|300px|[[Linux kernel]] and [[GNU C Library]] define the [[Linux kernel interfaces#Kernel–user space API|Linux API]]. After compilation, the binaries offer an ABI; keeping this ABI stable over a long time is important for [[Independent software vendor|ISVs]].]]
In [[computer software]], an '''application binary interface''' ('''ABI''') is
An ''ABI'' defines how data structures or computational routines are accessed in [[machine code]], which is a low-level, hardware-dependent format; in contrast, an [[Application programming interface|''API'']] defines this access in [[source code]], which is a relatively high-level, relatively hardware-independent, often [[human-readable]] format. A common aspect of an ABI is the the [[calling convention]], which determines how data is provided as input to or read as output from computational routines; examples are the [[x86 calling conventions]].
Adhering to ABIs (which may or may not be officially standardized) is usually the job of the [[compiler]], OS or library writer, but application programmers may have to deal with ABIs directly when writing programs in a mix of programming languages, using [[foreign function call]] interfaces between them.▼
▲Adhering to
== Description ==
|