What's wrong with D ? this bug remains unfixed since 12 years

Paul Backus snarwin at gmail.com
Thu May 30 18:09:34 UTC 2024


On Thursday, 30 May 2024 at 13:10:54 UTC, Basile B. wrote:
> I have a theory that is "we all make the same mistakes" (i.e 
> when it's time to implement, we the human beings). It's 
> possible that actually for those two bugs, D IFTI works but 
> after IFTI, the wrong scope is used, or-and that `resolve` is 
> canceled too early.
>
> I dont see how a mediocre language like styx can handle that 
> while D still cant.

D's IFTI implementation is really, really bad. If you stray even 
slightly from the "happy path" of conventional, idiomatic code, 
it completely falls apart. Here's a list of just the bugs that I 
*personally* have found and reported in D's IFTI:

- https://issues.dlang.org/show_bug.cgi?id=22903
- https://issues.dlang.org/show_bug.cgi?id=22111
- https://issues.dlang.org/show_bug.cgi?id=23292
- https://issues.dlang.org/show_bug.cgi?id=23645
- https://issues.dlang.org/show_bug.cgi?id=23644

I would not be surprised if a ground-up rewrite of the entire 
IFTI implementation was necessary to fix all of these issues.


More information about the Digitalmars-d mailing list