by ActorNightly · 3mo ago · 0 comments
The biggest use of Java currently is Android, and Google is on a path to migrate to Fuchsia eventually.
The second biggest use is Apache Spark/Kafka, but with LLMs now, you can pretty much re implement all of that functionality in pure C.
They just want a legal angle, since this is how they make most of their money.
It was the same conversations about Haskell, how functional programming with no side effects was the future, e.t.c and so on.
There is literally ZERO reason to use Java outside of Android these days. If you are still developing applications in Java, you are behind.
Oracle's own OpenJDK is free but they will only let consumers download Java 8 for free, that's why companies like Jetbrains ship JDKs with their products.
Google is in the middle of moving ChromeOS to Android, they're not replacing Android with Fuchsia any time soon.
All because of baked in legacy. This is going to change in the next few years. You beat Java with Python today very easily - write your application and tests in Python, have LLM transpile it to C.
Spark is written in Scala, precisely because distributed systems are best modelled as a set of pure functions with minimal references to state. This is also why part of the reason why it's ascending successor, Polars Cloud, is written in a functional language, Rust, rather than C.
Android development is also increasingly being monopolized by Kotlin, not Java.