C Interoperability ================== Generate Bindings ----------------- D can link with C libraries very easily. However, the header files must be converted into D bindings. Ideally, we could generate bindings from C header files automatically. In practice, a bullet-proof tool has never been built. .. seealso:: `header to binding `_, `Dstep `_ C++ Interop ----------- More limited than C interop, but possible to a certain extend. .. seealso:: `Interfacing to C++ `_ Porting Code ------------ Porting C/C++ code to D is relatively easy, since the languages are very similar. .. seealso:: Converting `C to D `_, `C++ to D `_, `C Preprocessor to D `_,