Jump to page: 1 27  
Page
Thread overview
Port a benchmark to D?
Jun 03, 2011
Timon Gehr
Jun 03, 2011
bearophile
[OT] Re: Port a benchmark to D?
Jun 03, 2011
Nick Sabalausky
Jun 03, 2011
Timon Gehr
Jun 03, 2011
Andrej Mitrovic
Jun 03, 2011
Timon Gehr
Jun 03, 2011
Timon Gehr
Jun 03, 2011
Jonathan M Davis
Jun 03, 2011
Timon Gehr
Jun 03, 2011
Jonathan M Davis
Jun 06, 2011
Jonathan M Davis
Jun 03, 2011
Andrej Mitrovic
Jun 03, 2011
bearophile
Jun 03, 2011
Timon Gehr
Jun 04, 2011
Walter Bright
Jun 04, 2011
Jeff Nowakowski
Jun 04, 2011
Walter Bright
Jun 03, 2011
bearophile
Jun 03, 2011
Adam D. Ruppe
Jun 03, 2011
Adam D. Ruppe
Jun 04, 2011
Andrej Mitrovic
Jun 04, 2011
Andrej Mitrovic
Jun 04, 2011
Andrej Mitrovic
Jun 04, 2011
bearophile
Jun 04, 2011
Andrej Mitrovic
Jun 04, 2011
Andrej Mitrovic
Jun 04, 2011
Jonathan M Davis
Jun 04, 2011
Andrej Mitrovic
Jun 04, 2011
Andrej Mitrovic
Jun 04, 2011
Andrej Mitrovic
Jun 04, 2011
Andrej Mitrovic
Jun 04, 2011
Andrej Mitrovic
Jun 04, 2011
Andrej Mitrovic
Jun 04, 2011
Andrej Mitrovic
Jun 04, 2011
Andrej Mitrovic
Jun 04, 2011
bearophile
Jun 04, 2011
Andrej Mitrovic
Jun 04, 2011
Caligo
Jun 04, 2011
dsimcha
Jun 04, 2011
Caligo
Jun 04, 2011
Caligo
Jun 04, 2011
Mafi
Jun 04, 2011
Andrej Mitrovic
Jun 04, 2011
Andrej Mitrovic
Jun 04, 2011
Walter Bright
Jun 04, 2011
Iain Buclaw
Jun 04, 2011
dsimcha
Jun 04, 2011
Timon Gehr
Jun 04, 2011
Timon Gehr
Jun 04, 2011
Daniel Gibson
Jun 04, 2011
Timon Gehr
Jun 04, 2011
Walter Bright
Jun 04, 2011
bearophile
Jun 04, 2011
dsimcha
Jun 04, 2011
Daniel Gibson
Jun 04, 2011
Walter Bright
June 03, 2011
This paper:

http://www.reddit.com/r/programming/comments/hqkwk/google_paper_comparing_performance_of_c_java/

compares the efficiency of an algorithm implemented in C++, Scala, Java, and Go. I wonder how D would fare. Does anyone have the time and inclination to port the benchmark so we can take a look?


Thanks,

Andrei
June 03, 2011
Andrei Alexandrescu wrote:
> This paper:
>
>
http://www.reddit.com/r/programming/comments/hqkwk/google_paper_comparing_performance_of_c_java/
>
> compares the efficiency of an algorithm implemented in C++, Scala, Java, and Go. I wonder how D would fare. Does anyone have the time and inclination to port the benchmark so we can take a look?
>
>
> Thanks,
>
> Andrei

OK. I'll start right away.

Timon
June 03, 2011
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
June 03, 2011
"bearophile" <bearophileHUGS@lycos.com> wrote in message news:isbd1j$1u9s$1@digitalmars.com...
>
> But this article written by Google and its benchmarking methodology are not good.
>

I realize you'e probably talking about content, but...Pet Peeve: Trying to read a paged multi-column layout outside of dead-tree form.


June 03, 2011
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
June 03, 2011
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

Terrific, thanks! I think this will be very instructive.

Andrei

June 03, 2011
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
June 03, 2011
Speaking of SList, for some reason std_slist.html is still distributed with DMD.
June 03, 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
June 03, 2011
On 6/3/11, Andrej Mitrovic <andrej.mitrovich@gmail.com> wrote:
> Speaking of SList, for some reason std_slist.html is still distributed with DMD.
>
I've filed it (and many more):
http://d.puremagic.com/issues/show_bug.cgi?id=6101
« First   ‹ Prev
1 2 3 4 5 6 7