D vs C++ - Where are the benchmarks?

Joakim joakim at airpost.net
Sun Jun 30 13:05:15 PDT 2013


On Sunday, 30 June 2013 at 19:48:45 UTC, Gabi wrote:
> Hi D community,
>
> I am new to D and got impressed with the language so much that 
> I was thinking on introducing D it my workplace as an 
> alternative to C++ which is heavily used on our projects.
>
> The first question that came up was how it stands up with C++ 
> performance wise ?
It's comparable.

> I didn't find D on the shootout site (why?) and didn't find 
> almost any benchmarks comparisons.
It used to be in there and used to dominate the shootout.  D and 
Free Pascal used to be neck and neck for the top spot, if you 
weighted speed, memory, and code size the same.  But the guy who 
runs those benchmarks apparently didn't want to spend time on the 
D examples anymore, from what I can tell from this cryptic 
comment:

http://www.digitalmars.com/d/archives/digitalmars/D/The_Computer_Languages_Shootout_Game_120840.html

That site and D's dominance was one of the reasons I came to D 
early on.  It would be nice if he would take D back, but I 
haven't looked at that site in many years, so I'm not sure if it 
even matters anymore.

> Are there any good comparisons out there ?
Not that I know of, but then I'm not looking to justify the use 
of D anymore. ;)


More information about the Digitalmars-d mailing list