News for hackers. Stuff that matters.
Re:Talking to Postgres Through Java 16 Unix-Domain Socket Ch... by cashewchoo on Friday February 05, 2021 @10:13AM (#26037156)
I'm glad java is *finally* getting first-class unix domain socket support. It was one of my only qualms about using the language. I wish they offered more explicit unix signal handling, though I know some of the signals are reserved for internal use so it's probably a bit hard to let that cat out of the bag.
Re:Talking to Postgres Through Java 16 Unix-Domain Socket Ch... by pjmlp on Friday February 05, 2021 @02:10PM (#26040018)
It has always been a couple of JNI calls away anyway, this just makes it more practicable.
Re:Talking to Postgres Through Java 16 Unix-Domain Socket Ch... by tyingq on Friday February 05, 2021 @12:53PM (#26039125)
Interesting that they left out socketpair() and sendmsg() for file descriptors though.
Re:Talking to Postgres Through Java 16 Unix-Domain Socket Ch... by xxs on Friday February 05, 2021 @02:12PM (#26040046)
doing via JNI or JNA (for no C code) is beyond trivial. For instance we have integration with systemd - the code is around one screen.