5 comments

  • SillyUsername 2 minutes ago

    So 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.

    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.

  • cyberax 13 minutes ago

    Excelsior 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.

      patwolf 12 minutes ago

      IBM's J9 had AOT for a long time too. I wonder how JEP 544 compares.

  • java-man 33 minutes ago

    I hope at some point we'll get AOT-only mode (or compile to native) and maybe even cross-compilation.

      invalidname 19 minutes ago

      We have that in Codename One, yes it's not really "Java" but it compiles bytecode AOT and cross compiles to some of the platforms.