mitchellh/libxev
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 + WASI. Available as both a Zig and C API. observed · 2026-08-28
Health v2 · maintenance only
73/100
- Activity 93
- Release rhythm 35
- Longevity 95
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1334
- days_rel: n/a
- days_push: 47
- n_releases_24m: 0
Adoption not part of the score
3572 stars · 187 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
libxev is a cross-platform, high-performance event loop library written in Zig that provides a unified proactor-style API for non-blocking IO, timers, signals, and events. It works on Linux (io_uring/epoll), macOS (kqueue), and WebAssembly (WASI and browser), and exposes both a Zig and C-compatible API.
Use cases
- build a high-performance async event loop for a network server
- write non-blocking TCP/UDP socket code across Linux and macOS
- run an event loop in WebAssembly or WASI environments
- replace libuv with a zero-runtime-allocation event loop
- schedule timers and process management in a Zig or C application
- offload blocking file IO to a shared thread pool
When to choose
- you need a libuv-style generalized event loop in Zig or C
- you want io_uring-style proactor semantics across multiple OS backends
- you target WebAssembly/WASI and need async IO without Emscripten
- predictable performance with zero runtime allocations matters, e.g. embedded or terminals
When to avoid
- you need mature Windows support (still planned)
- you want a batteries-included async runtime with tasks and futures like Tokio
- your stack is far from C/Zig and higher-level language runtimes suffice
Facets
library · maturity stable
concurrency networking http-server developer-tools developer-tools networking cross-platform performance backend wasm cross-platform cpp rust go event-loop io-uring kqueue epoll proactor async-io zig c-api wasi non-blocking-io timers linux macos
1 source
- readme: https://github.com/mitchellh/libxev · fetched 2026-08-28 · 0561a5498b9d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mitchellh/libxev | main | 73 |
For agents
markdown · JSON · MCP: product_card(name="mitchellh/libxev")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem