awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
libuv avatar

libuv/libuv

0
View on GitHub↗
26,912 星标·3,885 分支·C·MIT·1 次浏览libuv.org↗

Libuv

libuv is a cross-platform asynchronous I/O library that provides an abstraction layer for event-driven networking, filesystem operations, and system signals. It utilizes a non-blocking event loop to coordinate asynchronous tasks and I/O events across different operating systems.

The project features a unified interface for managing TCP, UDP, and DNS resolution, alongside an inter-process communication layer for sharing sockets via named pipes and Unix domain sockets. To prevent blocking the main execution loop, it includes a multi-platform thread pool for offloading computationally expensive work.

Beyond networking and threading, the library covers asynchronous filesystem access and real-time event monitoring. It also provides tools for child process management, system signal handling, and high-resolution timing for performance tracking.

Core capabilities are exposed to multiple programming languages through community-maintained bindings and wrappers.

Features

  • Asynchronous I/O Libraries - Provides a cross-platform abstraction layer for event-driven networking, filesystem operations, and system signals using a non-blocking event loop.
  • Event Loops - Implements a cross-platform asynchronous event loop for coordinating non-blocking I/O and concurrent connections.
  • Filesystem Abstractions - Provides a unified interface for cross-platform file access, abstracting away OS-specific differences.
  • Asynchronous Networking - Handles TCP and UDP sockets and DNS resolution using a non-blocking event loop.
  • Event-Driven Networking - Implements a high-performance runtime model for managing TCP, UDP, and DNS resolution using non-blocking I/O.
  • Socket Abstractions - Offers a unified asynchronous interface for managing TCP, UDP, and DNS resolution.
  • Cross-Platform Asynchronous I/O Abstractions - Provides a consistent, unified interface for handling networking and filesystem operations across different operating systems.
  • Asynchronous File Access - Enables performing disk reads, writes, and file change monitoring without blocking the main execution thread.
  • Asynchronous - Provides a common, consistent interface for asynchronous networking and filesystem operations across multiple platforms.
  • OS Abstraction Layers - Provides an abstraction layer that wraps OS-specific mechanisms like epoll, kqueue, and IOCP into a unified interface.
  • File System Operations - Provides standardized functions for performing basic file system tasks asynchronously.
  • Asynchronous Event Loops - Coordinates non-blocking I/O operations using a system event-driven execution model.
  • Thread Pools - Ships a multi-platform thread pool to offload CPU-intensive and blocking filesystem operations from the main event loop.
  • Asynchronous Event Notification Libraries - Provides a library of primitives for executing callbacks when system events occur on timers or file descriptors.
  • Non-blocking IO Architectures - Employs non-blocking I/O architectures to monitor multiple network descriptors simultaneously without stalling execution.
  • File System Monitors - Implements utilities that track and report changes to files and directories in real time.
  • Cross-Thread Synchronizers - Implements synchronizers to coordinate execution timing and shared state between main and worker threads.
  • Inter-Process Communication Layers - Provides a layer for sharing sockets and communicating between processes using Unix domain sockets and named pipes.
  • Asynchronous Address Resolvers - Implements asynchronous DNS lookups to translate hostnames into IP addresses without blocking execution.
  • Inter-Process Communication - Facilitates inter-process communication through named pipes and Unix domain sockets.
  • Synchronization Primitives - Implements low-level synchronization primitives such as mutexes and condition variables to coordinate shared state across threads.
  • Language Wrappers - Exposes core C capabilities to multiple programming languages through community-maintained bindings and wrappers.
  • Background Thread Dispatchers - Routes heavy computations to background threads to maintain the responsiveness of the main application loop.
  • Child Process Execution - Provides capabilities for spawning and controlling external system processes to execute tasks asynchronously.
  • OS Signal Handlers - Intercepts and processes operating system signals to manage application lifecycles and handle interrupts gracefully.
  • Asynchronous Event Loop - Core library for cross-platform asynchronous I/O.
  • 构建系统 - A cross-platform library for asynchronous I/O.
  • Network Libraries - Cross-platform asynchronous I/O abstraction layer.
  • TUI Libraries - Asynchronous I/O library for C.
  • Web Development - Cross-platform asynchronous I/O library.

