JDK 28

(openjdk.org)

33 points | by ejboy 2 hours ago

2 comments

  • amelius 50 minutes ago
    I'm not a Java person, but I'm curious how fast it is nowadays, and also the startup time. Can it be used to write shell commands with, for example?
    • __natty__ 13 minutes ago
      Very fast. And yes, it can be used for small apps too. With java problem now is not the performance but how verbose still it is. However, it's much better since Java 17 and each release make it even more compact and direct. Like in this release we got much better built-in support for JSON.
    • ww520 20 minutes ago
      I'm using JDK 21 (old) and the startup time is sub-second for small programs.
      • Havoc 3 minutes ago
        That’s not the flex you seem to think
        • ww520 1 minute ago
          It wasn't meant to be a flex.
    • jiggawatts 38 minutes ago
      Every time I try, I keep going back to .NET, which has been optimising for faster startup time.

      Almost all Java benchmarks are for the "steady state" after half an hour of warm up time.

      • kg 24 minutes ago
        Doesn't Java have an AOT solution too? Is it not ready for prime time?
        • miroljub 14 minutes ago
          It is, but people like to bash Java ;)
  • MrBuddyCasino 23 minutes ago
    JEP 540: Simple JSON API

      > trailing commas and comments are not supported
    
    Be strict in what you produce, be lenient in what you accept. Grr.