tecosystems

The RedMonk Programming Language Rankings: January 2016

Share via Twitter Share via Facebook Share via Linkedin Share via Reddit

This iteration of the RedMonk Programming Language Rankings is brought to you by Rogue Wave Software. It’s hard to be a know-it-all. With our purpose-built tools, we know a lot about polyglot. Let us show you how to be a language genius, click here.


It’s been a very busy start to the year at RedMonk, so we’re a few weeks behind in the release of our bi-annual programming language rankings. The data was dutifully collected at the start of the year, but we’re only now getting around to the the analysis portion. We have changed the actual process very little since Drew Conway and John Myles White’s original work late in 2010. The basic concept is simple: we periodically compare the performance of programming languages relative to one another on GitHub and Stack Overflow. The idea is not to offer a statistically valid representation of current usage, but rather to correlate language discussion (Stack Overflow) and usage (GitHub) in an effort to extract insights into potential future adoption trends.

With the exception of GitHub’s decision to no longer provide language rankings on its Explore page – they are now calculated from the GitHub archive – the rankings are performed in the same manner, meaning that we can compare rankings from run to run, and year to year, with confidence.

Historically, the correlation between how a language ranks on GitHub versus its ranking on Stack Overflow has been strong, but this had been weakening in recent years. From its highs of .78, the correlation was down to .73 during our last run – the lowest recorded. For this run, however, the correlation between the properties is once again robust. For this quarter’s ranking, the correlation between the properties was .77, just shy of its all time mark. Given the recent variation, however, it will be interesting to observe whether or not this number continues to bounce.

Before we continue, please keep in mind the usual caveats.

  • To be included in this analysis, a language must be observable within both GitHub and Stack Overflow.
  • No claims are made here that these rankings are representative of general usage more broadly. They are nothing more or less than an examination of the correlation between two populations we believe to be predictive of future use, hence their value.
  • There are many potential communities that could be surveyed for this analysis. GitHub and Stack Overflow are used here first because of their size and second because of their public exposure of the data necessary for the analysis. We encourage, however, interested parties to perform their own analyses using other sources.
  • All numerical rankings should be taken with a grain of salt. We rank by numbers here strictly for the sake of interest. In general, the numerical ranking is substantially less relevant than the language’s tier or grouping. In many cases, one spot on the list is not distinguishable from the next. The separation between language tiers on the plot, however, is generally representative of substantial differences in relative popularity.
  • GitHub language rankings are based on raw lines of code, which means that repositories written in a given language that include a greater amount of code in a second language (e.g. JavaScript) will be read as the latter rather than the former.
  • In addition, the further down the rankings one goes, the less data available to rank languages by. Beyond the top tiers of languages, depending on the snapshot, the amount of data to assess is minute, and the actual placement of languages becomes less reliable the further down the list one proceeds.

(click to embiggen the chart)

Besides the above plot, which can be difficult to parse even at full size, we offer the following numerical rankings. As will be observed, this run produced several ties which are reflected below (they are listed out here alphabetically rather than consolidated as ties because the latter approach led to misunderstandings). Note that this is actually a list of the Top 21 languages, not Top 20, because of said ties.

1 JavaScript
2 Java
3 PHP
4 Python
5 C#
5 C++
5 Ruby
8 CSS
9 C
10 Objective-C
11 Shell
12 Perl
13 R
14 Scala
15 Go
15 Haskell
17 Swift
18 Matlab
19 Clojure
19 Groovy
19 Visual Basic

JavaScript’s continued strength is impressive, as is Java’s steady, robust performance. The long time presence of these two languages in particular atop our rankings is no coincidence; instead it reflects an increasing willingness to employ a best-tool-for-the-job approach, even within the most conservative of enterprises. In many cases, Java and JavaScript are leveraged side-by-side in the same application, depending on its particular needs.

Just as JavaScript and Java’s positions have remained unchanged, the rest of the Top 10 has remained similarly static. This has become the expectation rather than a surprise. As with businesses, the larger a language becomes, the more difficult it is to outperform from a growth perspective. This suggests that what changes we’ll see in the Top 10 will be slow and longer term, that fragmentation has begun to slow. The two most obvious candidates for a Top 10 ranking at this point appear to be Go and Swift, but they have their work cut out for them before they get there.

