4 ms·
he didn't conflate C and C++, he included C++ because, as you suggest, C++ can speak C, including C ABI.
by fsckboy 4y ago
he didn't conflate C and C++, he included C++ because, as you suggest, C++ can speak C, including C ABI.
- wheels 4y agoVirtually every language has a mode to make calls into the C ABI. That's exactly the point of the article. To switch in to C ABI mode in C++ you have to wrap the declarations in 'extern "C" { ... }' blocks, otherwise you get the C++ ABI, not the C ABI. It's done similarly in many other languages.