Why is D unpopular?
Walter Bright
newshound2 at digitalmars.com
Thu May 12 03:43:50 UTC 2022
On 5/11/2022 5:12 PM, Adam D Ruppe wrote:
> On Thursday, 12 May 2022 at 00:10:00 UTC, Walter Bright wrote:
>> With ImportC, D is getting pretty darned good at integrating with C.
>
> Still not as good as it already was without it.
>
> http://dpldocs.info/this-week-in-d/Blog.Posted_2022_05_09.html#importc
You should mention that ImportC supports C constructs that are not expressible
in D, such as _Generic and bitfields. (Although I added bitfield support to D
recently.)
> And what could have been done to D itself in that time?
C interoperability is a major barrier to using D. ImportC is probably the best
leverage for D among existing initiatives.
> translating those files wasn't that hard and now it is done
The trouble comes when those header files change, you've got to figure out what
changed and update those hand-translated files. This is a big win for ImportC.
More information about the Digitalmars-d
mailing list