Outside of the Top 10, however, here are some of the more notable performers.

  • Elixir: The Erlang-friendly language made a notable jump this time around. The last quarter we surveyed languages, Elixir placed at #60. As of this January, it had jumped to #54. While we caution against reading too much into specific numerical differences, the more so the further down the list one goes, this change is notable as it suggests that the language – a darling amongst some language aficionados – is finally seeing some of the growth ourselves and others have expected from it. Interestingly, Erlang did not benefit from this bounce, as it slid back to #26 after moving up to #25 last quarter.

  • Julia: Julia’s growth has been the tortoise to other languages’ hares historically, and this run was no exception. For this run, Julia moves from #52 to #51. Given the language’s slow ascent, it’s worth questioning the dynamics behind its adoption, and more specifically whether any developments might be anticipated that would materially change its current trajectory. So far, the answer to that question has been no, but certainly its focus on performance and syntactical improvement would seem to offer would-be adopters a carrot.

  • Rust: Another popular choice among language enthusiasts, Rust’s growth has outpaced slower growth languages like Elixir or Julia, but not by much. This time around, Rust moves up two spots from #48 to #46. The interesting question for Rust is when, or perhaps if, it will hit the proverbial tipping point, the critical mass at which usage becomes self-reinforcing and an engine for real growth. Go went through this, where its growth through the mid to low thirties was relatively modest, then picked up substantially until it entered the Top 20. In the meantime, it will have to settle for modest but steady gains quarter after quarter.

  • Swift: Swift’s meteoric rise has predictably slowed as it’s entered the Top 20, but importantly has not stopped. For this ranking, Swift moves up one spot from #18 to #17. As always, growth is more difficult the closer you get to the top, and in passing Matlab, Swift now finds itself a mere two spots behind Go – in spite of being five years younger. It is also three spots behind Scala and only four behind R. Which means that Swift finds itself ranked alongside languages of real popularity and traction, and is within hailing distance of our Tier 1 languages (R is the highest ranking Tier 2). The interesting thing is that Swift still has the potential to move significantly; its current traction was achieved in spite of being a relatively closed alternative amongst open source alternatives. Less than four weeks before we took this quarter’s snapshot of data, Swift was finally open sourced by Apple, which means that the full effect of this release won’t be felt until next quarter’s ranking. This release was important for developers, who typically advantage open source runtimes at the expense of proprietary alternatives, but also because it allows third parties to feel comfortable investing in the community in a way they would not for a proprietary stack – see IBM’s enthusiastic embrace of Swift. This means that Swift has, uniquely, multiple potential new engines for growth. So it will be interesting indeed to see what impact the release has on Swift overall adoption, and whether it can propel it near or actually into the Top 10.

  • Typescript: One interesting, although unheralded, language to watch is TypeScript. A relatively new first class citizen in the Microsoft world, this (open source, notably) superset of JavaScript is quietly moving up the ranks. In this ranking, TypeScript jumped two spots from #33 to #31, passing ASP in the process. Obviously it’s a small fraction of JavaScript’s traction, but the list of interesting technologies it outranks now is growing longer: ASP (#32), OCaml/TCL (#33), Cold Fusion/DART (#37), among others, as well as the aforementioned Elixir/Julia/Rust. It’s not reasonable to expect any explosive growth from Typescript, but it wouldn’t be surprising to see it get a bounce should it prove capable of moving into the twenties and becoming more widely visible. Regardless, it’s become a language to watch.

The Net

We are regularly asked why we don’t run the language rankings more regularly – every quarter or even on a monthly basis. The answer is that there isn’t enough movement in the data to justify it; programming languages are popular enough and the switching costs are sufficient to mean that significantly shifting adoption is a slow, gradual process. For every language language except Swift, anyway.

It will be interesting to see whether or not we’ll see new entrants into the Tier 1 of languages, with the most likely candidate at this point being Swift followed by Go. Further down the list, several interesting but currently niche languages are getting close to thresholds at which they have the potential to see substantial, if not guaranteed growth. Not the kind that will take them into the Top 10, but certainly there are vulnerable languages at the back end of the Top 20. In the meantime, we’ll keep checking in every other quarter to report back on progress – or the lack thereof – in any of the above areas.

One More Thing

(Added 2/22/2016)

