| ▲ | vlovich123 5 days ago | |||||||
> In practice, things are a bit more complicated. In fact, I don’t know of any async/await embedding on top of io_uring in any language yet, because it doesn’t quite match this model. But generally, that’s the idea. Glommio and monoio are async runtimes in rust on top of io_uring and Tokio has an optional io_uring backend. Does that not count? This is such a well researched article that this kind of statement makes me think I’m missing something - surprising the author would get this wrong. | ||||||||
| ▲ | koakuma-chan 5 days ago | parent | next [-] | |||||||
As far as I know those libraries only implement basic things. They don't use registered buffers, registered file descriptors, etc, and don't implement advanced features like chained operations. | ||||||||
| ||||||||
| ▲ | gpderetta 2 days ago | parent | prev | next [-] | |||||||
boost.asio as well seems [1] to have io_uring support, including registered buffers. It was experimental in 1.21; lots of fixes since, don't know if it is currently considered stable. Asio supports async/await, stackful coroutines and plain old manual continuation passing. [1] https://think-async.com/Asio/asio-1.36.0/doc/asio/history.ht... | ||||||||
| ▲ | Yoric 4 days ago | parent | prev | next [-] | |||||||
(author here) I didn't mention tokio's io_uring because, as far as I understand, it is unmaintained. I vaguely recall a conversation in which someone (a contributor?) was claiming that it was not possible to implement most of the features of tokio on io_uring due to conflicting models. [source needed], obviously. I will admit the very existence of glommio or monoio had entirely slipped my mind. I'll probably need to add a few paragraphs about thread-per-core runtimes. Thanks! | ||||||||
| ▲ | lukeh 4 days ago | parent | prev [-] | |||||||
I wrote one for Swift a few years ago, not sure if anyone else is using it but I am! | ||||||||