What's the top programming language? It's not JavaScript but Python, says IEEE survey

Sounds sus to us – most talked about maybe


Python is the "de facto platform for new technologies," according to research by the IEEE in its Spectrum publication.

The new survey places Python, Java, C, and C++ as the top four programming languages. JavaScript, which typically tops such surveys, is in fifth place.

By contrast, StackOverflow reported earlier this month that JavaScript was the most used language by some margin, with 65 per cent followed by Python at 48.2 per cent and Java at 35.35 per cent. Redmonk analysts also placed JavaScript top, as does developer tools company JetBrains in its State of the Developer Ecosystem survey.

What's going on?

The answer is that no survey has greater authority than its sources, which despite the best efforts of researchers have all sort of biases and limitations. The matter of what to measure is also up for discussion. Should researchers attempt to discover how much code is written in each language? Or which are best known (a win for JavaScript since it is hard to avoid)? Or which have most job opportunities? Even the question of who counts as a developer is up for grabs, with a spectrum from occasional hobbyists to full-time professionals.

In the IEEE's case, the methodology is shown here. It uses "11 metrics from 8 sources," we are told, these sources being Google Search, Google Trends, Twitter, GitHub, StackOverflow, Reddit, Hacker News, CareerBuilder, the IEEE job site, and an IEEE digital library. This particular methodology does look weighted towards "most talked about" rather than most used, which is not the same thing, as well as likely over-representing North American and European developers. Still, a nice feature of the IEEE survey is that users can apply their own weighting using simple controls. We found that Python still came top in most configurations.

Drilling down still yields some intriguing results. Setting the controls to look only at GitHub repositories, for example, we got results that made little sense. Dart leaps into second place – lots of Flutter projects? – while Julia, a statistical language, is third.

The Register is suspicious of these results: a project called GitHut that tracks GitHub pull requests places JavaScript first, Python second, and Java third. GitHub itself reports on language usage and shows JavaScript consistently top between 2014 and 2020, though Python has climbed from fourth to second place over that period.

GitHub statistics point to JavaScript rather than Python as the most used language

GitHub statistics point to JavaScript rather than Python as the most used language

The PYPL (Popularity of Programming Language) index, which is based on "how often language tutorials are searched on Google", places Python in the top spot by some distance – 29.93 per cent, ahead of Java at 17.78 per cent.

It seems reasonable to conclude that while JavaScript might by most measures be the most popular language after all, it is for sure not the most searched for or talked about. Another fact to emerge from this survey of surveys is that whether first, second, or third, Python usage and growth is huge. For those who do not know the language, perhaps it is time to search for a tutorial? ®

Similar topics

Broader topics

Narrower topics


Other stories you might like

  • Experts: AI should be recognized as inventors in patent law
    Plus: Police release deepfake of murdered teen in cold case, and more

    In-brief Governments around the world should pass intellectual property laws that grant rights to AI systems, two academics at the University of New South Wales in Australia argued.

    Alexandra George, and Toby Walsh, professors of law and AI, respectively, believe failing to recognize machines as inventors could have long-lasting impacts on economies and societies. 

    "If courts and governments decide that AI-made inventions cannot be patented, the implications could be huge," they wrote in a comment article published in Nature. "Funders and businesses would be less incentivized to pursue useful research using AI inventors when a return on their investment could be limited. Society could miss out on the development of worthwhile and life-saving inventions."

    Continue reading
  • Declassified and released: More secret files on US govt's emergency doomsday powers
    Nuke incoming? Quick break out the plans for rationing, censorship, property seizures, and more

    More papers describing the orders and messages the US President can issue in the event of apocalyptic crises, such as a devastating nuclear attack, have been declassified and released for all to see.

    These government files are part of a larger collection of records that discuss the nature, reach, and use of secret Presidential Emergency Action Documents: these are executive orders, announcements, and statements to Congress that are all ready to sign and send out as soon as a doomsday scenario occurs. PEADs are supposed to give America's commander-in-chief immediate extraordinary powers to overcome extraordinary events.

    PEADs have never been declassified or revealed before. They remain hush-hush, and their exact details are not publicly known.

    Continue reading
  • Stolen university credentials up for sale by Russian crooks, FBI warns
    Forget dark-web souks, thousands of these are already being traded on public bazaars

    Russian crooks are selling network credentials and virtual private network access for a "multitude" of US universities and colleges on criminal marketplaces, according to the FBI.

    According to a warning issued on Thursday, these stolen credentials sell for thousands of dollars on both dark web and public internet forums, and could lead to subsequent cyberattacks against individual employees or the schools themselves.

    "The exposure of usernames and passwords can lead to brute force credential stuffing computer network attacks, whereby attackers attempt logins across various internet sites or exploit them for subsequent cyber attacks as criminal actors take advantage of users recycling the same credentials across multiple accounts, internet sites, and services," the Feds' alert [PDF] said.

    Continue reading

Biting the hand that feeds IT © 1998–2022