Live data from Hacker News

Time to look beyond Oracle's JDK

blog.joda.org

41–50 of 136 posts

Re: Time to look beyond Oracle's JDK

#41
post #40

Earlier quoted context omitted.

TypeScript ( https://www.typescriptlang.org/ ) is a good starting point. If you use nestjs ( http://nestjs.com/ ), it has dependency injection as well. Pairs with Angular nicely.

How can you compare nodejs runtime and java runtime? When you take into account traditional Java uses

[deleted]

Re: Time to look beyond Oracle's JDK

#42
post #6

Actually, time to look beyond the whole Java ecosystem. After the claims Oracle made during the Google trial (such as APIs and method signatures being patent-able), it is clear that one can't work on the Java platform without infringing Oracle's IP. If Oracle doesn't sue you now, it can sue you when it makes financial sense to do so. .Net looks like a much better alternative, with a patent pledge and ECMA standardiza…

Had Microsoft owned Java it probably would have acted in the same way towards Google.

The versions mentioned here are strict Java compatible in that they follow a well-defined standard and an elaborate test suite. Quite different from Java Android.

Re: Time to look beyond Oracle's JDK

#43
There's really only one, possibly two saviors of Java. Redhat with JBoss/Icedtea, and OpenJDK, which has IBM, Redhat, Oracle and Doug Lea at the top level. I don't see any great examples of building successful open source communities from IBM, but open sourcing OpenJ9 earns them some good will. Short of OpenJDK being adopted by Apache/Mozilla/etc.. (Oracle will let this happen after hell freezes over..) Java really has only one savior.

Redhat is skipping the minor Java versions, so it's Icedtea/OpenJDK build has Java 8, and the next version will have Java 11. This is what I'll be using on Linux.

Re: Time to look beyond Oracle's JDK

#44

Will be interesting once Graal is released. I've found it be at least 30% faster than the existing JDKs around for Scala development. Others have found similar results: https://medium.com/graalvm/compiling-scala-faster-with-graal...

Surely it's no coincidence that, as Oracle removes differences between its JDK and OpenJDK, that they are throwing their weight behind this non-community project, with an enterprise version. Between sunsetting community owned Nashorn in favor of Graal solution to giving tools to OpenJDK presumably with fewer of their own maintainers, the resource shift is clear. Not that it's wrong or even nefarious, but devs need to…

Graal is open-source and most projects under its umbrella are [GPL2-with-classpath-exception licensed](https://github.com/oracle/graal/#license). The fact that they also have an Enterprise Edition does not make this a non-community project.

Re: Time to look beyond Oracle's JDK

#45
post #33

But what about supporr for the JRE? Please help a sad IT admin understand what's gonna happen.

JRE is on its way out. Thanks to Java modules, jlinker and packager tool, the idea is that you just distribute everything together.

Happen to have a good link to read about it?

Re: Time to look beyond Oracle's JDK

#46
post #6

Actually, time to look beyond the whole Java ecosystem. After the claims Oracle made during the Google trial (such as APIs and method signatures being patent-able), it is clear that one can't work on the Java platform without infringing Oracle's IP. If Oracle doesn't sue you now, it can sue you when it makes financial sense to do so. .Net looks like a much better alternative, with a patent pledge and ECMA standardiza…

Your suggesting .net as an alternative but ironically the licensing of Java is largely shaped due to the Sun vs Microsoft lawsuit. Microsoft tried to do their famous Embrace, Extend, extinguish on Java (and failed: https://www.cnet.com/news/sun-microsoft-settle-java-suit/ ).

Its only been a couple of years that Microsoft has been behaving "better". I suggest you read up on the history of Java, Android, Google and Microsoft because you also seem to be unaware what Android Oracle vs Google was really about; Its wasn't about patents, it was about copyright.

You know what they say about history: Those who don't know it are doomed to repeat it.

Re: Time to look beyond Oracle's JDK

#48
post #33

Earlier quoted context omitted.

JRE is on its way out. Thanks to Java modules, jlinker and packager tool, the idea is that you just distribute everything together.

Happen to have a good link to read about it?

"jlink"

https://docs.oracle.com/javase/10/tools/jlink.htm#JSWOR- GUID-CECAC52B-CFEE-46CB-8166-F17A8E9280E9

"Self-Contained Application Packaging"

https://docs.oracle.com/javase/10/deploy/self-contained-appl...

"JLINK in Java-9"

https://blog.knoldus.com/jlink-in-java-9/

"Using Java 9 Modularization to Ship Zero-Dependency Native Apps"

https://steveperkins.com/using-java-9-modularization-to-ship...

Re: Time to look beyond Oracle's JDK

#49
post #39
post #6

Actually, time to look beyond the whole Java ecosystem. After the claims Oracle made during the Google trial (such as APIs and method signatures being patent-able), it is clear that one can't work on the Java platform without infringing Oracle's IP. If Oracle doesn't sue you now, it can sue you when it makes financial sense to do so. .Net looks like a much better alternative, with a patent pledge and ECMA standardiza…

Pick Clojure, Scala or JRuby instead of Java if you need to start off on the JVM, to hedge against this risk.

How does this hedge the risks? Those are still built on top of the JDK.

Re: Time to look beyond Oracle's JDK

#50
post #33

But what about supporr for the JRE? Please help a sad IT admin understand what's gonna happen.

JRE is on its way out. Thanks to Java modules, jlinker and packager tool, the idea is that you just distribute everything together.

Except on server. JRE on server will still be a thing (at least in forseeable future).

https://blogs.oracle.com/java-platform-group/understanding-t...

Post reply on HN