A few notes on choosing between Go and D for a quick project

bachmeier via Digitalmars-d digitalmars-d at puremagic.com
Tue Mar 17 14:00:09 PDT 2015

On Tuesday, 17 March 2015 at 19:00:06 UTC, jmh530 wrote:
> In addition, further development of the ability to call D from 
> R or Python* or Julia (or vice-versa) would also be a positive.

What do you have in mind? I no longer work much with Python so my 
knowledge is limited, but calling D from R or Julia should be no 
different from calling C from those languages, as you normally 
compile your C code into a shared library anyway.

I've done the R->D thing many times and in the process have 
worked with a big chunk of the R API. Things like allocating R 
data structures from a D function, adding assertions to your D 
code to allow for an easy exit when things don't work out, and 
calling functions in the R math library, among other things, are 
not difficult.

More information about the Digitalmars-d mailing list