2 ms·
The ability to use CTFE to generate strings that can then be fed back into the compiler is a heavily used feature, not just a golf point. It enables the creatio
by WalterBright 4y ago
The ability to use CTFE to generate strings that can then be fed back into the compiler is a heavily used feature, not just a golf point. It enables the creation of mini-DSLs.
- pjmlp 4y agoYou tend to praise D features, while ignoring that a language on its own doesn't make an ecosystem. Indeed C# and C++ don't give me all nice features from D, when doing language comparison tables, D wins on that table listing. Yet they give me their library ecosystem, graphical IDEs, and first day avail on any major company SDK. I will take that productivity win over the few features that the D language happens to have. Why is Andrei Alexandrescu helping to improve C++ at NVidia instead of using D, when the language is so great? Ecosystem, that is why.