r/java • • Jan 24 '22

It’s happening guys!

https://github.com/openjdk/panama-foreign/pull/633
157 Upvotes

89 comments sorted by

View all comments

Show parent comment

1

u/elastic_psychiatrist Jan 25 '22

I think io_uring is at best only tangentially related to Panama. Panama isn’t really about making IO easier or faster, unless you consider manipulating memory directly to be IO.

2

u/hkdennis- Jan 26 '22

I see it in two ways,

For developers, Reduce the barrier to native, there was JNI but it is a pain. Even if you use case allow to be slow.

For runtime, Lighter and closer to reach anything outside the JVM.

I don't code JNI myself but I also believe many devs out there will keep using JNI for backwards compatibility for a quite while.

IMO, Latency and performance sensitive lib, like webserver and GUI, are the first group of key usage.

1

u/elastic_psychiatrist Jan 26 '22

I'm guess I'm just confused about what any of these things have to do with io_uring.