News for hackers. Stuff that matters.
Re:OpenJDK: Panama by grg0 on Sunday April 05, 2026 @07:44PM (#47655148)
I love it how Java is "innovating" by catching up to things that other programming languages have had for three decades.
Re:OpenJDK: Panama by marginalia_nu on Sunday April 05, 2026 @08:04PM (#47655306)
Well, yeah. It's the explicit design philosphy of the language to wait and see what works as other languages do the experimenting.
Re:OpenJDK: Panama by latchkey on Sunday April 05, 2026 @08:07PM (#47655330)
"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"?

Re:OpenJDK: Panama by grg0 on Sunday April 05, 2026 @08:11PM (#47655348)
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.

Re:OpenJDK: Panama by re-thc on Sunday April 05, 2026 @08:33PM (#47655502)
> 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?

Re:OpenJDK: Panama by latchkey on Sunday April 05, 2026 @08:38PM (#47655537)
This isn't new or innovating. This is "improving and enriching".

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

Re:OpenJDK: Panama by nayroclade on Sunday April 05, 2026 @08:44PM (#47655576)
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:OpenJDK: Panama by coldtea on Monday April 06, 2026 @06:06AM (#47658938)
>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, and it's not what we typically 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, to make sense 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".

Re:OpenJDK: Panama by millipede on Sunday April 05, 2026 @08:28PM (#47655460)
What other language does it better?
Re:OpenJDK: Panama by oaiey on Monday April 06, 2026 @10:45AM (#47661621)
C# / .NET. It was a big differentiator in one of our analysis.
Re:OpenJDK: Panama by vips7L on Thursday April 16, 2026 @01:57PM (#47797119)
Right, but you should be doing analysis and choosing the right tool for the job. 9/10 or probably more Java projects never need to use FFI because of the sheer size of the Java ecosystem. C# has always needed a better FFI story because its ecosystem is an order of magnitude smaller.
Re:OpenJDK: Panama by patmorgan23 on Sunday April 05, 2026 @10:24PM (#47656275)
Why are you mad they're making the language better?
Re:OpenJDK: Panama by coldtea on Monday April 06, 2026 @05:58AM (#47658858)
Beats just making a mess of a language adopting every fancy feature other programming languages have immediately.
Re:OpenJDK: Panama by izacus on Monday April 06, 2026 @10:43AM (#47661603)
What does your comment add to discussion instead of a pointless whine?