2 ms·
The ABI may come from C, but it's not limited to C. Many other languages have FFI and use the C ABI as the lowest common denominator. But the C ABI is awful to
by pornel 6y ago
The ABI may come from C, but it's not limited to C. Many other languages have FFI and use the C ABI as the lowest common denominator.
But the C ABI is awful to work with. The C language itself offers no help to guarantee ABI compatibility. What ABI it compiles for depends on headers, which may depend on a jungle of ifdefs and typedefs.