D vs C++ - Where are the benchmarks?

Mehrdad wfunction at hotmail.com
Thu Jul 4 14:20:47 PDT 2013


On Thursday, 4 July 2013 at 21:11:57 UTC, Jonathan M Davis wrote:
> Well, of course portable C++ code won't assume that you have a 
> GC.


But portable D code will, so it really _is_ an advantage of the 
language, not just the compiler...


> My point was that it's perfectly possible to write C++ code 
> which uses a GC, not that it was normal or easy.

No, the point is that it would only with a particular C++ 
compiler.
It's not "C++" code if a C++ compiler can't run it correctly.
That would make it "a vendor-specific language similar to C++" 
code.


More information about the Digitalmars-d mailing list