Programming languages: Python overtakes Java on GitHub as Google Dart use soars
November 4, 2019
The hit programming language Python has climbed over once-dominant Java to become the second most popular language on Microsoft-owned open-source code-sharing site GitHub.
That's quite a milestone for 30-year-old Python, whose creator Guido van Rossum retired this week after leaving his position at cloud file storage company Dropbox, which built most of its back-end services and desktop app on Python.
Another interesting aspect of GitHub's report is its ranking of fastest-growing languages. Google's Dart programming language and Flutter, for building UIs for iOS and Android apps, are getting major traction with developers on GitHub.
Dart was the fastest-growing language between 2018 and 2019, with usage up a massive 532%. It was followed by the Mozilla-developed Rust, which grew a respectable 235%.
Microsoft is experimenting with Rust in its Windows code base because it was designed to address memory-related security bugs – the dominant flaw-type in Microsoft software over the past decade.
Last year Kotlin, the Google-endorsed programming language for Android app development, was the fastest-growing language on GitHub. It's not a top-10 language yet, but it still grew 182% over the year.
Other languages making up the top 10 fastest-growing category are HCL, PowerShell, Apex, Python, Assembly, and Go.
GitHub's top 10 fast-growing languages, 2018-2019. Source: GitHub
But the real champion in GitHub's report is Python, whose popularity is being propelled by data-science pros, hobbyists, and the wealth of data-science libraries, such as numpy, that allow developers to tailor Python code for machine-learning tasks.
Part of Microsoft's motivation for recently launching free Python courses is to attract developers to its AI services on Azure.
Another indication that data science is booming on GitHub is the growth of Jupyter Notebooks, an environment for writing and running code that supports Python, R, and Julia.
GitHub has also been investing in security over the past few years, particularly in helping developers find and fix vulnerabilities in open-source software libraries or 'dependencies'.
The company says its alerts helped developers fix over 7.6 million dependencies this year. It's also helped deliver over 209,000 automated fixes via its free Dependabot service that launched this May.
The biggest open-source projects on...