Hacker News new | ask | show | jobs
by zabzonk 1038 days ago
> Of course the issue for C++, unlike the other examples here, is that it does not have a runtime layer that can be used to bridge the gap

neither, per standards, does c

1 comments

Yes, but C is simple (and standard) enough that higher level runtimes have more or less universally managed to construct decent FFI mechanisms to access it.

C++ FFI would be kind of feasible if mangling were standardized (for instance) :-/

Standardizing name mangling would only be a baby step towards C++ ABI compatibility, sadly.