The Computer Language Benchmarks Game

Isaac Gouy via Digitalmars-d digitalmars-d at puremagic.com
Sun Aug 7 15:43:35 PDT 2016


On Sunday, 7 August 2016 at 21:19:54 UTC, qznc wrote:

> Comparing so many languages is too broad. We need more specific 
> benchmarks which must be looked at in more detail.

"Chapel programs versus C++ g++" just compares 2.

Where are those "more specific benchmarks" ?


> If you want to answer the big question of "how fast is D 
> compared to C", the best answer is "roughly the same if you 
> compare clang to LDC, because they use the same optimizer and 
> code generator".

So does -fllvm Haskell.

Is your "roughly the same" within 10% or is it 2x slower or is it 
3x slower?

Doesn't "getting some numbers from a bunch of benchmark programs" 
improve that answer.


More information about the Digitalmars-d mailing list