Mixed language projects (D and C++)

Max Haughton maxhaton at gmail.com
Fri Feb 19 10:01:36 UTC 2021


On Friday, 19 February 2021 at 09:44:15 UTC, Preetpal wrote:
> I want to reuse existing C++ code in a new project that I am 
> writing in D and I want to use D in an existing C++ code base 
> (it is not large). I do not anticipate interop being an issue.
>
> [...]

C++ interop is used every day. The LLVM D compiler, ldc, uses it 
to talk to LLVM efficiently.

There are good resources on it on this very website


More information about the Digitalmars-d-learn mailing list