T, Arguing things on this list serves no purpose other than to rehearse arguments. The place to say things about stuff on Quora is on Quora as Walter, Laeeth, and I have done in this case.
On Tue, 2018-01-30 at 13:02 -0800, H. S. Teoh via Digitalmars-d wrote: > On Tue, Jan 30, 2018 at 03:45:44PM -0500, Andrei Alexandrescu via > Digitalmars-d wrote: > > https://www.quora.com/Why-hasnt-D-started-to-replace-C++ > > [...] > > I actually agree with all of his points, except one: C++'s "enormous > performance advantage"?! Is he being serious? Or is his view biased > by > dmd's, erm, shall we say, "suboptimal" optimizer? > > Just yesterday I was experimenting with ldc while reviewing a Phobos > PR, > and it showed that LDC was well able to reduce iteration over a range > down to a native asm loop of the same order of efficiency as an > equivalent C++ loop. So, the cost of D (arguably better) > abstractions > simply *isn't there*. Both languages compile to the *same* native > code. > Where's C++'s "enormous performance advantage?" I'm not seeing it, > except in this article, and, presumably, in the author's imagination. > > And of course, in the comments section there's the obligatory > reference > to the Tango/Phobos split in D1. Eye-roll. That one never gets old, > it > seems, even though it's already ancient history that the modern D > community has mostly forgotten about. The internet is good for > disseminating information, and also great for prolonging ignorance. > > Enough of this nonsense. Let me get back to coding... in D. :-D > > > T > -- Russel. =========================================== Dr Russel Winder t: +44 20 7585 2200 41 Buckmaster Road m: +44 7770 465 077 London SW11 1EN, UK w: www.russel.org.uk
signature.asc
Description: This is a digitally signed message part
