OpenJDK: Panama

(openjdk.org)

57 points | by tosh 17 hours ago

3 comments

  • andy800 11 hours ago
    Part of Panama is the Vector API, currently in "incubation". Kotlin Notebooks are a great dataframe alternative to pandas or polars in Python (and dplyr in R), and work fine for relatively small data sets, but are indeed slower when dealing with calculations on large data. Vectors should reduce that gap significantly.
    • corroclaro 11 hours ago
      Check out the Clojure tech.ml.dataset libraries - they are very very fast
      • andy800 10 hours ago
        Really cool, thanks.
  • pjmlp 5 hours ago
    A great improvement, already available for a few Java versions, that most likely Android Java will never support.
  • grg0 12 hours ago
    I love it how Java is "innovating" by catching up to things that other programming languages have had for three decades.
    • marginalia_nu 11 hours ago
      Well, yeah. It's the explicit design philosphy of the language to wait and see what works as other languages do the experimenting.
    • coldtea 1 hour ago
      Beats just making a mess of a language adopting every fancy feature other programming languages have immediately.
    • patmorgan23 9 hours ago
      Why are you mad they're making the language better?
    • millipede 11 hours ago
      What other language does it better?
    • latchkey 11 hours ago
      "We are improving and enriching the connections between the Java virtual machine and well-defined but “foreign” (non-Java) APIs, including many interfaces commonly used by C programmers."

      Where does it say "innovating"?

      • grg0 11 hours ago
        They are doing something new in the language -> innovating.

        JNI was always the wrong way to do FFI. FFI should require no changes or wrappers in the native code; anything short of that is unnecessary and inefficient. Yet, somehow, in Java land, this is still the norm in 2026?

        I'd really want to love Java, but man, it has a long laundry list of warts and a near-zero pace of innovation.

        • coldtea 1 hour ago
          >They are doing something new in the language -> innovating

          You're just playing with words, confusing two scopes of "innovation" to maintain your argument.

          In typical use innovation in a programming language means adding something new in general (meaning across other languages too, or e.g. only seen in niche or reaches languages up to that point).

          Nobody calls Python adding some feature "innovation", unless that feature is something noval conceptually or was not seen in other major languages.

          Nobody in Java land says Java is "innovating" in this sense with these changes, either.

          Yes, innovation can also technically mean "add something new" even if it's just new to the language. But that's not what people use the term for, it's not what we typicall call an innovation in HN either.

          And of course, nobody in Java HQ used the term innovation for these changes, whether in the standard sense, or this more limited one, in order for you to call them on that.

          So no, this is not what "passes for innovation" in Java land, and nobody claims that. This is what passes for a "long overdue incremental improvement".

        • nayroclade 11 hours ago
          If you include a word like innovating in quotes it typically implies that you're quoting it from the link. It can also signify irony, but in a context like HN where we're discussing a published article, it's often ambiguous.

          As for Java, I'd agree that its pace of advance was pretty glacial during the Sun era, but from what I've seen has picked up considerably since the Oracle acquisition and Brian Goetz became architect.

          And however bad Java is, it's nothing compared to JavaScript. It takes a decade just to add new a library function, and every new syntax proposal is DOA.

        • re-thc 11 hours ago
          > Yet, somehow, in Java land, this is still the norm in 2026?

          FFM (what this article refers to) was released some releases ago. So what is the issue? If you mean what 3rd party libraries use - is that a concern to you? That's like saying there exists legacy code.

          > it has a long laundry list of warts

          It's such a surprise because you haven't even mentioned 1.

          > and a near-zero pace of innovation

          Garbage collection? ZGC?

        • latchkey 11 hours ago
          This isn't new or innovating. This is "improving and enriching".

          You're unfairly trying to hold making improvements against them.