zig-aio - asynchronous IO and coroutines powered by io_uring inspired API #1347
Cloudef
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I've written a asynchronous IO module for zig which is heavily inspired by io_uring.
It does not yet support all the nice things io_uring can do, but I've had positive feedback and it seems to perform already pretty competitively against some popular event loops (tokio, etc...), while it tries to have low abstraction on top of io_uring, it has compatibility backends for posix systems and windows (through IOCP) that emulate io_uring -like interface.
Funnily enough, depending on the workload the opportunistic posix backend can still be faster than io_uring.
https://github.com/Cloudef/zig-aio
Beta Was this translation helpful? Give feedback.
All reactions