Programming language benchmarks

Dmitry Olshansky dmitry.olsh at gmail.com
Thu Apr 28 12:42:58 PDT 2011


On 28.04.2011 15:10, Francisco Almeida wrote:
> On 28-04-2011 12:57, Moritz Warning wrote:
>> I think this might be interesting; it's also using D.
>>
>> http://attractivechaos.wordpress.com/2011/04/25/my-programming-language-
>> benchmarks-plb/
>
> Oh dear, the regex results for D are dreadful. And the matmul 
> benchmark result isn't too encouraging either. It certainly is 
> satisfying when comparing to Java and C#, but really behind C and even 
> Lua 2 with JIT.

I think the sad truth lies in the shy comment at the bottom of the page:

4) I cannot get theD implementation 
<https://github.com/attractivechaos/plb/blob/master/patmch/patmch_v1.d>working. 
Rhino works for theJavascript program 
<https://github.com/attractivechaos/plb/blob/master/patmch/patmch_v1.js>, but 
run extremely slow.

Having fixed a couple of huge bugs in it, I can't really blame him. Also 
see the version of GDC, just no comment.
And BTW I'm putting together very similar test bench, but I'm obsessed 
with having different regex _engines_ not different _languages_.

-- 
Dmitry Olshansky



More information about the Digitalmars-d mailing list