D programs broken at Language Shootout

Dave Dave_member at pathlink.com
Fri Jan 5 16:15:15 PST 2007


Frits van Bommel wrote:
> kmk wrote:
>> == Quote from Christof Boeckler (post06 at jamesie.de)'s article
>>> 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.
>>
>> Yeah, D has always seemed to do better on AMD processors.
> 
> Maybe Walter uses AMD and uses measurements on his dev PC for 
> optimization decisions? :)

I think it's because AMD has a shorter pipeline (like the Intel PIII and new Intel Core 2) and isn't 
so sensitive to cache alignment issues, etc. The DMC backend optimizer was probably last enhanced 
when the PIII was the hot chip <g>

Funny thing is that since Walter didn't chase the P4, now his compiler optimizer might sitting 
pretty for Core 2 :)

Anyone running a Core 2 system and have a little time? Might be interesting...



More information about the Digitalmars-d mailing list