3 ms·
Doesn't work because it relies on caller-managed buffers. See withoutboats' post: https://without.boats/blog/io-uring/ https://without.boats/blog/io-uring/
by pcwalton 6y ago
Doesn't work because it relies on caller-managed buffers. See withoutboats' post: https://without.boats/blog/io-uring/ https://without.boats/blog/io-uring/
- newpavlov 6y agoIt does not work in the current version of Rust, but it's not given that a backwards-compatible solution for it could not have been designed, e.g. by using a deeper integration of async tasks with the language or by adding proper linear types, thus all the discussions around reliable async Drop. The linked blog post takes for given that we should be able to drop futures at any point in time, which while being convenient has a lot of implications.