The CAPI Manifesto

so so at so.so
Mon Oct 17 18:01:33 PDT 2011


On Tue, 18 Oct 2011 03:32:17 +0300, Jonathan M Davis <jmdavisProg at gmx.com>  
wrote:


> The problem is that for C code to be usable in D code, the C  
> declarations must
> be redone in D, since D can't just include header files.

I don't understand why.

> Translating C header
> files to D is a pain and time consuming, and it would benefit us all to  
> have a
> place to go to find common C headers translated to D so that such work  
> doesn't
> have to be duplicated.

With the second compiler, there won't be any need for us to do anything,  
like C++ we could use C libraries seamlessly.


More information about the Digitalmars-d mailing list