News for hackers. Stuff that matters.
Re:Why hasn't D started to replace C++ by kbart on Wednesday January 31, 2018 @04:20AM (#16272607)
Performance and memory control -- these are the main reasons why people choose C/C++ nowadays and Rust tries to fit in as well. D, as stated in article, is more of Java competitor than C++, because it's slow and use GC.
Re:Why hasn't D started to replace C++ by WalterBright on Wednesday January 31, 2018 @06:22PM (#16278480)
If you use LDC or GDC, the code generation for D is the same as for C and C++, if the code is written the same way.

The code generation for DMD has fallen a bit behind, mostly because I spend my time on other issues these days :-(

Re:Why hasn't D started to replace C++ by EvenThisAcronym on Thursday February 01, 2018 @07:45PM (#16287376)
>because it's slow

Where do people get this from? D compiles down to the same machine code that every other compiled language does and it has similar language semantics to C++. In some cases D is _faster_ because its richer type and effect systems allow for more opportunities for optimization.

Re:Why hasn't D started to replace C++ by atilaneves on Thursday February 01, 2018 @11:27AM (#16283086)
D uses the GC by default - it's not required. As for speed, it's the same as C++.