[dmd-internals] can D compiler support C/C++ source code?

Martin Nowak via dmd-internals dmd-internals at puremagic.com
Sat Oct 3 08:24:56 PDT 2015


On 09/21/2015 05:29 AM, donglei via dmd-internals wrote:
> While D is binary compatible with C code, it cannot compile C code nor C
> header files.
> In order to use C/C++ binary libs, I have to convert C or C++ header
> files to D module.
> It make very difficult to use C binary libs.
> Can D compiler support C/C++ source code in future?
> If can, it will become easy and convenient to use C/C++ libs in Dlang.
> Hope to achieve it as soon as possible!
> _______________________________________________
> dmd-internals mailing list
> dmd-internals at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-internals

No we won't implement a C/C++ compiler. A few people are working on
conversion tools (search the forum).
Many bindings are already available, see http://code.dlang.org.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puremagic.com/pipermail/dmd-internals/attachments/20151003/44eee8a0/attachment.sig>


More information about the dmd-internals mailing list