Port a benchmark to D?

Timon Gehr timon.gehr at gmx.ch
Fri Jun 3 13:01:45 PDT 2011


Andrei Alexandresco wrote:
> On 6/3/11 2:48 PM, Timon Gehr wrote:
>> bearophile wrote:
>>> Timon Gehr:
>>>
>>>> OK. I'll start right away.
>>>
>>> I have independently started it too :-)
>>> But this article written by Google and its benchmarking methodology are not good.
>>>
>>> Bye,
>>> bearophile
>>
>> Ok, we can compare the two implementations afterwards. BTW, have you already
>> noticed how incredibly stupid some parts of the implementation of cpp are?
>>
>> I think I will also do a d_pro version after porting cpp.
>>
>> Timon
>
> One note - some of their std::list uses can be replaced by SList, and
> others by built-in arrays.
>
> Andrei

Yes, but built-in arrays are more similar to std::vector, therefore it might
already be an optimization over the original benchmark. I'm not sure if that is okay?

Timon


More information about the Digitalmars-d mailing list