Comment Re:PSA: Move to openjdk, don't abandon Java (Score 1) 136
You've got some good points, but on some others my experience does not match yours. I think you might have drank too much of the Koolaid.
1) ecosystem. Agree with you here. It's one of the compelling reasons to use java IMO. It's had time to develop a mature and full feature ecosystem. Sometimes the libraries you find aren't great, but you can usually find something.
2) performance. I don't see java programs performing any faster than golang programs, and I work in both languages. I have seen some golang libraries that made newbie mistakes and were not performant, but they also didn't claim to have reached version 1.x and claim they were stable. Pure go programs run faster than pure java programs in my experience. Java is a pig when it comes to memory usage. golang is much more parsimonious.
3) "write once, run anywhere". This does not match my experience. I've had constant problems with jar portability. I'm not the only one. It's become a running joke in the industry. "compile once, debug everywhere". For cross platform work, I've gotten better results recompiling a java app on a new platform if that's where I want to run it. The java build ecosystem is mature enough that this usually isn't too hard though as long as I've got access to the source code.
I think your dig on python is kind of a cheap shot. You're comparing a compiled language to a scripting language. Compiled language always wins the performance race on that one over an interpreted language. But python is great for standing up prototypes quickly and proving out ideas, concepts or algorithms. So, prefer developer time to machine time. Python isn't the right tool for everything of course. It's just another tool in the toolbelt. Choose the right tool for the job. For some jobs, it's java. For some jobs, it's python. Know how to use them both, and when.
But for your punchline, that you should say Fuck You to oracle, get off of their proprietary JDK and move over to OpenJDK instead, I'm in complete agreement. Cheers.