What's wrong with D ? this bug remains unfixed since 12 years
Timon Gehr
timon.gehr at gmx.ch
Thu May 30 16:15:30 UTC 2024
On 5/30/24 15:10, Basile B. wrote:
> Context:
>
> https://issues.dlang.org/show_bug.cgi?id=10228
> https://issues.dlang.org/show_bug.cgi?id=9024
>
> You might have seen a recent post of mine, initially designed to speak
> about IFTI and tuples, where I explain that I have developed something
> similar to IFTI.
>
> Turns out that, until yesterday, they failed too. Fixed them quickly:
>
> https://gitlab.com/styx-lang/styx/-/commit/b026f923cf7619b795557e79ece969deaffcc326
>
> I have a theory that is "we all make the same mistakes" (i.e when it's
> time to implement, we the human beings).
Counterpoint: Those examples work with my frontend.
(https://github.com/tgehr/d-compiler/)
> 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.
> ...
I guess different priorities and different allocation of focus and
expertise. The desire to make template matching fast might have led to
some shortcuts being taken. Have not actually worked with that part of
the compiler so far though.
> A bon entendeur and sorry for the provocation ;)
> ...
More information about the Digitalmars-d
mailing list