RFC in Comparison between Rust, D and Go

Ola Fosheim Grøstad via Digitalmars-d digitalmars-d at puremagic.com
Fri Nov 13 12:51:52 PST 2015


On Friday, 13 November 2015 at 14:31:08 UTC, Chris wrote:
> So D does a better job at interfacing to C/C++, because it uses 
> the same memory model as C/C++, as opposed to outputting C code 
> like Nim. This is actually very clever.

err... No. You get better interop by transpiling to C/C++.

With C it is easy, you don't use C's typesystem after all. Many 
languages do it. C++ is more complicated if you want to generate 
code that looks like C++...


More information about the Digitalmars-d mailing list