3 ms·
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 managi
by x0x0 2y ago
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.
- woooooo 2y agoAlso, 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.
- dkarl 2y agoFortunately, you don't have to use Java to use the JVM. There's Kotlin, Scala, Clojure, etc., all of which are simpler languages.