On Thu, 20 Oct 2011 00:26:58 +0300, Nick Sabalausky <a@a.a> wrote:

"so" <s...@so.so> wrote in message
news:op.v3ivsvb8mpw3zg@localhost.localdomain...
On Tue, 18 Oct 2011 03:32:17 +0300, Jonathan M Davis <jmdavisp...@gmx.com>
wrote:

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.

The only reason C++ is able to do that is because C++ (realistically, even
if not *technically*) is a proper superset of C. D isn't.

Right, but more importantly it is ABI compatible which is what D also has, this opens some doors. For most C libraries if you exclude macros, you just fill structs, and call functions.

Reply via email to