D for project in computational chemistry

Daniel N via Digitalmars-d digitalmars-d at puremagic.com
Sun Aug 2 11:26:34 PDT 2015


On Sunday, 2 August 2015 at 16:25:18 UTC, Yura wrote:
>
> Any hints/thoughts/advises?
>
> With kind regards,
> Yury

Dear Yura,

D is a perfect fit.

For performance reasons, when releasing your binary make sure to 
use one of these compilers:
GDC - GCC  D Compiler (comparable performance to gcc)
LDC - LLVM D Compiler (comparable performance to clang)

Usually D is on par with C, if performance is less than expected 
it probably means you forgot one optimization switch, especially 
singleobj is non-intuitive for ldc2, but can have a dramatic 
impact.

ex
ldc2 -O5 -inline -release -singleobj -boundscheck=off

Best Regards,
Daniel N



More information about the Digitalmars-d mailing list