Why is D unpopular?
Ola Fosheim Grøstad
ola.fosheim.grostad at gmail.com
Mon May 16 15:08:13 UTC 2022
On Monday, 16 May 2022 at 14:21:30 UTC, H. S. Teoh wrote:
> IMO this is misguided. Without ImportC, it takes more effort
> to use a C library.
Yes, if it actually works with all the macros in a clean and
intuitive way. Meaning, the resulting D code should not look much
worse than the corresponding C code.
The biggest impact IMHO is that the threshold for *trying out*
C-libraries is lowered. If you have to create your own binding
your are essentially "locked in" due to the effort you spent just
to get started.
The larger the C-library is and the more frequently it is
updated, the more impactful this feature might be.
More information about the Digitalmars-d
mailing list