News for hackers. Stuff that matters.
Re:Java in the Small by x0x0 on Thursday December 19, 2024 @12:04PM (#42463436)
In java's defense -- and I share your criticisms -- it offers some very nice things that no other language has.

eg want to run code for 6 months at a go managing hundreds of gigs of data, tens of thousands of threads, at high load, with sustained gigs a second of garbage generation? the jvm will just silently tick away doing just that while being nearly bulletproof. As much as I love ruby and python, you ain't doing that with them.

With hot code loading, introspection, etc. All the stuff that makes developing super-robust long-lived systems way easier.

And the flip side of the clunky language is your code from 20 years ago still works.

Re:Java in the Small by woooooo on Thursday December 19, 2024 @03:25PM (#42465364)
Also, conservative feature adoption works in the long term.

Scala mainstreamed a bunch of concepts that java was slow to adopt, but the end result was java only took the good ideas and didn't take the bad ideas.

Re:Java in the Small by dkarl on Thursday December 19, 2024 @03:26PM (#42465375)
Fortunately, you don't have to use Java to use the JVM. There's Kotlin, Scala, Clojure, etc., all of which are simpler languages.