Hacker News new | ask | show | jobs
by throwaway019254 838 days ago
I'm surprised there aren't more people using Java nowadays. The JVM is rock solid, the speed is really good, and the latest changes are making the language much more modern.

Maybe people are actually using it but not talking about it? Not sure.

4 comments

Who's not using it? Rhetorical, but Java is everywhere still, especially near anything that's making money. (As opposed to, perhaps, hobbyist solo projects, which if that's your only sample size perhaps it looks like Java isn't as popular?)

These days it's actually more interactive and dynamic to develop applications with than a lot of dynamic languages, thanks to the improvements over the years.

I have been playing with the zgc garbage collector and gc pauses are essentially a solved problem. On machines with 90+ gb of heap size gc pauses are taking 700 microseconds (us) at most.
Generic erasure inside the JVM is a fundamental flaw.
There are some (imperfect) workarounds, ex: https://github.com/jhalterman/typetools
Why do you say that?
Why do I want an unnecessary VM in the way, and no access to native APIs?