Inherent code performance advantages of D over C?

Rob T alanb at ucora.com
Fri Dec 6 23:52:01 PST 2013


On Saturday, 7 December 2013 at 00:40:52 UTC, Manu wrote:
> Assuming a comparison to C++, you know perfectly well that D 
> has a severe
> disadvantage. Unless people micro-manage final (I've never seen 
> anyone do
> this to date), then classes will have significantly inferior 
> performance to
> C++.
> C++ coders don't write virtual on everything. Especially not 
> trivial
> accessors which must be inlined.

Yes, but this change will resolve that problem, and I believe it 
has been approved, correct?

Issue 11616 - Introduce virtual keyword and remove 
virtual-by-default
https://d.puremagic.com/issues/show_bug.cgi?id=11616

--rt


More information about the Digitalmars-d mailing list