JEP 544: Ahead-of-Time Code Compilation
openjdk.org
JEP 544: Ahead-of-Time Code Compilation
1–10 of 76 posts
Re: JEP 544: Ahead-of-Time Code Compilation
#2Re: JEP 544: Ahead-of-Time Code Compilation
#3I hope at some point we'll get AOT-only mode (or compile to native) and maybe even cross-compilation.
Re: JEP 544: Ahead-of-Time Code Compilation
#4It's a shame that Sun/Oracle never partnered with them to bring native apps. This could have saved Java on the desktop.
Re: JEP 544: Ahead-of-Time Code Compilation
#5Excelsior JET did that 25 years ago: https://en.wikipedia.org/wiki/Excelsior_JET It's a shame that Sun/Oracle never partnered with them to bring native apps. This could have saved Java on the desktop.
Re: JEP 544: Ahead-of-Time Code Compilation
#6I suppose write once run anywhere is no longer a goal either.
"It is not a goal to support all CPU architectures currently supported by HotSpot."
This pretty much validates the point of view that VM design is now baggage, as a sandbox it has been flawed, for performance it's been prohibitive, and cross platform portability by virtue of being virtual, was just a convenient byproduct.
AI now handles the portability, sandbox security hasn't changed (cf. docker still has sandbox problems, LLMs have sandbox problems, it's always an ongoing concern) and that just leaves Java, as always, chasing performance.
Re: JEP 544: Ahead-of-Time Code Compilation
#7I hope at some point we'll get AOT-only mode (or compile to native) and maybe even cross-compilation.
[1] -- https://www.graalvm.org/latest/reference-manual/native-image... [2] -- https://github.com/oracle/graal/issues/11327
Re: JEP 544: Ahead-of-Time Code Compilation
#8So we've gone full circle again? I suppose write once run anywhere is no longer a goal either. "It is not a goal to support all CPU architectures currently supported by HotSpot." This pretty much validates the point of view that VM design is now baggage, as a sandbox it has been flawed, for performance it's been prohibitive, and cross platform portability by virtue of being virtual, was just a convenient byproduct. A…
Re: JEP 544: Ahead-of-Time Code Compilation
#9I hope at some point we'll get AOT-only mode (or compile to native) and maybe even cross-compilation.
Re: JEP 544: Ahead-of-Time Code Compilation
#10Excelsior JET did that 25 years ago: https://en.wikipedia.org/wiki/Excelsior_JET It's a shame that Sun/Oracle never partnered with them to bring native apps. This could have saved Java on the desktop.
I don't remember if GCJ supported loading and running code dynamically with a built-in JIT or interpreter. I think it was just pure AOT, which caused some compatibility headaches.