Java Full-Stack Index November 2021: JVM Languages
These recommendations are for building enterprise applications on PCs and mobile devices - forms, data grids, reports. They are not for games or media applications.
Here are the choices in alphabetical order:
Picking a popular technology makes our developer life easier: Easier to learn, easier to build, debug & deploy, easier to hire, and easier to convince teammates & bosses. Popularity can make a difference in two situations: When multiple technologies score the same, you could go for the most popular one. And when a technology is very unpopular, we may not use it.
Now I look at technology popularity as a funnel from interest to learning, application, and finally to skill:
We’re interested in the trend of the ratio between competing technologies. So we use Google searches to measure interest, Udemy course buyers to measure learning, Stack Overflow questions to measure learning & application, and mentions in Indeed job ads to measure skills.
Google Trends demonstrates the initial interest in a technology over time:
Even at 1/8 of its peak interest in 2004, Java still towers over all its JVM alternatives. This link produces the chart above.
To get a better picture of the Java alternatives, here they are without Java:
Kotlin wins, Scala is second, Groovy third, and Clojure last. We can see the fall of Scala and the rise of Kotlin. This link produces the chart above.
Udemy is one of the biggest online learning sites. They publish the number of courses and the number of students (if it goes beyond a certain threshold). This shows how many people evaluate a technology. I compare the number of students from my first measurements in October vs. the number in November. Kotlin is the baseline.
Java wins by an order of magnitude, Kotlin is second, and Scala is third. Java loses a tiny percentage against Kotlin while Scala keeps up with Kotlin. Both Groovy and Clojure don’t have enough students to cross the display threshold.
Here are the links that show the courses for all and the number of students for some:
Stack Overflow Trends shows which percentage of questions at Stack Overflow has a particular technology tag. It is a proxy for using a technology during evaluation and productive use. “More questions = better” to me.
Java wins, Kotlin is second, Scala third. Kotlin is rising, while both Java and Scala have fallen for years. Groove and Clojure have stagnated for years. This link produces the chart above.
The Indeed job search is active in 63 countries representing 92% of the worldwide GDP in 2020. It demonstrates the willingness of organizations to pay for technology - the strongest indicator of popularity in my mind. I compare mentions in job ads from October against measurements from November. Kotlin is the baseline.
Java wins by an order of magnitude, Kotlin is second, Scala third. Groovy has a fifth of Kotlin’s number while Clojure is last. Compared to October, Kotlin decreased the gap to Java quite a bit and pulled away from Scala a bit.
Please see here for details, caveats, and adjustments of the job ad mentions.
You can find the detailed search results with links here. They include breakdowns by continents:
Here’s my recommendation: