Tsoding streamed about D

Meta jared771 at gmail.com
Wed Mar 19 07:54:43 UTC 2025


On Wednesday, 19 March 2025 at 07:17:37 UTC, Manu wrote:
> On Wed, 19 Mar 2025 at 16:41, Meta via Digitalmars-d < 
> digitalmars-d at puremagic.com> wrote:
>
> Literally every single person that has ever tried to use 
> ImportC instantly
> complained that it doesn't import .h files. There's no reason 
> not to merge
> his patch.
> There's been lots of discussion about this, and it seems that 
> Walter just
> has some arbitrary opinion that it shouldn't work.
> What Walter wants you to do is write a one-line .c file 
> somewhere in your
> source tree, with `#include "the_header.h"`; completely 
> pointless exercise,
> and as this guy points out, it breaks the cool tech-demo and 
> instantly
> converts every person that touches this from "WOW!" to 
> "WTF?!"... def
> should fix this.

Just from this video alone, I completely agree with you.

To Walter: whatever technical reasons you might have for not 
accepting .h files, I recommend you watch the video for 10 
minutes or so, starting at this timestamp:

https://youtu.be/Gj5310KnUTQ?si=ObpRmsHQO96oCpO8&t=55m27s

This shows you how close D is to really blowing people away with 
ImportC, and how much friction is introduced by not allowing .h 
files. From a marketing/first impressions perspective, it's a no 
brainer in my opinion.

The "wow!" factor of being able to download a big, well-known C 
library like Raylib and simply do `import raylib` (plus linker 
flags) and start using it in your D code is huge.


More information about the Digitalmars-d mailing list