5
votes
Is there an interface definition language for software libraries?
Yes, there are such things for libraries that aren't (necessarily) accessed via a network. Microsoft's COM would be one obvious example. IBM's nigh obsolete OS/2 did much the same (using an ...
3
votes
Is there an interface definition language for software libraries?
To build on @amon's comment, wrapping C++ code with a C header file is what you want to do, and it is widely used and has many benefits.
Why should you reduce C++ libraries external interface to a C ...
3
votes
Is ABI governed by hardware or is it only an agreement between software
ABIs are a convention. There can be multiple conventions in use on a single platform - a classic example is early Windows using "Pascal" calling convention despite many of the parts being ...
3
votes
Is ABI governed by hardware or is it only an agreement between software
It can be both. An ABI is a convention, and there might exist several such conventions for a given hardware architecture (see https://en.m.wikipedia.org/wiki/X86_calling_conventions) but in general ...
2
votes
Is ABI governed by hardware or is it only an agreement between software
A Little of This and a Little of That
For example how do you arrange the arguments for a function on a stack?
C-Style? The first argument is pushed last onto the stack
Pascal Style? The first ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
abi × 7libraries × 3
c++ × 2
x86 × 2
architecture × 1
c × 1
api × 1
compiler × 1
windows × 1
operating-systems × 1
assembly × 1
serialization × 1
backward-compatibility × 1
kernel × 1
64-bit × 1
calling-conventions × 1