Best way to use large C library in D as of 2024

Mike Parker aldacron at gmail.com
Sat Mar 30 07:11:49 UTC 2024


On Saturday, 30 March 2024 at 05:01:32 UTC, harakim wrote:

>
> @D Language Foundation - This is a HUGE selling point. I had to 
> use cups the other day and I just copied some code from a d 
> file and linked the library. It was so easy I was suspicious 
> but it worked. Using C from D is pretty much as easy as using C 
> from C and I think you should advertise that better!

Though I appreciate the sentiment, it's much more effective and 
efficient for people actually using the feature, and who 
appreciate it, to write up a blog post about it somewhere and 
share that on Twitter/Reddit/HN, etc.

Just a handful of people doing that would potentially reach a 
wider audience, they'd be able to show the feature in use in 
actual code, and their words will probably carry more weight as a 
language user than someone from the DLF. There's a world of 
difference between showing it in use in a real-world project vs. 
showing examples of how it can be used, which is all that I'd be 
able to do if I were to write about it.

And that goes for anything that makes you think "the DLF should 
advertise this". I mean, when I had time to prioritize the blog, 
I was regularly writing articles about cool D features, and 
sometimes getting others to write guest posts about their 
projects or whatever. But that's pretty much like one person 
standing on a hilltop with a megaphone, periodically handing it 
off to someone else.

How many other people from the D community were adding their 
voices? Now and then, someone would write something up somewhere, 
but it wasn't happening regularly or often.

Anyone happy using D, who wants to see it continue to grow and 
improve, can help toward that end by telling the world about it.

That said, if there's anyone out there who would like to take on 
management of the blog and make it more active, I'd love to hear 
from you.


More information about the Digitalmars-d-learn mailing list