News for hackers. Stuff that matters.
Re:Io Uring by jupp0r on Monday May 22, 2023 @01:32PM (#36034289)
Would be great if this was integrated into runtimes like tokio. I can totally see graphs of promise chains being translated to calls to io_uring representing the underlying data dependencies and thus saving lots of overhead context switches.

Pretty cool to see how far IO APIs have come with this.

Re:Io Uring by Tanjreeve on Monday May 22, 2023 @02:55PM (#36035274)
There already is a tokio_uring. I'm still a bit dubious how much help it is for application level stuff outside of normal file operations. E.g the data dependencies stuff is a very granular scheduling operation to generalise in an easy to use way. But it's definitely real and worth watching.
Re:Io Uring by FridgeSeal on Tuesday May 23, 2023 @09:14AM (#36043791)
As fantastic as Tokio uring is, it only uses the uring interface for locals files, and not for the network access parts.

Glommio is a thread-per-core async executor/framework that supports io_uring however.

Re:Io Uring by nomaxx117 on Tuesday May 23, 2023 @07:21PM (#36052076)
Maintainer of tokio-uring here. It uses io_uring for the network APIs as well.
Re:Io Uring by FridgeSeal on Wednesday May 24, 2023 @07:17PM (#36065125)
Oh rad, my bad!

I read a while back that it only did fs, that was clearly incorrect/outdated/etc.