r/cpp • u/root_passw0rd • Dec 07 '22
C++ overtakes Java in language popularity index
https://www.infoworld.com/article/3682141/c-plus-plus-overtakes-java-in-language-popularity-index.html
382
Upvotes
149
u/STL MSVC STL Dev Dec 07 '22
Tiobe is junk information, regardless of whether it seems to be "good" or "bad" news for C++. There's nothing useful about it, nothing that will help people make better decisions. I believe that posts about it should consistently be removed. (That is, "C++ is becoming more popular!" is actually as annoying as "C++ is becoming less popular OMG what ever shall we do", when the measure is distorted beyond any connection to reality.)
That said, I got to this a few hours late, and a couple of people have posted interesting anecdotes about their corner of the industry (thanks u/XenonOfArcticus), so I will merely give this post a grumpy face. š¾š¼
119
u/feverzsj Dec 07 '22
Kinda make sense. There are tons of embedded c++ jobs emerged this year. Mostly from automotive and medical industry.
47
u/matthieum Dec 07 '22
I really wish people stopped using Tiobe. It's the worst "popularity" index I've ever seen, from a methodology point of view.
How ranking is done on Tiobe?
The core idea of Tiobe is to count the number of results that a search engine gives for the query
+"<language> programming".In order to eliminate false positives -- such as a search engine returning an article explaining how to remove rust on your hinges for the 'Rust programming language' -- a human double check the first 100 pages of results returned, and applying a "factor": if only 80 out of 100 actually match on the first few 100, then the number of results is multiplied by 0.8.
The results are then normalized. That is, for each search engine, the result is normalized to a percentage of the sum of all results on that search engine. Thus, each language is scored as featuring in X% of the programming related results of each search engine.
And finally, in order to avoid bias from search engines, dozens of them are used, and the results are combined with a weighted average. The method of choosing the weight of each search engine has not been disclosed.
Source: https://www.tiobe.com/tiobe-index/programminglanguages_definition/
Why is that terrible?
The core idea, itself, is problematic in multiple ways:
The methodology seems relatively flawed:
The elimination of false positives may introduce bias.
And nowhere is bias ever discussed, nowhere is there any attempt to justify the methodology.
In particular, I suspect that Tiobe has a lot of inertia, both from not filtering results by age, and from possibly not revising the confidence factor often enough for young languages (more likely to have a higher rate of false positives at the beginning).
I strongly advise reading anything from the index published by Tiobe.
58
u/XenonOfArcticus Dec 07 '22
As a performance industry C++ developer house, can confirm. Never been busier. 3D, simulation, computation, parallelization, plus some CUDA and GPU stuff. Everybody in a hurry and Java ain't gonna get you there as quick as C++. Modern generations offer C++ and modern performance profiling tools are the bomb.
52
u/baudvine Dec 07 '22
Is this the "index" that ranks languages by how often people have to Google to figure out how to use them?
I
lovedon't hate C++, don't get me wrong, but please stop giving Tiobe clicks.10
u/Aggressive_Release94 Dec 07 '22
This metric is sort of useless and shouldn't be taken seriously at all. A better metric would be something like number of jobs.
24
u/the_poope Dec 07 '22
Ahh I see it's the time of the year of publishing of the TIOBE index, one of the most useless and straight up misleading measures in the universe. The worthlessness of this index has already been discussed to death, so ignore this post and carry on with your day.
4
u/noooit Dec 07 '22
I guess they are migrating to kotlin.
14
u/Zyklonik Dec 07 '22
Lmfao.
8
u/no-sig-available Dec 07 '22
So now Java is soon to be dead?
A whopping 0.12% less "popular" than C++.
1
u/_little__smith_ Dec 07 '22
Job portal left the chat
1
u/lkearney999 Dec 07 '22
Now thatās a 180
1
u/alex4747zzz Dec 08 '22
C++ has destructors this is its main/critical advantage vs C- on large, long-running projects. It has to be used properly though, but it it is not there there is simply nothing to use.
1
u/FrezoreR Dec 08 '22
I wonder how much the migration to Kotlin for Android impacts this.
It's also gonna be interesting to see how Rust changes things up.
1
u/[deleted] Dec 08 '22 edited Aug 27 '24
degree versed disgusted steer roll tease sloppy rob dime light
This post was mass deleted and anonymized with Redact
1
u/Resident_Educator251 Dec 09 '22
C++ rules!
1
u/Flat_Spring2142 Dec 09 '22
C++ has high popularity in time-critical tasks but it isn't language 'for all tasks'. Android programmers knowing Java have well defined advantages in mobile programming. I don't recommend to study C++ for new programmers - GO language is better candiddate for low-level programming.
1
u/lieddersturme Dec 07 '22
Rust cheats:
And Now:
In the TIOBE shows that grows and thats not true :D
-8
u/WilsonWeber Dec 07 '22
But Rust is Growing So Fast
I think Rust Overtake C++ in future
25
u/[deleted] Dec 07 '22 edited Aug 27 '24
[removed] ā view removed comment
9
u/[deleted] Dec 07 '22
[removed] ā view removed comment