Proof of concept for v2 - NO duplication, NO `static if` hell, NO difficulty with interoperability

bachmeier no at spam.net
Mon Nov 1 02:27:21 UTC 2021


On Monday, 1 November 2021 at 00:05:30 UTC, Andrei Alexandrescu 
wrote:

> Given the above and also the perennial stagnation the D library 
> has been in, I'd say it's version or die.

I have to admit that at times D feels like Common Lisp. A nice 
language for when it was designed, but now one that values 
stability over all else, at the expense of building on a good 
foundation. The death of Common Lisp was the standard. Something 
similar happened at some point for D but without standardization.

> There have been discussions about how to improve phobos. There 
> are things many agree:
>
> - get rid of autodecoding
> - reduce gratuitous use of the GC
> - improve safety
> - be less liberal with throwing
> - get rid of a lot of clowny support for enums a la 
> WhateverSomethingOf
> - improve the range interface
>
> Then there's a long tail of desirable things, where everybody 
> could add their own.
>
> These have been discussed for literal years. And whenever 
> someone said "X would be so much nicer", someone else would say 
> "but that would break compatibility" and that would be the end 
> of it.

Yep. This is the ordinary evolution of a language, but D has not 
figured out how to evolve. Always a false dichotomy where it's 
either a neverending stream of breaking changes or it's 100% 
stability.



More information about the Digitalmars-d mailing list