What’s wild is the Lean massive surge due to basically just OpenAI and Misanthropic.
Why has Java fallen off so suddenly since 2025? I stopped using it in like 2014/15, except when I had to use openJDK for spark and Hadoop stuff. But I’m surprised it’s dropped off so fast with how entrenched it is.
The Y axis is percentage, it probably haven’t fallen much in absolute numbers, but AI workloads took over PR count recently, and maybe those are rarely Java.
imo a lot of Java PRs on GitHub were for Android. With Jetpack compose being the future they will be reduced as they will be written in kotlin instead. But I didn’t see Kotlin go up by much. So ig it isn’t the entire story
There are a vast array of ancient Java systems. It is more feasible than ever to rewrite these systems in newer more modern languages like Rust, assisted by AI. That doesn’t even mean it’s completely slopped and vibe-coded, it’s just that with AI you can do this much more easily and faster than before. So probably that’s the reason.
I always found it really annoying to compile java codebases, I don’t really see any reason why I would recommend Java in 2026.
Maybe the Oracle toxicity is taking a toll.
I do think Rust tools are taking up a lot of the space where Java dominated, especially databases and data tooling. I guess it depends, I think a lot of the web-server cases can easily be written in Go, and the data applications can easily be written in Rust, and neither of those have cross platform compatibility issues that Java promised to solve.
Java was designed in the 1990s, and several things that were true then are not true now:
A bunch of CPU architectures mattered. Java could run on x86, SPARC, POWER, MIPS, PowerPC, PA-RISC, Alpha, and S/390. Now things other than x86-64 and ARM don’t matter much.
A bunch of operating systems mattered. Java could run on Windows, Mac OS, several different kinds of Unix, Linux, BSD, and a bunch of niche systems via third-party implementations. Now, Windows, Mac OS, and sometimes Linux matter on the desktop. Servers are almost always Linux.
Proprietary applications mattered more. It was very likely you needed to run something the vendor wasn’t going to give you sources for.
Proprietary libraries were (more of) a thing. It was very likely the thing you’re building needed to link to libraries you couldn’t get sources for.
Software was distributed on physical media. The average home internet connection was a 56k modem that rarely connected at such a high speed.
The idea of “compile once, run anywhere” had genuine appeal.
Also C# and other languages have eaten a lot of that lunch.
C# works just fine on Linux, x64 or ARM. It’s a cleaner, open source language with similar C-style syntax, but isn’t burdened with the Enterprise Java culture or Oracle.
Seems to me that C# is burdened by association with Microsoft as much as Java is by association with Oracle.
The sharp decline of Java on the chart doesn’t closely match a sudden increase in anything else. C# also sees a significant decline, so that’s not what’s eating Java’s lunch this year. Kotlin, a more obvious successor has seen only a slow upward trend.
My best guess is most people who would have built in Java previously are using one of TypeScript, Rust, or Go. Python saw a sharp increase too, but I imagine that’s because it’s the default language for scripting machine learning stuff rather than attracting a lot of Java devs.
I think I’ve only ever built a rust project once. (That was to test running a lemmy instance of all things.) I don’t recall it being any more or less difficult than building a c/c++ project. What makes it less painful?
It’s not like Rust can avoid those. They are just abstracted away and hidden from the developer. If you value control and insight, C / C++ is still more meaningful imho.
What’s wild is the Lean massive surge due to basically just OpenAI and Misanthropic.
Why has Java fallen off so suddenly since 2025? I stopped using it in like 2014/15, except when I had to use openJDK for spark and Hadoop stuff. But I’m surprised it’s dropped off so fast with how entrenched it is.
The Y axis is percentage, it probably haven’t fallen much in absolute numbers, but AI workloads took over PR count recently, and maybe those are rarely Java.
imo a lot of Java PRs on GitHub were for Android. With Jetpack compose being the future they will be reduced as they will be written in kotlin instead. But I didn’t see Kotlin go up by much. So ig it isn’t the entire story
There are a vast array of ancient Java systems. It is more feasible than ever to rewrite these systems in newer more modern languages like Rust, assisted by AI. That doesn’t even mean it’s completely slopped and vibe-coded, it’s just that with AI you can do this much more easily and faster than before. So probably that’s the reason.
I’d attribute the Python graph to AI too.
What is Lean good for?
Math proofs.
Cool!
And software proofs. And hardware proofs actually.
Formally verifying proofs.
It allows you to write axioms and theorems, and prove that they’re correct
Funny seeing that on GitHub I guess
It’s code.
Also, verification of code can be done via lean or lean adjacent sw stack
Like Haskell?
I’m surprised by the sudden drop-off vs continuing the downward trend, maybe AI tools are biased against it?
I think Go is a more modern replacement for it
I always found it really annoying to compile java codebases, I don’t really see any reason why I would recommend Java in 2026.
Maybe the Oracle toxicity is taking a toll.
I do think Rust tools are taking up a lot of the space where Java dominated, especially databases and data tooling. I guess it depends, I think a lot of the web-server cases can easily be written in Go, and the data applications can easily be written in Rust, and neither of those have cross platform compatibility issues that Java promised to solve.
Doesn’t Rust compile to native binaries? That’s traditionally how you solved the “platform compatibility issues.” lol
Java was designed in the 1990s, and several things that were true then are not true now:
The idea of “compile once, run anywhere” had genuine appeal.
Also C# and other languages have eaten a lot of that lunch.
C# works just fine on Linux, x64 or ARM. It’s a cleaner, open source language with similar C-style syntax, but isn’t burdened with the Enterprise Java culture or Oracle.
Seems to me that C# is burdened by association with Microsoft as much as Java is by association with Oracle.
The sharp decline of Java on the chart doesn’t closely match a sudden increase in anything else. C# also sees a significant decline, so that’s not what’s eating Java’s lunch this year. Kotlin, a more obvious successor has seen only a slow upward trend.
My best guess is most people who would have built in Java previously are using one of TypeScript, Rust, or Go. Python saw a sharp increase too, but I imagine that’s because it’s the default language for scripting machine learning stuff rather than attracting a lot of Java devs.
Yes, but in a C and C++ world that was more of a pain in the ass.
I think I’ve only ever built a rust project once. (That was to test running a lemmy instance of all things.) I don’t recall it being any more or less difficult than building a c/c++ project. What makes it less painful?
Platform specific ifdefs,
make configure, the posix-ish Windows C implementation.It’s not like Rust can avoid those. They are just abstracted away and hidden from the developer. If you value control and insight, C / C++ is still more meaningful imho.
As long as you’re on one of the two - three major kernels and architectures. LLVM isn’t especially portable.