Hacker News new | ask | show | jobs
by ptx 812 days ago
It looks like the FFI (Project Panama) finally landed in Java 22, released a few days ago: https://openjdk.org/jeps/454

Unless that feature also has some weird limitation, you could probably use that to call the socket API in libc.