5 ms·
D seems like its pitch is "a better C++," but "a better C" doesn't seem quite right.
by kick 7y ago
D seems like its pitch is "a better C++," but "a better C" doesn't seem quite right.
- Reelin 7y agoIt has an official subset and associated compiler flag. (https://dlang.org/spec/betterc.html https://dlang.org/spec/betterc.html)
- nurettin 7y agoD's whole premise of "being a better C++" has always made them look like argumentative jerks. Why build a language on top of a controversy? Their main argument from early 2000s: C++ requires a stdlib and compiler toolchain is not required to provide one. Wtf D? I mean I understand that C++ provides a lot of abstractions on top of C to call itself "more" than C, but what does D provide other than a few conveniences? If you even consider garbage collection or better looking syntax or more consistent, less orthogonal sytax a convenience. It didn't even have most of it's current features when it was first out back in early 2000s. Trying to gain adoption through creating some sort of counterculture what are they? 14?. /oneparagraphrant
- diegoperini 7y agoIt is probably the case that D has a brilliant engineer team who doesn't really focus on the PR side of things. D definitely provides value over C/C++ other than a few sugars for the syntax. It is just not communicated that well.