Live data from Hacker News

Time to look beyond Oracle's JDK

blog.joda.org

61–70 of 136 posts

Re: Time to look beyond Oracle's JDK

#61
post #49
post #39

Earlier quoted context omitted.

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.

You can get off the JDK if needed, because there are good non-JVM implementations of those languages.

Re: Time to look beyond Oracle's JDK

#62
post #59

I tend to go with the Oracle VM because of the profiler (Java Mission Control). Does OpenJDK now have a credible alternative?

OpenJDK and Oracle JDK are exactly the same code (as of 11). A different license is attached, but that's the full extent of the difference.

Re: Time to look beyond Oracle's JDK

#63
So apart from Java and .NET what other high level languages are there that have gained traction to near the extent of these two?

I must say that Oracle makes me hesitant to want to use Java in anything I'd make in my free time.

Re: Time to look beyond Oracle's JDK

#64
post #30

Earlier quoted context omitted.

I think it's a reasonable interpretation and I agree with GP. APIs used to be seen as fair use and a way to compete, in the similar way to how IBM-compatibles are seen. However, when it became clear to Oracle that there is money to be had, they changed the very definition of copyright to get their fill. What's to say they wont mutate some other aspect of IP law in the future just to make you liable like they did with…

Google had the opportunity to buy Sun after screwing it up and preferred not to. "Triangulation 245: James Gosling" https://www.youtube.com/watch?v=ZYw3X4RZv6Y&feature=youtu.be... If IBM had not given up to buy Sun, I am pretty sure they would have done likewise. Plenty of JVM vendors are selling their versions without getting into trouble by playing by the rules. https://en.wikipedia.org/wiki/List_of_Java_virtual_ma…

So, if I want to ship with OpenJDK, I will need to buy Sun? And if I want to ship with Wine, I will need to buy M$?

Re: Time to look beyond Oracle's JDK

#65
post #49
post #39

Earlier quoted context omitted.

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.

Currently primarily on the JDK . But enough abstraction to migrate. Scala, for example, has a mature scala.js VM and an emerging Scala Native VM.

[1] http://www.scala-js.org

[2] http://www.scala-native.org

Re: Time to look beyond Oracle's JDK

#66
post #31
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…

Plenty of JVM vendors are happily selling their own versions, playing by the rules. https://en.wikipedia.org/wiki/List_of_Java_virtual_machines#... Google had the option to buy Sun after helping to their downfall, they have chosen not to spend the money to own Java. Now they get to spend on lawyers instead.

Can you elaborate on Google helping in Sun's downfall.

I seem to be missing a historical bit there.

Re: Time to look beyond Oracle's JDK

#67
post #63

So apart from Java and .NET what other high level languages are there that have gained traction to near the extent of these two? I must say that Oracle makes me hesitant to want to use Java in anything I'd make in my free time.

Google is pushing Swift with a Tensorflow port, and if they were even remotely interested in doing a Java port for training, it would've happened already. I will say, no Apple or MS for me thanks.

I hope Scala with Scala native continues to thrive, and for any additional pet projects not in Scala, frankly Python sounds pretty appealing to me as someone who eschews dynamic typing. 3.6 seems to have added some type inference, and it's popularity is up there with Java/C++/JS... Rust might be an option too.

Re: Time to look beyond Oracle's JDK

#68
post #63

So apart from Java and .NET what other high level languages are there that have gained traction to near the extent of these two? I must say that Oracle makes me hesitant to want to use Java in anything I'd make in my free time.

You don't have to use Oracle JDK, Azul offer their implementation plus OpenJDK 11 has all the goodies from Oracle JDK.

Re: Time to look beyond Oracle's JDK

#69
post #65
post #49

Earlier quoted context omitted.

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

Currently primarily on the JDK . But enough abstraction to migrate. Scala, for example, has a mature scala.js VM and an emerging Scala Native VM. [1] http://www.scala-js.org [2] http://www.scala-native.org

I do a lot of development in ScalaJS.

And what you are talking about is just ridiculous. There are very few real world (if any) Scala projects that don't rely on least some Java based libraries. Either directly or through transitive dependencies.

Re: Time to look beyond Oracle's JDK

#70
post #63

So apart from Java and .NET what other high level languages are there that have gained traction to near the extent of these two? I must say that Oracle makes me hesitant to want to use Java in anything I'd make in my free time.

Go lang... although google is driving that one and it’s dependency management is a mess, so pick your poison.
Post reply on HN