Of all the requests we receive around our programming language rankings, the ability to browse the history of their performance is by far the most common. The current rank of a language is of great interest, of course, but for many previous rankings and the trajectory they imply are at least as interesting, and in some cases more so.

We’ve been thinking about this for a while, and while a number of different visualizations were assessed, there are so many different angles to the data a one size fits all approach was less than ideal. Which led to the evaluation a few dynamic alternatives, which were interesting but had some issues. Rather than hold up this quarter’s already delayed release for a visualization that had potential but might not work, then, we went ahead and published the rankings.

Over the weekend, however, the last major obstacles were addressed. It’s not perfect, but the historical depiction of the rankings is in a state where we can at least share a preliminary release. A few notes:

  • This is not a complete ranking of all the languages we survey. It includes only languages that are currently or have been at one time in the Top 20.
  • This graphic is interactive, and allows you to select as many or as few languages as you prefer. Just click on the language in the legend to toggle them on or off. This is helpful because Swift fundamentally breaks any visual depiction of growth: de-select it and the chart becomes much more readable.
  • The visualization here, courtesy of Ramnath Vaidyanathan’s rCharts package, is brand new and hasn’t been extensively tested. Mobile may or may not work, and given the hoops we had to jump through to host a D3-based visualization on a self-hosted WordPress instance, it’s likely that some browsers won’t support the visualization, HTTPS will break it, etc. We’ll work on all of that, and do let us know if you have problems, but we wanted to share at least the preliminary working copy as soon as we were able.

With that, we hope you enjoy this visual depiction of the Historical Programming Language Rankings.

