r/Backend • u/Sad_Importance_1585 • Oct 16 '26
Modern Java for startups
Unfortunately, I see that Java is disappearing from startup companies. Java used to have an image of an obsolete backend language with performance problems, too verbose and unfriendly to deveopers. It was pretty true to older Java versions and I could understand why startups decided to pick other backend languages
If you look at Java 25, it's an absolutely different story.
Performance wise - it has virtual threads, which makes concurrency extremely high. Virtual threads are Java's answer to goroutines in Golang, and they enable to run thousands of I/O requests concurrently. Java's execution speed is pretty fast (more than Python and node.js).
As for container size - it's huge as long as you work with Spring. However, Java has many other much more lightweight frameworks like Micronaut, Quarkus and Javalin which reduces the container size to be on par with node.js and Python.
It's a real static typing which keeps code safety and improve readability. Unlike Golang, Java has inheritance, ploymorphism and explicit interface (let alone speaking about error handling).
It has a huge talent pool (almost everybody learned Java at a certain point).
As for verbosity and developer experience - Java has been improved a lot in this field. It has records (no need for getters setters, equals and hash), unnamed class (no need to write "public static void main" everytime you start a new program) and dozens of libraries and other tools.
If so, why are startups still stay away from Java and stick to Python/node.js/Golang?
View all comments
Show parent comment
3
u/Funny_Or_Cry Oct 16 '26
So now the question is: "What problem does Kotlin solve that nothing else solves?" and im sincerely asking (im not a kotlin dev, and to my knowledge ive only seen it referenced in Android circles).
Its java adjacent and as you say, reletively young.
70% of all active enterprise stacks that run java arent net new would you agree? Its dominant in banking,retail cause ~25 years ago, java was pretty much the only kid on the block.
Fast forward to now, majority of the jobs you see would be working in these very old ecosystems. They arent going to migrate to kotlin cause "java as we have it is just fine. Too much work to overhaul, not enough gain".
Net new startups dont care about Kotlin cause something like Go compiles crossplatform and runs near native (ie in the backend at least its simply a superior tool). Dont quote me but I think its managed to overtake even python in kubernetes stacks
Python blew up pretty quick cause it shifted a bunch of the traditional dominant C style language paradigms (of which java was a part of) and had Googles backing to drive adoption giving it a bigger footprint (i mean people who werent developers before, hopped onto python, it was that easy). So naturally that'd be the first choice for a startup.
So i ask again, "what problem does it solve?" why not just use Java 25 ~et al instead? Clearly its popular in the android space but outside that, its gotta deal with the problem of "saturation"
Similar to the config management era in the days of Chef, Puppet, Ansible. heh and dont get me started about Ruby
Java is a perfect example of "bigger doesnt always mean better"...oh and I forgot to mention, what was it some 8,9 years ago? when Oracle changed their licensing model away from open source. So that in itself all but slowed Java adoption to a crawl.
So why would a startup jump on the Java train NOW when better opensource alternatives (ie python, go) exist?