tokio-rs / mio

Metal I/O library for Rust.
MIT License
6.33k stars 734 forks source link

IoRing support for windows #1697

Open ghost opened 1 year ago

ghost commented 1 year ago

IoRing is a new windows api.

Thomasdezeeuw commented 1 year ago

Duplicate of https://github.com/tokio-rs/mio/issues/1591. Basically it's a maybe for Mio v2, otherwise you can look at https://github.com/Thomasdezeeuw/a10 which works on Linux currently.

dlight commented 5 months ago

Note that I/O ring is a Windows API, while io_uring is a Linux API. A10 is a crate for Linux io_uring, not Windows I/O rings.

Here is a comparison between the two APIs.

So, this is not a duplicate I think.

Thomasdezeeuw commented 5 months ago

I'll reopen, but it think the design is fairly similar between Windows' I/O ring and Linux's io_uring. Neither of which is compatible with Mio's current design.