logoalt Hacker News

jeberletoday at 4:48 AM1 replyview on HN

Not sure what you mean by "primitive support". Java 22 added FFM (Foreign Function & Memory). It works w/ both on-heap & off-heap memory. It has an Arena interface.

https://openjdk.org/jeps/454

https://docs.oracle.com/en/java/javase/25/docs/api/java.base...


Replies

Dylan16807today at 6:05 AM

So, one year ago? After more than 25 years without it?

And a lot of people writing Java can't update to that.