mitchellh/libxev
Cross-platform high-performance event loop library
- Chart
- Not on a chart right now
- Stars
- 3.6k
What it is
libxev is a cross-platform event loop library that abstracts non-blocking IO, timers, and events across Linux (io_uring, epoll), macOS (kqueue), and Wasm + WASI. It is written in Zig and exports both Zig and C APIs.
Who it is for
Developers building Zig or C applications that need a portable, low-overhead asynchronous event loop.
Why it is trending
It uses a zero-runtime-allocation Proactor API with no external runtime dependencies and is used in production by projects such as Ghostty and zml.
Main features
- Cross-platform support for Linux, macOS, and Wasm + WASI
- Zero-runtime-allocation Proactor completion API
- High-level and low-level APIs for timers, TCP/UDP, files, and processes
- Optional generic thread pool and Zig tree shaking
Summarized on November 17, 2026 from the README and repository data. It can be wrong; check the source before relying on it. Report a wrong summary