www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - On reddit: Quora: Why hasn't D started to replace C++?

reply Walter Bright <newshound2 digitalmars.com> writes:
https://www.reddit.com/r/programming/comments/7udfs4/is_anyone_replacing_c_with_d/
Jan 31 2018
parent reply psychoticRabbit <meagain meagain.com> writes:
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?
Feb 01 2018
next sibling parent psychoticRabbit <meagain meagain.com> writes:
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
Feb 01 2018
prev sibling parent reply "H. S. Teoh" <hsteoh quickfur.ath.cx> writes:
 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.
Feb 01 2018
parent Ola Fosheim =?UTF-8?B?R3LDuHN0YWQ=?= <ola.fosheim.grostad gmail.com> writes:
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.
Feb 01 2018