[advanced_iframe securitykey=”7322342f8a4e09f44c74349c037382029af3e137″ src=”http://redmonk.com/hist-rankings-full.html” width=”740″ height=”423″]

33 comments

  1. […] established languages in popularity. Now that action may be slowing down, according to new data published by IT analysis firm […]

  2. Because the latest version of Angularjs.js (a very popular JavaScript framework, which is still in beta) is written in Typescript, I expect Typescript to become much more popular after the final release. Already lots of users are testing the framework, tutorials and blogs are written, books are published, all with Typescript examples. Now we only have to wait until large apps and enterprises are being written in Angular2 for Typescript to become a major player.

    1. Look at Google Trends for TS, CoffeeScript and ES6. And Angular 2 is not even final yet (i.e. only very early adopters playing with it)

      https://www.google.com/trends/explore#q=typescript%2C%20coffeescript%2C%20es6&date=1%2F2014%2025m&cmpt=q&tz=Etc%2FGMT-2

  3. As a Ruby programmer, and formerly Java, Perl, PHP, C, C++, and so on, I would contend a pure lines of code comparison is highly inaccurate. I can typically code a maintainable class in Ruby with 5-10 times less lines of code than with a less elegant language. Perhaps a comparison of methods, (functions) produced would provide a better comparison.
    I am sure this applies to other languages as well.
    Also, with dynamically typed and interpreted languages that provide for an eval capability, where the code produces code that is in turn executed, there is an inherent productivity gain not realized in other languages.

    1. > I can typically code a maintainable class in Ruby with 5-10 times less lines of code than with a less elegant language.

      Aww, come on. You can’t. Well, unless the “less elegant language” is COBOL or Assembly.
      If you exclude the lines containing 1 symbol or less, you’ll get the ratio of, maybe, 2x, at best.
      Then add the tests, which dynamically typed languages need more of.
      Then add extra comments, in place of the type signatures.
      Suddenly, you find the supposed advantage evaporating.

      1. If you write you’re code in a concise and understandable way you don’t need too much line comments, and I prefer an example of how to use a function instead of a cryptic type signature not suitable for beginners.

        By the way, you need to find examples of Java Code vs Ruby Code and you’ll see how to save like 5x or more lines of code.

  4. […] RedMonk have updated their (near-)biannual Programming Lanuage rankings as of January 2016, and the R language ranks at #13, unchanged since the last ranking in June 2015. Redmonk’s rankings are based on number of […]

  5. Can you share the raw data somewhere? I’m curious to know how you collected the Github data now that they don’t provide it anymore. Github Archive doesn’t look like it provides anything comparable.

    1. @Bergen: we don’t keep the data in a cleaned up format suitable for distribution, but it’s all public. We pull our GitHub data straight from the archive. I don’t have the query in front of me, but you’re basically just counting repos and repo languages.

      1. @sogrady, I wonder, have you considered just using the number shown on the Github search page when you search for repos by language?

        For example, this shows that Javascript has 1,986,644 repositories:

        https://github.com/search?utf8=%E2%9C%93&q=language%3AJavascript&type=Repositories&ref=searchresults

        and this shows that Visual Basic has 92,806 repositories:

        https://github.com/search?utf8=%E2%9C%93&q=language%3AVisual+Basic&type=Repositories&ref=searchresults

        If nothing else it would be interesting to see how the numbers shown on the search page compare to the numbers scraped from the archive.

  6. Biztosan vezeti a JavaScript a nyelvek népszerűségi listáját

    Második a Java, harmadik a PHP. A Go és a Swift jön fel, a Visual Basic pedig csúszik le.

  7. […] The RedMonk Programming Language Rankings: January 2016 […]

  8. […] make wise decisions. To help you out in making the correct choice, the developer research company RedMonk has just released this year’s biannual list of the top programming […]

  9. […] make wise decisions. To help you out in making the correct choice, the developer research company RedMonk has just released this year’s biannual list of the top programming […]

  10. […] (Stack Overflow) and usage (GitHub) in an effort to extract insights into future trends,” reads the firm’s explanation of its […]

  11. […] by RedMonk’s Programming Language Rankings , we utilized search data from Google Trends and StackOverflow question volume to conduct our […]

  12. […] evidence of Java’s popularity was published last month in the form of the RedMonk Programming Language rankings for 2015. This is based on two metrics: Stack Overflow questions and lines of code on GitHub. Although this […]

  13. […] trend a few years back was relentlessly hating on Java and Java devs. Evidence shows otherwise. Java is still around and it is going to be around for quite some time to come. No […]

  14. […] mayor apogeo. Sin embargo, a excepción de Swift, cuya adopción parece imparable, de acuerdo con los datos publicados por la empresa RedMonk, los desarrolladores siguen prefiriendo los lenguajes […]

  15. […] To help you out in mak­ing the cor­rect choice, the devel­oper research com­pany Red­Monk has just released this year’s bian­nual list of the top pro­gram­ming lan­guages. […]

  16. […] rapport semestriel RedMonk sur la popularité des langages publié en février dernier montre une progression significative du […]

  17. […] established languages in popularity. Now that action may be slowing down, according to new data published by IT analysis firm […]

  18. […] no sign of dying or even declining in its popularity. A look at things like the TIOBE index or the RedMonk Programming Language Rankings consistently shows Java as the number one or two language used by […]

  19. […] may come as a surprise to many “cloud native” aficionados, but, as we consistently see in the RedMonk programming language rankings, PHP is an incredibly widely used language. If anything, we expect to see PHP usage grow even more […]

  20. Anxiously waiting for the June 2016 rankings!

  21. […] 44 und damit weit hinter C oder C++, dafür aber weit vor Go. Anders sieht es auch im Ranking von Red Monk nicht aus: Dort belegt Rust nur Platz 46, erfreut sich aber eines kontinuierlichen, wenn auch […]

  22. […] 44 und damit weit hinter C oder C++, dafür aber weit vor Go. Anders sieht es auch im Ranking von Red Monk nicht aus: Dort belegt Rust nur Platz 46, erfreut sich aber eines kontinuierlichen, wenn auch […]

  23. […] language experiencing a surge in interest due to these new environments is Go (often referred to as golang). That’s why we are excited to […]

  24. Wouldn’t this be correct for visual basic:
    https://github.com/search?utf8=✓&q=language%3A“Visual+Basic”&type=Repositories&ref=searchresults

  25. I wander if these are useful somehow. C and C++ drive the world of modern computing. Many other solutions rely on them – Java, PHP and so on.

    If this counts then still C is the most used language. There are not many questions, as the trend is toward JS and modern phone platforms… deep underneath there is C/C++ library that does the actual job.

  26. […] place (down from 15th place at this point in 2015). R occupies a similar place on the most recent RedMonk Programming Language Rankings, which are compiled via a different methodology than the TIOBE […]

  27. […] (Stack Overflow) and usage (GitHub) in an effort to extract insights into future trends,” reads the firm’s explanation of its […]

Leave a Reply to Public Beta of Golang Support Debuts in New Relic APM Cancel reply

Your email address will not be published. Required fields are marked *