qmetrics.net

libuv

Cross-platform asynchronous I/O support library

libuv screenshot

libuv is a multi-platform library centered on non-blocking I/O. Node.js and several other runtimes embed it for networking and event handling.

Overview

libuv provides portable abstractions for asynchronous input and output on Unix-like systems, macOS, Windows, and other supported platforms. It was built mainly for Node.js and also powers projects such as Luvit, Julia integrations, and uvloop.

The library exposes a full event loop implementation backed by epoll, kqueue, IOCP, or event ports depending on the host OS. Around that loop sit non-blocking TCP and UDP sockets, DNS lookups, file and filesystem operations, directory change notifications, and TTY control with ANSI escape sequences.

Inter-process communication can share sockets through Unix domain sockets or Windows named pipes. Child process management, a worker thread pool, signal handling, high-resolution timers, and threading primitives round out the surface area developers use when building networked or I/O-heavy applications.

Semantic versioning applies from release 1.0.0 onward, with a stable ABI maintained across major versions so binaries linked against one major line remain compatible as the project evolves.

Key features

  • Event loop with epoll, kqueue, or IOCP
  • Asynchronous TCP and UDP
  • Non-blocking DNS resolution
  • Async file and filesystem APIs
  • Filesystem change notifications
  • Unix or Windows IPC socket sharing
  • Child processes and thread pool
  • Signals and synchronization primitives

Use cases

  • Runtime networking and I/O core
  • Event-driven server backends
  • Cross-platform async file access
  • Portable process and IPC handling

Tags

Similar software

Netty

Event-driven Java framework for protocol servers and clients

Netty is an asynchronous, event-driven network stack for building maintainable high-performance protocol servers and clients in Java.

★ 35.1k⟳ todayApache-2.0

Tokio

Rust runtime for reliable asynchronous network applications

Tokio is an event-driven, non-blocking I/O platform for asynchronous Rust programs. It supplies scheduling, timers, async TCP and UDP, and building blocks for network services.

★ 33.8k⟳ todayMIT
Frameworks & PlatformsDesktop/CLI app

Ws

Node.js WebSocket client and server library

The ws package implements WebSocket client and server roles for Node.js. It is not for browser runtimes; front ends should use the native WebSocket API or an isomorphic wrapper.

★ 22.8k⟳ todayMIT
Frameworks & PlatformsDesktop/CLI app

WebRTC

Pure Go WebRTC stack for real-time media

Pion WebRTC implements the WebRTC API in Go without cgo, enabling peer connections, media, data channels, and ICE across servers, desktops, mobile, and WebAssembly targets.

★ 16.9k⟳ 3 days agoMIT
Frameworks & PlatformsDesktop/CLI app

Workflow

C++ async networking and parallel workflow engine

Sogou C++ Workflow is an enterprise-style C++ engine for HTTP servers, async clients, DAG workflows, and parallel compute used in Sogou’s online backends.

★ 14.4k⟳ 2 days agoApache-2.0

PeerJS

Browser WebRTC library for peer data and media connections

PeerJS wraps WebRTC with a simple JavaScript API for encrypted peer-to-peer data channels and video or audio calls between browsers.

★ 13.5k⟳ 1 year agoMIT
Frameworks & PlatformsDesktop/CLI app