Python sits firmly in top place in the newest annual ranking of popular programming languages by IEEE Spectrum.
The ranking and others like it are meant to help developers understand the popularity of languages in a world where no one really knows what programmers are using on their laptops.
IEEE Spectrum has placed Python in first spot since 2017, and last year it was just ahead of C++. The top language is given a score of 100, and all languages with lower scores are scaled in relation to it. C++ last year scored 99.7, followed by Java at 97.5, and C with 96.7.
Today, in the IEEE Spectrum’s sixth annual ranking, Python’s 100 is a long way ahead of runner-up Java’s 96.3 score, while C is in third place with 94.4. C++ has slipped to fourth with 87.5, while in fifth is specialist statistical computing language R with a score of 81.5.
The magazine for engineering members of IEEE, the world’s biggest engineering and applied-science organization, attributes Python’s popularity to the vast number of specialized libraries it has, especially for developers building artificial-intelligence applications.
It singles out the Keras library, because it provides an interface to the Google-developed TensorFlow, and the Microsoft Cognitive Toolkit (CNTK), as well as Theano deep-learning Python library.
Another field that’s emerged in the years since Python’s first release in 1991 is microcontrollers from the likes of Adafruit, as well as tiny cheap computers like the Raspberry Pi.
IEEE Spectrum notes that its list’s default weighting is optimized for “the typical Spectrum reader”, which might help explain Matlab’s presence there. It notes that Matlab’s high ranking may come as a surprise to some but “simply reflects the language’s prominence in hardware engineering”.
The ranking is based on 11 metrics from eight sources, including CareerBuilder, Google, GitHub, Hacker News, the IEEE, Reddit, Stack Overflow, and Twitter.
Tiobe, which has its own language ranking index based on several search engines, has also published its results for September 2019.
One notable shift in this month’s ranking is PHP, which looks set to lose its spot in Tiobe’s top 10 where it’s had a place since 2001.
“From its start PHP was the Visual Basic for web design: easy to learn, easy to deploy, but mainly used by web designers with a limited software engineering background. The downside of PHP’s simplicity was that it was relatively easy to shoot security holes in it,” Tiobe analysts noted.