3 ms·
> I wouldn't call C++ a wild success. It's failed to supplant C for its entire life, and thrives only in a few niches. Aren't web browsers one of the most used
by jhasse 8y ago
> I wouldn't call C++ a wild success. It's failed to supplant C for its entire life, and thrives only in a few niches.
Aren't web browsers one of the most used consumer software today? I wouldn't call them niche.
- ddevault 8y agoI was measuring by number of projects. Consider that most web browsers also depend on a dozen or more C libraries.
- jhasse 8y ago> I was measuring by number of projects. I think even going by that metric C++ does pretty good. Not exactly "number of projects", but here are some numbers: GitHub statistic: https://octoverse.github.com/projects.html https://octoverse.github.com/projects.html C++: 5th place C: 9th place StackOverflow survey: https://insights.stackoverflow.com/survey/2018/ https://insights.stackoverflow.com/survey/2018/ C++: 10th place C: 11th place > Consider that most web browsers also depend on a dozen or more C libraries. That just shows that C is a wild success, too ;)
- Sir_Cmpwn 8y agoI don't think that metric is fair, either. A large number of C users don't use Github nor SO.
- jhasse 8y agoTrue. Still it's enough data to show that C++ is a wild success and is used more than just in a few niches. Has it supplanted C? Definitely not. But in some areas it did (e.g. game development).
- apta 8y agoThe fact that GCC is now in C++ has to account for something :-)