Switching from Java to D: Beginner questions, multiplatform issues, etc.

Ali Çehreli acehreli at yahoo.com
Thu Feb 27 14:58:39 PST 2014


On 02/27/2014 02:40 PM, DS6 wrote:

 > What exactly is the difference between C and D headers?

D code that needs to use a C library must use "D bindings" of that C 
library. Here is Deimos, a collection of D bindings of many C libraries:

   https://github.com/D-Programming-Deimos

More information:

   http://dlang.org/interfaceToC.html

 > Interesting that Facebook uses it, not to mention even such a
 > high-scaled company should praise D over C++.

A recent article about that:

 
https://code.facebook.com/posts/729709347050548/under-the-hood-building-and-open-sourcing-flint/

 > I'll probably find this out on my own eventually, but does D support
 > operator overloading?

But of course: :)

   http://dlang.org/operatoroverloading.html

Ali



More information about the Digitalmars-d-learn mailing list