News for hackers. Stuff that matters.
Re:Zig cc: A drop-in replacement for GCC/Clang by kick on Wednesday March 25, 2020 @01:32AM (#22682210)
D seems like its pitch is "a better C++," but "a better C" doesn't seem quite right.
Re:Zig cc: A drop-in replacement for GCC/Clang by nurettin on Wednesday March 25, 2020 @02:26AM (#22682415)
D'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
Re:Zig cc: A drop-in replacement for GCC/Clang by diegoperini on Wednesday March 25, 2020 @07:37AM (#22683633)
It 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.
Re:Zig cc: A drop-in replacement for GCC/Clang by Reelin on Wednesday March 25, 2020 @02:18AM (#22682386)
It has an official subset and associated compiler flag. (https://dlang.org/spec/betterc.html)