Star 历史

libuv/libuv 的 Star 历史图表libuv/libuv 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Libuv 的开源替代方案

相似的开源项目,按与 Libuv 的功能重合度排序。
  • chenshuo/muduochenshuo 的头像

    chenshuo/muduo

    16,157在 GitHub 上查看↗

    Muduo is a C++11 event-driven network library and framework designed for building high-concurrency Linux servers. It provides a toolkit for implementing scalable network services and socket communication using non-blocking I/O and asynchronous event processing. The framework implements a multi-threaded TCP server architecture that distributes connection handling across multiple CPU threads to maximize server throughput. This is achieved through a one-loop-per-thread model and a reactor pattern implementation, which dispatch network events from a central demultiplexer to registered handler fun

    C++
    在 GitHub 上查看↗16,157
  • libevent/libeventlibevent 的头像

    libevent/libevent

    11,914在 GitHub 上查看↗

    Libevent is a cross-platform library that provides a mechanism for executing callback functions when specific events occur on file descriptors, signals, or timers. It functions as a network event loop framework, enabling the development of applications that manage concurrent network connections and non-blocking input and output operations within a single execution context. The library distinguishes itself by providing a portable abstraction layer that automatically selects the most efficient system-level event notification mechanism available on the host operating system. It includes thread-s

    Casyncccross-platform
    在 GitHub 上查看↗11,914
  • azure/dotnettyAzure 的头像

    Azure/DotNetty

    4,238在 GitHub 上查看↗

    DotNetty is an asynchronous network framework and event-driven networking library for .NET. It is a port of the Netty architecture designed for building high-performance protocol servers and clients. The framework enables the development of network applications that handle concurrent connections and high-throughput data streaming without blocking execution threads. It supports the implementation of custom network protocols through defined encoding and decoding rules. The library utilizes a pipeline-based processing model and non-blocking I/O to manage network traffic. Its architecture incorp

    C#networkingprotocols
    在 GitHub 上查看↗4,238
  • chriskohlhoff/asiochriskohlhoff 的头像

    chriskohlhoff/asio

    5,896在 GitHub 上查看↗

    Asio is a C++ library for performing network and low-level I/O operations using a consistent asynchronous model that avoids blocking program execution. It provides a portable, cross-platform interface for network socket communication across different operating systems, and manages multiple asynchronous operations without requiring explicit thread management or locking. The library implements a proactor-based asynchronous model where operations post completion handlers to a queue for later execution, and wraps operating system I/O multiplexing mechanisms like epoll, kqueue, IOCP, and select in

    C++
    在 GitHub 上查看↗5,896
查看 Libuv 的所有 30 个替代方案→

常见问题解答

libuv/libuv 是做什么的?

libuv is a cross-platform asynchronous I/O library that provides an abstraction layer for event-driven networking, filesystem operations, and system signals. It utilizes a non-blocking event loop to coordinate asynchronous tasks and I/O events across different operating systems.

libuv/libuv 的主要功能有哪些?

libuv/libuv 的主要功能包括:Asynchronous I/O Libraries, Event Loops, Filesystem Abstractions, Asynchronous Networking, Event-Driven Networking, Socket Abstractions, Cross-Platform Asynchronous I/O Abstractions, Asynchronous File Access。

libuv/libuv 有哪些开源替代品?

libuv/libuv 的开源替代品包括: chenshuo/muduo — Muduo is a C++11 event-driven network library and framework designed for building high-concurrency Linux servers. It… libevent/libevent — Libevent is a cross-platform library that provides a mechanism for executing callback functions when specific events… azure/dotnetty — DotNetty is an asynchronous network framework and event-driven networking library for .NET. It is a port of the Netty… chriskohlhoff/asio — Asio is a C++ library for performing network and low-level I/O operations using a consistent asynchronous model that… ithewei/libhv — libhv is a high-performance C/C++ network library and event-driven I/O framework used to build TCP, UDP, SSL, HTTP,… cesanta/mongoose — Mongoose is an embedded networking library providing TCP/IP stacks, web server hosting, and IoT device connectivity.…