C++ launched its community survey, too

bachmeier no at spam.net
Tue Feb 27 21:44:45 UTC 2018


On Tuesday, 27 February 2018 at 21:07:03 UTC, H. S. Teoh wrote:

> Granted, though, this is a lot easier than having to write JNI 
> wrappers or (carefully!) translate C headers into D.  It would 
> be nice if you could actually just copy-n-paste a C header into 
> an extern(C) block in D and have it Just Work(tm), but 
> practically all C headers are dependent on macros one way or 
> another that it would require including an entire C processor 
> inside the D compiler, which is not exactly an inviting 
> proposition.

Walter has said that he has considered doing that now that DMC is 
Boost licensed:
https://forum.dlang.org/post/p58q2l$1d35$1@digitalmars.com


More information about the Digitalmars-d mailing list