Is there an intention to 'finish' D2?

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Mon Nov 22 08:55:42 UTC 2021


On Sunday, 21 November 2021 at 00:40:23 UTC, forkit wrote:
> But ultimately centered around the same mistakes that C++ made:
>
> - trying to be compatible with C
> - trying to replace C
> - refusing to break things
> - and in addition to all of the above, adding as much as 
> possible.

It wasn't a mistake for C++ to be compatible with C, but their 
users also don't crave automatic memory management.

For D the most problematic C feature is badly typed unions.

What is annoying is that there isn't all that much wrong with D, 
you just need to do adjustments to get more shiny than C++. But 
many adjustments:

- make type unification work so that an alias is an alias (or has 
that been fixed?)

- make integers non-modular so that you get better optimization 
and can do overflow checks

- clean up some syntax

- add ref counting optimizations

and so on.

If D focused on adjusting what is in the language rather than 
adding new stuff it could do well.

> Having said that, I kinda like D ;-)

Sure.



More information about the Digitalmars-d mailing list