Measuring programming language popularity
It is difficult to determine which programming languages are most widely used, and what usage means varies by context. One language may occupy the greater number of programmer hours, a different one have more lines of code, a third may utilize the most CPU time, and so on. Some languages are very popular for particular kinds of applications. For example, COBOL is still strong in the corporate data center, often on large mainframes; Fortran in engineering applications; C in embedded applications and operating systems; and other languages are regularly used to write many different kinds of applications.
Various methods of measuring language popularity, each subject to a different bias over what is measured, have been proposed:
- counting the number of times the language name is mentioned in web searches, such as is done by Google Trends
- counting the number of job advertisements that mention the language
- the number of books sold that teach or describe the language
- estimates of the number of existing lines of code written in the language – which may underestimate languages not often found in public searches
- counts of language references (i.e., to the name of the language) found using a web search engine
- counting the number of projects in that language on SourceForge, Freecode, and GitHub
- counting the number of postings in Usenet newsgroups about the language
Several indices have been published:
- The monthly TIOBE Programming Community Index has been published since 2001, and shows the top 10 languages' popularity graphically, the top 20 languages with a rating and delta, and the top 50 languages' ratings. The numbers are based on searching the Web with certain phrases that include language names and counting the numbers of hits returned.
- The PYPL PopularitY of Programming Language is a leading indicator based on Google Trends, reflecting the developers' searches for "<programming language> tutorial", instead of what pages are available. It shows the popularity trends since 2004, worldwide or separated for 5 countries.
- The RedMonk Programming Language Rankings are derived from a correlation of programming traction on GitHub (usage) and Stack Overflow (discussion).
- The Trendy Skills searches and extracts from popular advertising websites the skills and technologies that employers are looking and classifies skills sought in categories, one of which is the Programming Languages category. It allows the user to see the trends for one or more skills or categories at specified time ranges. Data is also accessible via a public API, so anyone can generate their own statistics.
- "SSL/Computer Weekly IT salary survey: finance boom drives IT job growth". ComputerWeekly.com. September 2007. Retrieved 14 June 2013.
- "Jobs Tractor language trends, based on jobs advertised on Twitter". JobsTractor. Retrieved 14 June 2013.
- O'Reilly, Tim. "Programming Language Trends". O'Reilly Radar. Retrieved 14 June 2013.
- State of the Computer Book Market 2008, part 4 — The Languages
- Bieman, J.M.; Murdock, V., Finding code on the World Wide Web: a preliminary investigation, Proceedings First IEEE International Workshop on Source Code Analysis and Manipulation, 2001
- "Tiobe Index Definition". TIOBE Software. Retrieved 10 April 2012.
- Programming Language Usage Graph by François Labelle "usage of top computer languages from Sept 2000 to Feb 2006 [...] at SourceForge."
- Eric S. Raymond, The Art of Unix Programming, Chapter 14. Languages, http://www.catb.org/~esr/writings/taoup/html/ch14s05.html
- Language Trends on GitHub GitHub, Inc. Retrieved 28 January 2016.
- How popular are various programming languages? by Anton Ertl TU Wien
- "TIOBE Programming Community Index". TIOBE Software BV. Retrieved 14 June 2013.
- PYPL PopularitY of Programming Language index
- FAQ on PyPL.github.io
- RedMonk Programming Language Rankings
- Trendy Skills