D for project in computational chemistry

Chris via Digitalmars-d digitalmars-d at puremagic.com
Tue Aug 4 06:42:14 PDT 2015


On Tuesday, 4 August 2015 at 13:25:22 UTC, maarten van damme 
wrote:
> I'm not a programmer myself and used D for a project in 
> computational
> electromagnetics. While I had to implement numerical 
> integration and a bit
> of linear algebra which was annoying (would be really useful in 
> phobos), it
> was a joy to work with and the resulting program was incredibly 
> fast.
> Most others used matlab and the difference in speed was more 
> than a factor
> 100. Not only that, prototyping went quicker in D.

Good that you point that out. Most people I know claim that it's 
easier to develop/prototype in with Matlab. Apart from execution 
speed and fast prototyping, Matlab is proprietary. This alone is 
a deal breaker.

> I've also written a simulation of the dual slit experiment 
> which I'll drop somewhere on github once the code is 
> presentable.
>
> So, if you don't mind having to implement a few algorithms that 
> are already available in numpy, D will be pleasant and fast.
>




More information about the Digitalmars-d mailing list