Flame bait: D vs. Rust vs. Go Benchmarking

dennis luehring dl.soluz at gmx.net
Tue Jul 23 23:55:40 PDT 2013


Am 24.07.2013 06:16, schrieb CJS:
> This isn't a constructive link, but this benchmark of D vs. Rust
> vs. Go just hit the reddit/programming front page.
>
> Spoiler: D came out pretty well, but for some reason ldc gave
> significantly better results than gdc. It's unclear why since the
> author didn't release any code. Unfortunately the original post
> was written before the author tried ldc, so most of the post has
> the impression that D compilers/runtime/libraries currently
> aren't that much better than Rust. Which, unfortunately, he
> blamed on the GC.
>
> original:
> http://togototo.wordpress.com/2013/07/23/benchmarking-level-generation-go-rust-haskell-and-d/
>
> reddit link:
> http://www.reddit.com/r/programming/comments/1ixnf6/benchmarking_roguelike_level_generation_go_rust/
>

what im missing in the source is the benchmark environment:
and the info how many cycles where runned

what im missing is a program like

for(...1000)
{
   benchmark(D.executable)
   benchmark(C.executable)
   benchmark(Haskell.executable)
   ...
}

average
   D.executable
   C.executable
   Haskell.executable




More information about the Digitalmars-d mailing list