Thread overview | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
January 04, 2007 D programs broken at Language Shootout | ||||
---|---|---|---|---|
| ||||
Hi all, I am no D programmer yet, but I noticed that five of the programs at The Computer Language Shootout Benchmarks (http://shootout.alioth.debian.org/) broke after updating the compiler to version 1.00 on the Gentoo machine. It seems to be a simple fix although. In the meantime D fell back to rank 5 in the default "all benchmarks"/"all languages" view. Regards Christof |
January 04, 2007 Re: D programs broken at Language Shootout | ||||
---|---|---|---|---|
| ||||
Posted in reply to Christof Boeckler | Christof Boeckler wrote: > Hi all, > > I am no D programmer yet, but I noticed that five of the programs at The Computer Language Shootout Benchmarks (http://shootout.alioth.debian.org/) broke after updating the compiler to version 1.00 on the Gentoo machine. It seems to be a simple fix although. > > In the meantime D fell back to rank 5 in the default "all benchmarks"/"all languages" view. > > Regards > Christof http://shootout.alioth.debian.org/debian/benchmark.php?test=all&lang=dlang&lang2=gcc I note that D is worse on everything then gcc except for a few cases where the differences are extream. I think D's score would be much lower without chameneos and cheap-concurrency. It would be nice if someone could work out exactly what is causing the performance drop in each of the other algorithms. There maybe somethings that Walter could tweak in the compiler. -Joel |
January 04, 2007 Re: D programs broken at Language Shootout | ||||
---|---|---|---|---|
| ||||
Posted in reply to janderson | I noticed the performance drop too. At closer inspection, it appears the benchmark is taking into account those 5 programs even though they didn't run (compilation errors due to the 'arrays not implicitly converted to pointers' change). If you "zero" out those 5 benchmarks, D jumps up to #2. I submitted revised versions of each of the broken programs. |
January 04, 2007 Re: D programs broken at Language Shootout | ||||
---|---|---|---|---|
| ||||
Posted in reply to Christof Boeckler | It is also interesting how the regex-dna benchmark has changed. Comparing D Digital Mars to C gcc: http://shootout.alioth.debian.org/debian/benchmark.php?test=all&lang=dlang&lang2=gcc regex-dna 495, -3.3, 1.1 http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=dlang&lang2=gcc regex-dna -1.2, -10.6, 2.2 It appears the implementation has changed, and perhaps is not even the same algorithm anymore. Bradley Christof Boeckler wrote: > Hi all, > > I am no D programmer yet, but I noticed that five of the programs at The Computer Language Shootout Benchmarks (http://shootout.alioth.debian.org/) broke after updating the compiler to version 1.00 on the Gentoo machine. It seems to be a simple fix although. > > In the meantime D fell back to rank 5 in the default "all benchmarks"/"all languages" view. > > Regards > Christof |
January 04, 2007 Re: D programs broken at Language Shootout | ||||
---|---|---|---|---|
| ||||
Posted in reply to kmk | kmk wrote:
> I noticed the performance drop too. At closer inspection, it appears
> the benchmark is taking into account those 5 programs even though they didn't run
> (compilation errors due to the 'arrays not implicitly converted to pointers'
> change). If you "zero" out those 5 benchmarks, D jumps up to #2.
>
> I submitted revised versions of each of the broken programs.
I did that last night and it looks to be fixed already.
|
January 04, 2007 Re: D programs broken at Language Shootout | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dave | "I did that last night and it looks to be fixed already." Yes, D is back to #3 I tried to get them to add GDC but they said it was too much work. |
January 05, 2007 Re: D programs broken at Language Shootout | ||||
---|---|---|---|---|
| ||||
Posted in reply to janderson | janderson wrote:
<snip>
> I note that D is worse on everything then gcc except for a few cases where the differences are extream.
<snip>
How do you determine whether a language is better or worse than a compiler?
Stewart.
|
January 05, 2007 Re: D programs broken at Language Shootout | ||||
---|---|---|---|---|
| ||||
Posted in reply to Christof Boeckler | http://shootout.alioth.debian.org/gp4/miscfile.php?file=benchmarking&title=Flawed%20Benchmarks "Do your programs avoid library re-use, like these benchmarks?" What does it mean by "library re-use" exactly? Stewart. |
January 05, 2007 Re: D programs broken at Language Shootout | ||||
---|---|---|---|---|
| ||||
Posted in reply to janderson | janderson wrote:
> I note that D is worse on everything then gcc except for a few cases where the differences are extream.
For what it's worth, not that much worse than gcc C, and actually scores better than gcc C++. GDC is probably on par with C? That is, better than C++ with the same backend optimizer. Or are the D programs just optimized better?
|
January 05, 2007 Re: D programs broken at Language Shootout | ||||
---|---|---|---|---|
| ||||
Posted in reply to kmk | kmk schrieb: > "I did that last night and it looks to be fixed already." > > Yes, D is back to #3 Strange though that on the AMD Sempron machine (see http://shootout.alioth.debian.org/debian/) DMC is even #1 with quite a gap between C and C++. > I tried to get them to add GDC but they said it was too much work. |
Copyright © 1999-2021 by the D Language Foundation