Thread overview
On reddit: Quora: Why hasn't D started to replace C++?
Feb 01, 2018
Walter Bright
Feb 01, 2018
psychoticRabbit
Feb 01, 2018
psychoticRabbit
Feb 01, 2018
H. S. Teoh
January 31, 2018
https://www.reddit.com/r/programming/comments/7udfs4/is_anyone_replacing_c_with_d/
February 01, 2018
On Thursday, 1 February 2018 at 00:57:16 UTC, Walter Bright wrote:
> https://www.reddit.com/r/programming/comments/7udfs4/is_anyone_replacing_c_with_d/

I think what will get people really interested in D, is an updated book from Andrei.

I'm sure plenty of people (particulary C++ programmers) would be very, very interested. Even more so, if you (Walter Bright) co-author it.

When can I pre-order?

February 01, 2018
On Thursday, 1 February 2018 at 09:51:16 UTC, psychoticRabbit wrote:
> On Thursday, 1 February 2018 at 00:57:16 UTC, Walter Bright wrote:
>> https://www.reddit.com/r/programming/comments/7udfs4/is_anyone_replacing_c_with_d/
>
> I think what will get people really interested in D, is an updated book from Andrei.
>
> I'm sure plenty of people (particulary C++ programmers) would be very, very interested. Even more so, if you (Walter Bright) co-author it.
>
> When can I pre-order?

Oh...and a title suggestion?

How about .. "The Case for D"

(based on)
http://www.drdobbs.com/parallel/the-case-for-d/217801225

February 01, 2018
> On Thursday, 1 February 2018 at 00:57:16 UTC, Walter Bright wrote:
> > https://www.reddit.com/r/programming/comments/7udfs4/is_anyone_replacing_c_with_d/
[...]

The only useful comment I got out of that is the link to this thought-provoking article about the so-called Blub Paradox:

	http://www.paulgraham.com/avg.html

It's interesting that he speaks about programs that write programs, i.e., metaprogramming.  That places D pretty high up on his so-called "power continuum".  I won't start a flamewar about whether Lisp or D is better, but the typical D program (at least, the kind that I write) is pretty heavy on template metaprogramming and compile-time features. That seems to somewhat correlate with his 20-25% macros figure. The fact that D brings powerful metaprogramming features to the average coder in a form that's not intimidating (or less intimidating than, say, C++ templates with that horrific syntax), to me, is something very significant.


T

-- 
The trouble with TCP jokes is that it's like hearing the same joke over and over.
February 01, 2018
On Thursday, 1 February 2018 at 19:10:29 UTC, H. S. Teoh wrote:
> somewhat correlate with his 20-25% macros figure. The fact that D brings powerful metaprogramming features to the average coder in a form that's not intimidating (or less intimidating than, say, C++ templates with that horrific syntax), to me, is something very significant.

I don't think C++17 template syntax is all that bad, which has a lot to do with constexpr. I kinda like it.

But there are still special cases that are difficult to express.