3 ms·
I won't go past Java 11 because that's the last version that has an OpenJDK fork, AFAIK. I'm not a lawyer, but Oracle has changed the license for >11 that also
by javajosh 6y ago
I won't go past Java 11 because that's the last version that has an OpenJDK fork, AFAIK. I'm not a lawyer, but Oracle has changed the license for >11 that also gives me pause. I'm also very unhappy with Java's feature bloat: the JVM spec and JL spec used to be small and comprehensible, circa Java 5. Now they are both like 800+ documents. This dilutes Java's single greatest strength, which is a well-written, implementation independent specification. No other high level language has this. Python's specification, for example, is "read the CPython code".
JavaScript + DOM (especially ES6 in modern browsers) has fulfilled the WORA promise on the client, and apart from a vast library of OSS libraries, I don't think Java is particularly distinguished at server-side. Spring? Django? Rails? Express? I mean, who cares at this point? They are all just processes that bind to a port and handle HTTP requests, with more-or-less the same trade-offs and dev experience. The biggest distinction with DX is "IDE vs text editor", not language/framework.
I agree that Rust is a very exciting language, as is the general trend toward Clang/LLVM for new native languages. It seems we might finally be able to have our cake and eat it too. We'll see!
- jcelerier 6y ago> which is a well-written, implementation independent specification What good is this when roughly half of the java programs I had to ever use required the official sun / oracle jvm to work
- pjmlp 6y agoWebSphere has a tendency to work only with J9.
- parasubvert 6y agoOpenJDK is nearly the exact same code base as the Oracle VM, so this is highly unlikely. There are ISVs using Java that only certify the Oracle one for support reasons, but this is generally not for technical reasons.
- chungy 6y ago> OpenJDK is nearly the exact same code base as the Oracle VM, so this is highly unlikely. As of Java 11, completely the exact same code as Oracle JDK. The only difference is licensing.
- twistedpair 6y agoDoes that code depend on sun.misc.Unsafe?
- pjmlp 6y agoGPL with classpath exception is perfectly clear, everything else is the usual anti Oracle FUD. Amazon, SAP, Alibaba, IBM and Microsoft are more than comfortable with it.
- hjek 6y ago> I won't go past Java 11 because that's the last version that has an OpenJDK fork No. (Or how come I can do `apt install openjdk-17-jdk` on my Debian machine then?) > Oracle has changed the license for >11 that also gives me pause Yes, except that it's only for the Oracle JDK, not for OpenJDK.
- elygre 6y agoOpenJDK is not a fork, but the baseline of all Java. There are many distributions, Oracle’s is only one of them.