4 ms·
The 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.
by kryptiskt 7y ago
The 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.