News for hackers. Stuff that matters.
Re:Adding ANSI C11 C compiler to D so it can import and comp... by mhh__ on Monday May 10, 2021 @12:54PM (#27108094)
extern(C++) is what allows the LLVM D compiler to work for example.

Binding C++ libraries is quite risky in the sense that the libraries usually aren't meant to be consumed via that API. For that reason it's mainly used (publicly at least, there are things I know that I cannot say) for exposing D to C++ in a sane way (Mangling, vtables, templates, all work, exceptions even!).

There are no comments on this comment yet.