Re:Best aspects of C
by pornel on Tuesday November 17, 2020 @11:34AM
(#25125710)
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.
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.