Skip to main content
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 ...
Jerry Coffin's user avatar
  • 44.7k
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 ...
dlasalle's user avatar
  • 842
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 ...
pjc50's user avatar
  • 14.8k
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 ...
Hans-Martin Mosner's user avatar
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 ...
Kain0_0's user avatar
  • 16.3k

Only top scored, non community-wiki answers of a minimum length are eligible