D programs broken at Language Shootout

Don Clugston dac at nospam.com.au
Tue Jan 9 03:56:32 PST 2007


Dave wrote:
> 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 :)

Ironic. But IMHO, the P4's a horrible chip, and was never going to be 
the basis for future CPUs. Driven by marketing (highest clock speed at 
all costs, even though it makes it slower). Did awful things to the x87 
performance, too.

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



More information about the Digitalmars-d mailing list