On Thursday, 17 December 2015 at 19:56:32 UTC, Jakob Jenkov wrote:
So, it's a load of BS that D's GC should somehow make it impossible to make real time / low latency software.
D supports most of C (but not all), so it is obviously possible. That's never been the argument. D's low performance global hog-the-world mark-sweep GC is simply too costly for soft real time. In hard real time you cannot even use malloc and have to turn off swapping for the memory ranges you stream from, so that's a different topic.
It is currently less work to use C++, overall. People won't move from C++ unless the new language is better throughout. That's the point. You have to be significantly better than C++, Rust and Swift to be considered.
And C++, Rust and Swift are improving. So, if D is to be considered then changes to D semantics not only has to compete with these languages as they are today. Improvements to D is competing with where C++, Rust and Swift will be in 2-3 years.
