Get the latest tech news

libxev: A cross-platform, high-performance event loop


libxev is a cross-platform, high-performance event loop that provides abstractions for non-blocking IO, timers, events, and more and works on Linux (io_uring or epoll), macOS (kqueue), and Wasm + W...

If you want a production ready, high quality, generalized event loop implementation check out libuv, libev, etc. Two, I wanted to build a library like this around the design patterns of io_uring, even mimicking its style on top of other OS primitives ( credit to this awesome blog post). This lets libxev support optional "nice-to-have" functionality that may be considered "bloat" in some cases, but the end user doesn't have to pay for it.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of libxev

libxev