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++...