Stroustrup is disappointed with D :(

Ola Fosheim Grøstad via Digitalmars-d digitalmars-d at puremagic.com
Tue Sep 22 12:52:46 PDT 2015


On Tuesday, 22 September 2015 at 19:38:35 UTC, Ali Çehreli wrote:
> C++'s approach is better from the point of view of corretness. 
> However, it is slower because the object's vtbl pointer must be 
> stamped several times during construction. (I am not aware of 
> available compiler optimizations there.)

No dispatch needed if calls it's own functions, so no vtable 
needed for the constructor. But neither approach is good for 
correctness.

(OP: The guidelines have 30 committers or something, I somehow 
doubt Stroustrup wrote all that...)


More information about the Digitalmars-d mailing list