Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> To me, a legacy language is such that people used it for the prevailing share of code of certain kind, and now the prevailing share of new comparable projects gets written in different languages.

That's certainly a definition, but C++ would still not meet the definition of a legacy language by that measuring stick. C++ remains one of the most popular programming languages in the world in spite of the inception of alternatives. For instance, TIOBE (I know) lists C++ at the 4th place of it's popularity ranking, and features 4th place in GitHub's pull request ranking for 2022.

https://madnight.github.io/githut/#/pull_requests/2022/1

Also, we should keep in mind that C++ was basically the only relevant programming language available for some domains, such as Windows desktop development. Since then, Microsoft put its collective weight in C# to portray it as the one and true technology, and in the process pushed C++/CX and C++/WinRT as part of UWP, which aren't exactly C++. If one vendor changed its mind and decided to roll it's proprietary solutions as C++ competitors, that's hardly an issue with the merits of C++.

One thing that C++ does not have but some niche wannabe competitors have is teams of PR and evangelists selling the idea that a few loudmouths generating noise day and night represent a change in the baseline.



TIOBE's mechanism is counting search results of various highly ranked search engines.

These search engines confuse C, C++ and C# all the time. So I'm sure there's some level of mutual inflation of rankings going on there, even if you accepted search results as a meaningful metric.

Similarly, I'd be a little suspect of the SQL variants rankings




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: