Can you create a library(.lib) with ldc and port it to clang++? e.g. //test.d module test; import std.stdio; void hi() { writeln("hello"); } //test.cpp(links to test.lib which contains test.hi #include <iostream> extern "D" void hi(); void main() { hi(); } //Hopefully prints "hi"