← Back to context

Comment by imtringued

5 days ago

This is honestly what pisses me off about the whole ABI thing. The ABI is defined by the OS, not the compiler. The compiler just implements the ABI, but somehow everyone lets their OS be defined by what a particular C/C++ implementation does. This then leads to FFI realistically only being possible by using a C/C++ compiler for interfacing, which defeats the point of an OS wide ABI.

I would consider the compiler to be part of the OS. You can't use an OS, if there is no way to create programs for it.