4 ms·
I freely admit to not being a Go or Rust expert, but from what I can tell using C from D is even easier than in either of these languages. The C++ interop is al
by sfpotter 1y ago
I freely admit to not being a Go or Rust expert, but from what I can tell using C from D is even easier than in either of these languages. The C++ interop is also decently usable.
IMO, the bigger issue is language tooling.
- WalterBright 1y agoD really does work as a "Better C" C compiler. For example, D's Import C supports this: void abc() { def(1.0); } void def(double) { } I.e. forward references "just work". (Forward references don't work in C++, either.)
- sfpotter 1y agoBeing able to use ImportC to "just include" all of LAPACKE was a high point for me with this! Thanks for adding this feature, it rocks. ... Now, get started on ImportC++!!! (Only joking... kind of. ;-) )