News for hackers. Stuff that matters.
Re:Why hasn't D started to replace C++ by soulbadguy on Wednesday January 31, 2018 @03:26AM (#16272377)
> Rust is much better suited to be a serious competition

why ?

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++.
Re:Why hasn't D started to replace C++ by majewsky on Wednesday January 31, 2018 @07:50AM (#16273429)
Better marketing.
Re:Why hasn't D started to replace C++ by blub on Wednesday January 31, 2018 @08:20AM (#16273577)
Better marketing... which requires financial resources that D doesn't have.
Re:Why hasn't D started to replace C++ by majewsky on Thursday February 01, 2018 @05:04AM (#16280674)
I don't think Rust's marketing is fueled by money. They just have a lot of vocal supporters.