Nim programming language finally hit 1.0

jmh530 john.michael.hall at
Fri Sep 27 16:06:44 UTC 2019

On Friday, 27 September 2019 at 12:59:27 UTC, Chris wrote:
> [snip]
> That's good to hear. Would you care to tell us what exactly 
> you're using D for? I'd imagine it's for some sort of stats / 
> machine learning / AI stuff. Your experience might be valuable 
> for others who are trying to get away from Matlab / Python, 
> and, as bachmeier suggested, D might attract more "scrpiters". 
> Let them know what to expect and what you can do with D + Mir 
> etc.

TBH, my use is probably more at the hobby level rather than 
anything else. My day job supports more mainstream languages (C#, 
Matlab, Python, R, and some others I know are all supported) and 
operationally it would cause a lot of difficulties if I was the 
only person writing in a language (the whole, what happens if you 
get hit by a bus).

I've had a nice goal in the back of my mind to be able to do 
statistical analysis and portfolio optimization in D. I can do 
the optimization with DlangScience/nlopt, but this overlaps with 
my day job, so even if I do some work on this, I would need to 
get jump through work hoops before putting it online.

So I feel a little more comfortable working on D projects that 
relate to statistical analysis. Some simple projects I've thought 
about working on include adding ols function to lubeck that can 
print some pretty results and seeing if dpp can use GSL out of 
the box. It's just a matter of finding the time. Projects like 
mir and magpie are good infrastructure, but there's a lot of 
statistical libraries that aren't supported in D. One library 
that I have been making a lot of use of in R is rstan for 
Bayesian inference. I haven't gotten around to trying to use stan 
in D (I know it's possible). It would be possible for me to write 
something like pystan or matlabstan, but rstan is implemented a 
little differently and faster. So I have kept up my R usage to 
use that.

More information about the Digitalmars-d mailing list