A Few thoughts on C, C++, and D

Ola Fosheim Grøstad via Digitalmars-d digitalmars-d at puremagic.com
Tue May 30 05:26:22 PDT 2017


On Tuesday, 30 May 2017 at 11:22:29 UTC, bachmeier wrote:
> One of the things I hated when I started using D was links to 
> dsource libraries. I think that writing new libraries in D is 
> often a mistake for that very reason. Bindings to C libraries 
> is what we need. Put everything into one D file if possible, 
> wrapping just the stable core functionality with a few 
> convenience features tossed in, and maintenance is no longer an 
> issue. There's nothing sexy abut that approach, and that's kind 
> of the point.

What happend to that Calypso project?  I suppose libclang also 
would allow you to inspect C header-files and then maybe it would 
be possible to synthesize Dish bindings from it on the fly? Not 
that I have given it much thought.




More information about the Digitalmars-d mailing list