Parallel Rogue-like benchmark

bearophile bearophileHUGS at lycos.com
Fri Nov 8 05:57:29 PST 2013


Your site counts 90 SLOC for the D entry, that comes from 83 
lines of code plus 7 comment lines. I think you shouldn't count 
the lines of comments, from all the entries.

If you want to count the comments too, then if you want I'll 
submit a 83 lines long D version without comments for your site, 
as in the Scala entry, for a little more fair comparison.

The Scala entry has lines of code like:

case (numLvls, threadNum) => {val rnd = new 
Xorshift32(rand.nextInt); if(!silent) println(s"Thread number 
$threadNum has seed " +  rnd.seed); numLvls -> rnd}

Bye,
bearophile


More information about the Digitalmars-d mailing list