Quora: Why hasn't D started to replace C++?

H. S. Teoh hsteoh at quickfur.ath.cx
Tue Jan 30 21:49:39 UTC 2018


On Tue, Jan 30, 2018 at 09:49:46PM +0000, Ola Fosheim Grøstad via Digitalmars-d wrote:
> On Tuesday, 30 January 2018 at 21:43:45 UTC, Daniel Kozak wrote:
> > Thats not completly true, last time I tried some of best c++ version
> > from http://benchmarksgame.alioth.debian.org/. I was able to write
> > much idiomatic D code which was faster than c++ witch use some
> > specific libraries and so on. So my experience is that D is same or
> > faster than C++
> 
> I'm not thinking about those. I'm thinking about supported tooling
> that makes you more productive when writing code with high throughput.

That's not what the article says. The article says, and I quote:

	C++’s enormous performance advantage (extremely efficient native
	code)

Meaning, the "enormous performance advantage" is because of "extremely
eefficient native code".  I don't argue that C++ has extremely efficient
native code. But so has D. So the claim that C++ has an "enormous
performance advantage" over D is specious.


T

-- 
Nearly all men can stand adversity, but if you want to test a man's character, give him power. -- Abraham Lincoln


More information about the Digitalmars-d mailing list