C++ launched its community survey, too

H. S. Teoh hsteoh at quickfur.ath.cx
Tue Feb 27 23:28:21 UTC 2018


On Tue, Feb 27, 2018 at 09:44:45PM +0000, bachmeier via Digitalmars-d wrote:
> 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

Wouldn't that cause compatibility issues with gdc/ldc?


T

-- 
Give me some fresh salted fish, please.


More information about the Digitalmars-d mailing list