← Back to context Comment by qudat 1 day ago Wow nice! How does this compare to libxev? 3 comments qudat Reply jfadfwddas 1 day ago I was curious as well and looks like this abstracts over libxev: https://github.com/lalinsky/zio/blob/main/build.zig#L7 lukaslalinsky 17 hours ago Indeed, it's a translation of the callback-based libxev events to coroutines. I ended up temporarily forking libxev, to add support for vectored I/O and other small fixes, but all those changes will be upstreamed. jfadfwddas 4 hours ago Great stuff. I will be using this if/when I go back to zigging :)
jfadfwddas 1 day ago I was curious as well and looks like this abstracts over libxev: https://github.com/lalinsky/zio/blob/main/build.zig#L7 lukaslalinsky 17 hours ago Indeed, it's a translation of the callback-based libxev events to coroutines. I ended up temporarily forking libxev, to add support for vectored I/O and other small fixes, but all those changes will be upstreamed. jfadfwddas 4 hours ago Great stuff. I will be using this if/when I go back to zigging :)
lukaslalinsky 17 hours ago Indeed, it's a translation of the callback-based libxev events to coroutines. I ended up temporarily forking libxev, to add support for vectored I/O and other small fixes, but all those changes will be upstreamed. jfadfwddas 4 hours ago Great stuff. I will be using this if/when I go back to zigging :)
I was curious as well and looks like this abstracts over libxev: https://github.com/lalinsky/zio/blob/main/build.zig#L7
Indeed, it's a translation of the callback-based libxev events to coroutines. I ended up temporarily forking libxev, to add support for vectored I/O and other small fixes, but all those changes will be upstreamed.
Great stuff. I will be using this if/when I go back to zigging :)