Java First, Second and Now Third

November 13, 2020 Simon Ritter


Measuring the popularity of programming languages is never going to be simple.  We often see the results of surveys that have been conducted by various companies or organisations that seem to include headline-grabbing conclusions.  Of course, as the famous saying goes, “There are lies, damn lies and statistics”.  The same applies to surveys.  Results can be skewed in any direction merely by asking the right questions or surveying the right audience.  The number of respondents will also determine whether a survey has any statistical significance (in the true meaning of the term).  A survey asking about programming language use with 60 respondents, all of whom work for banks in London isn’t going to give you a clear picture of global usage across all applications.

An alternative approach is used by TIOBE (a software company whose name is an acronym for The Importance Of Being Ernest).  They use a variety of search engines to look for pages that reference each language.  This eliminates the bias of respondents in a survey and gives a different measure of popularity, at least from the point of view of web page creation.  To avoid skewing the results because of search engine algorithms, TIOBE uses 25 search engines.

Significantly, the results for November 2020 show that, for the first time in twenty years, Java is no longer either first or second in the list.  Python’s popularity has grown, and it is now number two behind C; Java has dropped to third place.

This got me wondering about how important this is.

I’ve always held that the Highlander Principle (which states, “There can be only one!”) does not apply to programming languages.  Different types of applications solve different types of problem and benefit from different approaches and languages.  C is an excellent programming language for systems development (operating systems, compiler, etc.) but would not be my first choice for writing a web front-end.  No language, no matter how good it might seem, is going to be the best for all circumstances.  A lot also comes down to a developer’s personal choice: some people prefer Kotlin over Java, some people prefer Java over Groovy.  Although Java is a wonderful language, the real value of the platform is the JVM, and many languages (including Jython) can be compiled into bytecodes and take advantage of this managed runtime.

Looking at the index results, the top three are the only ones that score above 10%.  Python’s been in a solid third position for some time and improving, so this change was probably inevitable.  I suspect that it will be some time before the languages in the top three change, it’ll just be which position they hold.

Should we be disappointed that Java is now third?  No, I think we should be happy that we, as developers, have such a wide variety of languages to choose from and so many that will compile to bytecodes.

The post Java First, Second and Now Third appeared first on Azul.


About the Author

Simon Ritter

Simon Ritter is the Deputy CTO of Azul Systems. Simon has been in the IT business since 1984 and holds a Bachelor of Science degree in Physics from Brunel University in the U.K. Simon joined Sun Microsystems in 1996 and started working with Java technology from JDK 1.0; he has spent time working in both Java development and consultancy. Having moved to Oracle as part of the Sun acquisition, he managed the Java Evangelism team for the core Java platform, Java for client applications and embedded Java. Now at Azul, he continues to help people understand Java as well as Azul’s JVM technologies and products. Simon has twice been awarded Java Rockstar status at JavaOne and is a Java Champion. He currently represents Azul on the JCP Executive Committee and on the Expert Group of JSR 379, Java SE 9.

Follow on Twitter Follow on Linkedin More Content by Simon Ritter
Previous Video
JDK 15: The Latest New Features in Java
JDK 15: The Latest New Features in Java

In this webinar, Java Champion Simon Ritter reviews the latest new features in Java 15, what they are and h...

Next Article
A Quarter of a Century of Java
A Quarter of a Century of Java

February 12th, 1996.  This is a significant date for me personally since it was the day I started work at S...