D for scientific computing

Nicolas Sicard dransic at gmail.com
Thu Jan 24 02:08:07 PST 2013


On Wednesday, 23 January 2013 at 22:39:04 UTC, Alan wrote:
> I saw an old thread from 2004 while doing a google search that 
> discussed D and scientific computing and was looking for some 
> more recent information or opinions from people who have used 
> it for such purposes.
>
> I am a graduate student and my thesis work is in numerical 
> modeling. While I have some experience using Fortran and C, I 
> am not obligated to use any particular language for my work. I 
> like the design goals behind D and the syntax. I was would like 
> to know if D can compete with C or Fortran for numerical work.
>
> Is anyone out there using D for heavy numeric work?

The different D compilers available don't generate numeric code 
of the same quality, depending on the algorithms and data 
structures used. I have found in one of my projects that LDC 
produces code that is up to 5x or even 10x faster than DMD 
(though the average difference is less spectacular).


More information about the Digitalmars-d mailing list