D enters Tiobe top 20

bachmeier no at spam.net
Wed Mar 11 15:30:41 UTC 2020


On Wednesday, 11 March 2020 at 13:40:08 UTC, SrMordred wrote:
> My point was that, although i love dpp project, it doenst feel 
> part of the D lang.

#include "foo.h" is close enough for me.

> Its an external project that first comers on the language will 
> just not see, its not yet completly reliable (but work in most 
> cases!),and have some external work to do: create a .dpp file, 
> include the headers that what u, compile/generate binds.

Honestly, I don't see this as much of an issue, at least in what 
I've done with dpp. It would be nice if it worked out of the box, 
but I really don't see that as a big issue these days, more of a 
one-time minor inconvenience to get it set up.

> All this process feels external to the D language.

IMO, that's a good thing - C interop *is* external to the D 
language.

> And although u can make things works, these are little 
> frictions that build up until people start to look for 
> alternatives. (Zig is way more friendly in this area for 
> example. People that are switching from C will find that Zig C 
> interop is very pleasant in comparisson with D).

Zig includes a C compiler. That's convenient, but that's not the 
only relevant metric, and I'm not sure I see it as an advantage 
over outsourcing compilation to gcc or clang. I admit that I've 
only spent a little time with Zig, so maybe my impressions are 
not fully accurate.


More information about the Digitalmars-d mailing list