4 ms·
They mentioned one of the pros of C that nobody seems to talk about. The stable ABI that allows language interoperability via FFI. Until another language gets t
by phkahler 7y ago
They mentioned one of the pros of C that nobody seems to talk about. The stable ABI that allows language interoperability via FFI. Until another language gets this right, C is going to be ever present at the bottom of every stack.
- kryptiskt 7y agoThe C ABI doesn't require the presence of C in the stack, it can just be there in spirit like the ghost of Pascal in the Windows ABI.
- jacobush 7y agoYes, but in practice it's often easier to just fire up the C compiler and do some shim files and linking in the bottom.
- bluejekyll 7y agoEasier than what? Their are a lot of languages that make exporting/importing C ABI dead simple. Rust, C++ and C# are some I’m familiar with, I’ve also been pleasantly surprised at Node.js (for imports) in this regard.
- thu2111 7y agoAt least, the JVM and .NET have provided stable cross-language ABIs that are much more sophisticated than C for a long time now. You can even build operating systems with them. The Fuschia guys chose not to, but it's not like it's technically impossible or anything like that.
- GoblinSlayer 7y ago>Until another language gets this right Yes? In the next point they mention that pretty much all languages support the C ABI.