www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - D to C converter?

reply "Craig Black" <cblack ara.com> writes:
I had tried to start using D a while back and did some 
performance comparisons with Visual C++.  D's back end doesn't 
seem to optimize very well when I tested it. I had a huge 
performance delta. How hard would it be to make the D compiler 
emit C code that could be compiled by another C compiler?  Has 
anyone ever tried to do this?
Apr 22 2012
parent Manu <turkeyman gmail.com> writes:
Just use GDC or LDC.

On 22 April 2012 21:26, Craig Black <cblack ara.com> wrote:

 I had tried to start using D a while back and did some performance
 comparisons with Visual C++.  D's back end doesn't seem to optimize very
 well when I tested it. I had a huge performance delta. How hard would it be
 to make the D compiler emit C code that could be compiled by another C
 compiler?  Has anyone ever tried to do this?
Apr 22 2012