News

GitHub Reveals Most Popular Programming Languages

Source code repository hoster GitHub has listed the most popular programming languages used on its site, tracking usage trends since it launched in 2008.

It revealed few surprises, mostly matching up with myriad other efforts to gauge language popularity. Thus, the ubiquitous JavaScript gained the No. 1 ranking in the most recent data point. It started off No. 2 in 2008, though, behind Ruby, the language used to write GitHub itself.

"It should be noted that this graph represents each language's relative popularity on GitHub," staffer Alyson La wrote in a blog post yesterday. "For example, Ruby on Rails has been on GitHub since 2008, which may explain Ruby's early popularity."

The big upward mover in the graph is Java, which started out No. 7 and grabbed the second-place spot behind JavaScript in the final ranking. "Possible contributing factors to this growth could be the growing popularity of Android and the increasing demand for version control platforms at businesses and enterprises," La said.

Hackers on Hacker News agreed with that assessment, noting that the Google Code repository is "stagnating (and now shutting down)," with Google Code Java-based projects "(auto) migrating" to GitHub, as Google announced in March.

Programming Language Trends on GitHub
[Click on image for larger view.] Programming Language Trends on GitHub (source: GitHub)

Over the seven-year span tracked by GitHub, the venerable C language recorded the biggest drop-off, falling from No. 5 to No. 9.

One conspicuous absentee in the rankings is R, the stats-friendly language that has enjoyed a tremendous upsurge in popularity with the rise of Big Data analytics. As IEEE Spectrum's Stephen Cass noted last month in that publication's own ranking, "The big mover is R, a statistical computing language that's handy for analyzing and visualizing Big Data, which comes in at sixth place. Last year it was in ninth place, and its move reflects the growing importance of Big Data to a number of fields."

The new GitHub ranking draws on data about the languages used in public and private repositories, not counting forks, generated by Linguist. "This library is used on GitHub.com to detect blob languages, ignore binary or vendored files, suppress generated files in diffs, and generate language breakdown graphs," the Linguist site states.

The GitHub index isn't the first effort to rank languages used on the popular site. As reported in February, the GitHut project used several GitHub Archive-generated metrics to come up with its own data visualization of popular languages.

While Linguist primarily detects language usage based on file extensions, GitHut said it measured active repositories, total pushes, pushes per repository, new forks per repository, opened issues per repository, new watchers per repository, the year the language appeared and more.

Here's a comparison of the top 10 languages listed by GitHut (total active repositories) and GitHub (2015 ranking):

GitHut GitHub
JavaScript JavaScript
Java Java
Python Ruby
CSS PHP
PHP Python
Ruby CSS
C++ C++
C C#
Shell C
C# HTML

Log management company Loggly also earlier this year took a stab at measuring GitHub language popularity since 2012, publishing an infographic that, in part, revealed the following graph:

15 Most Popular GitHub Languages Since 2012
[Click on image for larger view.] 15 Most Popular GitHub Languages Since 2012 (source: Loggly)

About the Author

David Ramel is editor in chief of Visual Studio Magazine and Application Development Trends Magazine.

Featured

Upcoming Events

AppTrends

Sign up for our newsletter.

I agree to this site's Privacy Policy.