D as a prototyping language (for C/C++ projects)

monarch_dodra monarchdodra at gmail.com
Wed Feb 27 00:30:16 PST 2013


On Tuesday, 26 February 2013 at 23:46:52 UTC, Rob T wrote:
> Once full shared library support comes about, we'll be able to 
> integrate D libs directly into existing C/C++ code. This allows 
> for a safe migration path away from legacy C/C++ to D.
>
> --rt

Funny story, I'm doing it the other way around.

I got my program fully working in D, and am porting it to C.

The basic idea is that I'm going to port it "chunk by chunk" to 
C, while keeping my main in D. This allows me to "package" the 
finished parts in C, but still work on the rest in D. It also 
means the porting doesn't have to be done in its totality in a 
single pass.


More information about the Digitalmars-d mailing list