Why is D unpopular, redux.

deadalnix deadalnix at gmail.com
Tue May 24 14:06:03 UTC 2022


On Tuesday, 24 May 2022 at 11:51:43 UTC, Dukc wrote:
> On Tuesday, 24 May 2022 at 10:22:31 UTC, burjui wrote:
>> Why D is unpopular? Because people don't stay. As I can only 
>> truly speak for myself, here's the reason why I left:
>> https://issues.dlang.org/show_bug.cgi?id=2043
>>
>> This bug is 14 years old already, and the memory-corrupting 
>> code still compiles, unless you enable DIP1000 (not a standard 
>> yet).
>
> It's becoming one. The latest Dmd, 2.100, already prints a 
> deprecation message about DIP1000-noncompatible code unless you 
> explicitly add `-revert=dip1000`. And it's quickly becoming 
> stable too. Only three or four releases ago, you continuosly 
> discovered bugs if trying to seriously use DIP1000 but in my 
> experience, there's only a fraction of that anymore.
>

DIP1000 is bad. It can detect a few trivial case, but beside 
that, it is unable to detect anything. As a result, it cannot 
solve this specific problem, only simple instance of it. The 
expect impact is therefore an increase in the complexity of the 
language without providing the kind of value you'd expect out of 
it.

I was told to submit bug report, but this is not a bug. There is 
no amount of bug that you can fix in DIP1000 to make it do what 
it is supposed to do. Just like there is no amount of bug report 
I can submit to a regex that tries to parse D.

I have no doubt this is going to happen though, and it will break 
tools and code, and it won't bring the value that it is supposed 
to, because it can't, and validate everything in this thread. I 
hope you prove me wrong, please do.



More information about the Digitalmars-d mailing list