Dan Gohman on Nostr: The reason C is seen as the universal language for FFI in some circles has more to do ...
The reason C is seen as the universal language for FFI in some circles has more to do with Unix being popular than with C being particularly well suited for interoperability.
We know this, because in ecosystems that don't start with the Unix process as the definition of a program, C isn't what gets chosen. Within the JVM or CLR, for example, source languages don't usually interop via C ABIs. Those platforms have their own blessed languages, and they don't work like C does.
We know this, because in ecosystems that don't start with the Unix process as the definition of a program, C isn't what gets chosen. Within the JVM or CLR, for example, source languages don't usually interop via C ABIs. Those platforms have their own blessed languages, and they don't work like C does.