It is the year 2020: why should I use / learn D?
Walter Bright
newshound2 at digitalmars.com
Wed Nov 14 23:25:07 UTC 2018
On 11/14/2018 10:47 AM, Dukc wrote:
> I doubt the shortening distance. While C++ does advance and D isn't moving as
> fast as it was at 2010 (I think), I still believe C++ isn't the faster evolver
> of the two. When the next C++ standard comes out, D has improved too. Examples
> of what might be there by then:
C++ is adding lots of new features. But the trouble is, the old features remain,
and people will still use them, and suffer.
Examples:
1. The preprocessor remains. There has never been a concerted effort to find
replacements for it, then deprecate it. It's like allowing horse-drawn carts on
the road.
2. Strings are still 0-terminated. This is a performance problem, memory
consumption problem, and is fundamentally memory unsafe.
3. Arrays still decay to pointers, losing all bounds information.
4. `char` is still optionally signed. What a lurking disaster that is.
5. What size is an `int`?
More information about the Digitalmars-d
mailing list