Focus (was Re: draft proposal for Sum Types for D)

zjh fqbqrr at 163.com
Sun Dec 4 01:39:26 UTC 2022


On Saturday, 3 December 2022 at 16:17:19 UTC, John Colvin wrote:
> On Tuesday, 29 November 2022 at 06:26:20 UTC, Walter Bright 
> wrote:
>> Go ahead, Make My Day! Destroy!
>>
>> https://github.com/WalterBright/DIPs/blob/sumtypes/DIPs/1NNN-(wgb).md
>
> I don’t want to be discouraging of good work, but D is not 
> lacking in great features, it is lacking in its implementation 
> of the basics.
>
> I have come to believe over several years working in D, 
> managing work in D at some scale (10s of devs, not 100s) & 
> advocating for D that the foundations are shaky and crumbly and 
> need work.
>
> While it is not possible to implement a struct as drop-in 
> replacement for a built in slice, while template symbol 
> emission bugs keep happening[1], while the built in AAs are not 
> in great shape (and the signature of toHash is a PITA), while 
> the compiler is a huge memory hog and compile times for 
> templates get wild, while speculative compilation results 
> somehow go wrong and leak in to the non-speculative parts of 
> compilation (e.g. 
> https://issues.dlang.org/show_bug.cgi?id=19545), while syntax 
> changes happen without enough noise (so even basic tooling ends 
> up breaking), while shared and property and synchronised 
> classes and so on sit in poor and/or incomplete shape, while 
> delegate contexts still have qualifier problems[2]…
>
> Why would the limited resources available be focused on a 
> built-in sum type?
>

You should make a list sort by importance.



More information about the Digitalmars-d mailing list