Java 9 Released
11–20 of 21 posts
Re: Java 9 Released
#12I was pretty excited about AOT compilation⁰, but it seems it doesn't support dynamically generated classes and bytecode i.e.: lambdas and invokedynamic. ⓪ - http://openjdk.java.net/jeps/295
This might benefit IDEs with slightly less startup time but with SSDs even that's questionable. And who besides IDE authors is writing desktop apps in Java anyways?
Re: Java 9 Released
#13I was pretty excited about AOT compilation⁰, but it seems it doesn't support dynamically generated classes and bytecode i.e.: lambdas and invokedynamic. ⓪ - http://openjdk.java.net/jeps/295
It is work in progress, the Java 10 dev branch already has much better support, including macOS and Windows, according to the Java Languages Summit 2017 talks. In any case, the other JDK vendors with AOT support are still around.
Re: Java 9 Released
#14I was pretty excited about AOT compilation⁰, but it seems it doesn't support dynamically generated classes and bytecode i.e.: lambdas and invokedynamic. ⓪ - http://openjdk.java.net/jeps/295
Really? Reading the document I felt AOT was too much pain for too little gain. This might benefit IDEs with slightly less startup time but with SSDs even that's questionable. And who besides IDE authors is writing desktop apps in Java anyways?
Re: Java 9 Released
#15With Java 9, Java finally supports HiDPI on Linux and Windows. MacOS has had HiDPI support since Java 7u40. On Linux it also adds GTK support.
Too late to edit: I meant GTK3 support. It supported GTK2 just fine even before JDK 9.
Re: Java 9 Released
#16I was pretty excited about AOT compilation⁰, but it seems it doesn't support dynamically generated classes and bytecode i.e.: lambdas and invokedynamic. ⓪ - http://openjdk.java.net/jeps/295
Really? Reading the document I felt AOT was too much pain for too little gain. This might benefit IDEs with slightly less startup time but with SSDs even that's questionable. And who besides IDE authors is writing desktop apps in Java anyways?
Re: Java 9 Released
#17I was pretty excited about AOT compilation⁰, but it seems it doesn't support dynamically generated classes and bytecode i.e.: lambdas and invokedynamic. ⓪ - http://openjdk.java.net/jeps/295
Really? Reading the document I felt AOT was too much pain for too little gain. This might benefit IDEs with slightly less startup time but with SSDs even that's questionable. And who besides IDE authors is writing desktop apps in Java anyways?
Re: Java 9 Released
#18Will JVM ever play with the browser again? https://twitter.com/globalmaxima/status/908089963752808448 It would be great if Oracle licensed & worked to get bytecode into chromium and Microsoft did likewise with cil. It will take wasm 10 years to mature anywhere near those two. It'd be nice to not have to wait.
I think what is plausible is that OpenJDK could support wasm as a platform (as a target for JIT and AOT), and similarly so could .Net. Wasm probably isn't mature enough yet for either to succeed, but I can't see why it can't get there.
Re: Java 9 Released
#19Earlier quoted context omitted.
It is work in progress, the Java 10 dev branch already has much better support, including macOS and Windows, according to the Java Languages Summit 2017 talks. In any case, the other JDK vendors with AOT support are still around.
Are there any free JVMs with AOT besides Eclipse/IBM OpenJ9 (of which I've only learned a couple of days ago)?
Excelsior JET has a free license for open source projects, https://www.excelsiorjet.com/
But the majority of good ones are commercial. All JDK vendors selling JVMs for embedded devices or real-time deployments, do support AOT compilation.
Re: Java 9 Released
#20Will JVM ever play with the browser again? https://twitter.com/globalmaxima/status/908089963752808448 It would be great if Oracle licensed & worked to get bytecode into chromium and Microsoft did likewise with cil. It will take wasm 10 years to mature anywhere near those two. It'd be nice to not have to wait.
Even if Oracle were willing to relicense the JVM under more permissive terms, I very much doubt Google/Chromium would agree to include a JVM in Chrome. The experience with applets has been the JVM is difficult to secure for untrusted code execution due to its broad API surface. (Maybe running an untrusted JVM in a sandbox would help with that.) Putting that aside, the JVM is just such a massive code base, I don't thi…