Skip to content

Commit

Permalink
Merge pull request #270 from compio-rs/George-Miao-patch-1
Browse files Browse the repository at this point in the history
doc: Update README.md
  • Loading branch information
Xuanwo authored Jun 20, 2024
2 parents 7bf10c4 + 549616c commit d75b76e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ This crate is inspired by [monoio](https://github.com/bytedance/monoio/).

## Why not Tokio?

Tokio is a great generic-propose async runtime.
Tokio is a great generic-purpose async runtime.
However, it is poll-based, and even uses [undocumented APIs](https://notgull.net/device-afd/) on Windows.
We would like some new high-level APIs to perform IOCP/io_uring.

Unlike `tokio-uring`, this runtime isn't Tokio-based.
This is mainly because that no public APIs to control IOCP in `mio`,
and `tokio` won't public APIs to control `mio` before `mio` reaches 1.0.
and `tokio` won't expose APIs to control `mio` before `mio` reaches 1.0.

## Why not monoio/tokio-uring/glommio?

Expand All @@ -30,7 +30,7 @@ They don't support Windows.
Add `compio` as dependency:

```
compio = { version = "0.10.0", features = ["macros"] }
compio = { version = "0.11.0", features = ["macros"] }
```

Then we can use high level APIs to perform filesystem & net IO.
Expand Down

0 comments on commit d75b76e

Please sign in to comment.