Perlin noise benchmark speed

David Nadlinger via Digitalmars-d digitalmars-d at puremagic.com
Fri Jun 20 05:56:44 PDT 2014


On Friday, 20 June 2014 at 12:34:55 UTC, Nick Treleaven wrote:
> On 20/06/2014 13:32, Nick Treleaven wrote:
>> It apparently shows the 3 main D compilers producing slower 
>> code than
>> Go, Rust, gcc, clang, Nimrod:
>
> Also, it does appear to be using the correct compiler flags (at 
> least for dmd):
> https://github.com/nsf/pnoise/blob/master/compile.bash

-release is missing, although that probably isn't playing a big 
role here.

Another minor issues is that Noise2DContext isn't final, making 
the calls to get virtual.

This should cause such a big difference though. Hopefully 
somebody can investigate this more closely.

David


More information about the Digitalmars-d mailing list