Hacker News new | ask | show | jobs
by mhh__ 2143 days ago
Admitting that D even exists should embarrass the C++ committee.

Modules and contracts have taken something like 30 years combined, and they still aren't prevalent. The tried to borrow static if, but theirs is scoped and misses the point (the static if paper).

All of the aforementioned are maintained in a language that has less maintainers than C++ has committee members, with better solutions and orders of magnitude faster compile time.

1 comments

Why should it? At least ISO C++ knows what they want, while D is still trying to find out to which community they should be advertising to.

I find many of the people on their forums quite nice, but D lacks a profound sense of direction and which market they want to target.

Filling multiple roles is not the same as lack of direction. D does lack direction, but that's arguably a good thing - that's why the scripting-like features can exist alongside the features which are intended for writing high performance code.

The fact that C++ is only used for performance is due to C++ being a bad language everywhere else rather than being amazing at writing high performance code. How many hours of developer productivity have been lost to slow compiles and bad metaprogramming (traits, contracts, and constexpr are emblematic of the half in half out C++ way)

Might be, but right now I don't see D ever taking off, rather going on the down slope of adoption curve, while C++ despite its warts, keeps increasing adoption thanks to AI, GPGPU shaders and driver SDKs for all major OSes.

By the way no one at Remedy is using D nowadays, while the number of studios using C# alongside C++ keeps increasing.