D and C APIs
bachmeier via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jan 12 04:56:39 PST 2016
On Tuesday, 12 January 2016 at 10:43:40 UTC, Russel Winder wrote:
> D and Rust provide so many barriers to effective use of a C
> library, that I am resorting to using C++. Yes you have to do
> extra stuff to avoid writing C code, but nowhere near the
> amount you have to to create D and Rust adaptors.
Sorry I can't offer any help, but I'm genuinely curious by what
you mean in this part of your quote. If the API is changing, how
does using C++, or for that matter C, help you? Sure, you can
include the header directly in your program, but don't you still
have to change your program? I must be missing something.
More information about the Digitalmars-d
mailing list