144
you are viewing a single comment's thread
view the rest of the comments
[-] Zak@lemmy.world 8 points 2 days ago

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.

[-] Serinus@lemmy.world 2 points 2 days ago

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.

[-] Zak@lemmy.world 4 points 2 days ago

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.

this post was submitted on 02 Dec 2026
144 points (97.4% liked)

Programming

29465 readers
93 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 3 years ago
MODERATORS