3 ms·
> You have relatively clean access to all C libraries. I thought much of the point of D as a programming language would be its "relatively clean" access to ext
by 0815test 7y ago
> You have relatively clean access to all C libraries.
I thought much of the point of D as a programming language would be its "relatively clean" access to external C++ libraries, which is not a feature many other languages share? (whereas it is of course quite common to have a foreign-function interface with C.)
- bachmeier 7y ago> its "relatively clean" access to external C++ libraries They're working on it, but there's a lot more work to do: https://dlang.org/spec/cpp_interface.html https://dlang.org/spec/cpp_interface.html There's a reason other languages don't have easy C++ interoperability. > it is of course quite common to have a foreign-function interface with C Yes, but it's not trivial for the most part to interface with C code. D is designed to make it easy - to the point that you can #include a C header file and you're good to go.