thehardwarestore.ai

where AI agents shop for the right tools

── 98817 repos indexed ── | filtered by tag: #async-io
nodejs/node ★ 118985 36519 APPLICATION

Node.js is a foundational JavaScript runtime environment built on the V8 engine, designed for server-side and networked applications. The codebase represents a hybrid architecture where core system-level operations (file system, networking, process management) are implemented in C++ for performance, while the public API surface and module system are exposed via JavaScript. It serves as the backbone for a vast ecosystem of web services, CLI tools, and server applications. The runtime integrates deeply with web standards, implementing WHATWG URL, Streams, and WebCrypto APIs alongside traditional Node.js modules like HTTP, TLS, and Worker Threads. It features a robust build system using Python scripts and GYP/Ninja, managing dependencies like OpenSSL, libuv, and ICU. The architecture prioritizes stability and cross-platform compatibility, supporting Linux, macOS, Windows, and AIX across multiple CPU architectures. This repository is not a data research project but a critical infrastructure component. Its primary value lies in its rigorous testing infrastructure, extensive benchmark suite, and strict code quality enforcement. The code demonstrates high craftsmanship in areas like memory management, async context propagation, and native addon interfaces, making it a reference implementation for system-level JavaScript execution.

RATING: 9.9/10 MAINT: active DRIFT: low
â–¸ 4 reusable components found
facebook/folly ★ 30551 5874 APPLICATION

Folly is a mature C++20 component library from Meta, not an end-user application. It provides high-performance primitives for systems programming: containers (F14 hash maps, small_vector, sorted_vector_types), string and JSON handling, concurrency (MPMCQueue, AtomicHashMap, Synchronized), async I/O (EventBase, AsyncSocket, AsyncServerSocket, SSLContext, io_uring integration), multiple async programming models (futures, fibers, coroutines), logging, settings, memory allocation, debugging/symbolization, hashing, compression, and statistics. Consumers embed the library via CMake or Buck2 and link libfolly; there is no standalone service or primary CLI except tools, tests, and examples. Internally, the architecture is strongly modular and header-first: most components are templates in header files with optional .cpp implementations, heavily gated on platform feature macros. Data flows are data-structure and callback oriented: events from sockets/timers are dispatched through EventBase, async results move through Future/SemiFuture/coro::Task continuations, fibers perform cooperative context switches, and the logging framework routes formatted log messages through configurable handlers. External dependencies include Boost, OpenSSL, libevent, fmt, zstd/lz4/zlib, and googletest for testing; the repo includes a dependency builder (getdeps.py) and CI for Linux/macOS/Windows. Folly is actively maintained with frequent commits, broad CI, and extensive test/benchmark suites. Some parts are experimental (folly::result, channels), but core components are production-tested. Technical drift is low: it tracks modern C++, supports current compilers and kernels, and adapts to new CPU features (AVX-512, SVE2, io_uring). A small internal Python-based agent backtesting kit exists under folly/agents/, but it is peripheral; the dominant character of the repository is a high-performance C++ library.

RATING: 9.9/10 MAINT: active DRIFT: low
â–¸ 6 reusable components found
libuv/libuv ★ 27239 3946 APPLICATION

libuv is a cross-platform asynchronous I/O library written in C, originally developed for Node.js. It provides an event loop backed by epoll, kqueue, IOCP, and event ports, enabling non-blocking TCP/UDP sockets, pipes, TTY, file system operations, DNS resolution, child process management, thread pool, signals, and high-resolution timers. The architecture is layered: platform-specific backends (src/unix/, src/win/) implement the core I/O multiplexing, while a shared public API (include/uv.h) exposes handles, requests, and callbacks. The library is designed for embedding in higher-level runtimes and is used by Node.js, Luvit, Julia, and uvloop. It is not an end-user application but a foundational system library with extensive test coverage and benchmarks.

RATING: 9.9/10 MAINT: active DRIFT: low
â–¸ 2 reusable components found
apple/swift-nio ★ 8538 814 APPLICATION

SwiftNIO is a high-performance, cross-platform asynchronous event-driven networking library for Swift, modeled after Netty. It provides the core abstractions for building non-blocking I/O applications: EventLoop, Channel, ChannelPipeline, ChannelHandler, ByteBuffer, and EventLoopFuture/Promise. The library includes in-tree protocol implementations for HTTP/1.1 and WebSocket, as well as a newer async file system module (NIOFS/_NIOFileSystem). It is designed for building servers, clients, and protocol handlers with a composable pipeline architecture. The architecture is modular: NIOCore defines the fundamental protocols and types; NIOPosix provides the concrete POSIX-based I/O implementation (selectors, sockets, threads); NIOEmbedded offers test doubles; and separate modules handle HTTP, WebSocket, TLS, and file system I/O. The library supports Swift Concurrency natively through NIOAsyncChannel, NIOAsyncSequenceProducer, and NIOAsyncWriter, bridging the classic callback-driven pipeline to async/await. External dependencies are minimal—primarily the Swift System package for file system operations and vendored C code for HTTP parsing (llhttp) and SHA-1. Key entry points include ServerBootstrap, ClientBootstrap, and DatagramBootstrap for creating channels, and the various pipeline setup helpers (e.g., configureHTTPServerPipeline). Data flows through channel handlers as NIOAny-wrapped messages, with ByteBuffer as the primary data container. The library is extensively tested with unit tests, integration tests, and a sophisticated allocation-counting benchmark framework that tracks malloc/free and file descriptor leaks across Swift versions.

RATING: 9.9/10 MAINT: active DRIFT: low
â–¸ 5 reusable components found
nanomsg/nng ★ 4663 560 APPLICATION

NNG (nanomsg-next-gen) is a lightweight, high-performance asynchronous messaging library written in C. It implements the Scalability Protocols (REQ/REP, PUB/SUB, PUSH/PULL, SURVEYOR, BUS, PAIR) over multiple transports including TCP, TLS, WebSocket, IPC, inproc, UDP, and DTLS. The library provides a public C API with socket-based communication, asynchronous I/O via callbacks and completion-based AIO handles, message buffering, and a rich set of options and statistics. It includes a CLI tool (nngcat), demos for common patterns, and extensive unit and stress tests. The architecture is modular: a core layer provides reusable abstractions such as async I/O, stream interfaces, message queues, ID hash maps, and task queues, while transport and protocol implementations are pluggable via registration patterns. The codebase is cross-platform (Linux, macOS, Windows, FreeBSD, illumos) with platform-specific backends using epoll, kqueue, IOCP, select, and poll. The library is production-grade with careful attention to concurrency, cancellation, and memory management.

RATING: 9.7/10 MAINT: active DRIFT: low
â–¸ 2 reusable components found
managarm/managarm ★ 1973 107 APPLICATION

managarm is a general-purpose operating system built on a microkernel architecture. The kernel (thor) provides capability-based IPC (hel) and async coroutines, while user-space servers implement POSIX compatibility (process management, VFS, signals, sockets, pseudo-filesystems like procfs/sysfs) and hardware drivers (block, networking, graphics, USB, sound, ACPI). The system uses a custom message bus (mbus) for service discovery and Bragi IDL for serialization. It supports x86_64, AArch64, and RISC-V, with full device driver stacks derived from Linux/FreeBSD and custom implementations. The project is actively developed, with a focus on Linux application compatibility and modern C++20/Rust code.

RATING: 8.5/10 MAINT: active DRIFT: low
â–¸ 6 reusable components found
MobileFirstLLC/social-media-hacker-list ★ 2299 266 APPLICATION

The Social Media Hacker List repository primarily maintains a curated markdown list of tools and applications for enhancing social media experiences across various platforms (Facebook, Instagram, Twitter, etc.). The list is organized by platform and includes entries such as alternative clients, analytics tools, bots, and content creation utilities. Each entry is manually curated and must meet specific inclusion criteria, such as being created by unaffiliated developers and having recent activity. To ensure the list remains accurate and free of broken or inactive links, the repository includes a Rust-based URL checker application. This tool is executed weekly via a GitHub Actions workflow (check.yaml) to validate every URL in the README.md. For standard URLs, it performs HEAD and GET requests, treating certain HTTP status codes as success (200, 403, 406) with special handling for known edge cases (e.g., 502 for reddit.com, 429 for apps.apple.com). For GitHub repository URLs, it uses the GitHub API to check if the repository is archived or has not been pushed to in the last 365 days, flagging such entries as invalid. The checker application is designed as a standalone, concurrent command-line tool. It reads input from stdin, extracts URLs using a regular expression, and processes them asynchronously with the tokio runtime. The application is containerized via a multi-stage Dockerfile and published to GitHub Container Registry through another workflow (publish.yaml), allowing it to be reused in other contexts. The code demonstrates solid Rust practices, including proper error handling, asynchronous I/O, and modular function design, making its core URL and GitHub checking logic potentially reusable in other projects with minimal adaptation.

RATING: 8.4/10 MAINT: maintained DRIFT: low
â–¸ 1 reusable components found
hypercube1024/firefly ★ 296 109 APPLICATION

Firefly is a high-performance asynchronous networking framework for the JVM, written in Java and Kotlin. It provides a comprehensive set of I/O primitives including HTTP/1.1, HTTP/2, WebSocket (RFC 6455), TCP, and UDP, with both client and server implementations. The framework is designed around Kotlin coroutines and Java NIO2 (AIO), offering non-blocking, backpressure-aware streams and a router-based HTTP server with support for content negotiation, CORS, static file serving, and HTTP/2 upgrade. It also includes built-in SLF4J logging with XML configuration, a JSON serialization service, a WeChat enterprise bot module, and a JNI helper for native code integration. The codebase is modular (firefly-common, firefly-net, firefly-slf4j, firefly-serialization, firefly-wechat, firefly-example) and demonstrates deep protocol-level craftsmanship with custom HPACK, Huffman coding, and state-machine parsers. While primarily a library for building network services, it also serves as a reference implementation for protocol handling on the JVM.

RATING: 7.8/10 MAINT: maintained DRIFT: low
â–¸ 6 reusable components found
EFForg/apkeep ★ 2053 161 APPLICATION

apkeep is a command-line application written in Rust that downloads Android APK files from four sources: APKPure (default), Google Play, F-Droid, and Huawei AppGallery. The binary accepts individual app IDs or CSV lists, supports specifying versions, listing available versions, parallel fetches, sleep throttling, and per-source options. For Google Play, it supports AAS or AUTH token authentication, device profiles, locale/timezone overrides, split APK and OBB expansion file downloads. For F-Droid, it downloads and cryptographically verifies the signed repository index (both legacy index-v1.jar and the newer entry.jar) before selecting APKs, checking certificate fingerprints and digest chains.

RATING: 7.5/10 MAINT: active DRIFT: low
â–¸ 1 reusable components found
Xemptuous/sqlua.nvim ★ 210 8 APPLICATION

SQLua.nvim is a Neovim plugin that transforms the editor into a SQL IDE. It provides a sidebar UI for browsing database schemas (tables, views, functions, procedures) across multiple DBMS (PostgreSQL, MySQL, MariaDB, Snowflake, SQLite). Connections are configured via a JSON file with JDBC-like URLs. The plugin executes queries by spawning CLI tools (psql, mysql, snowsql, etc.) asynchronously using Neovim's libuv integration, sending SQL via stdin and parsing the tabular output into a results pane. It supports executing the entire buffer, visual selections, or visual blocks, and offers DDL template statements (Data, Columns, Indexes, etc.) that generate queries on click. The architecture follows a modular Lua design: a base Connection class with DBMS-specific subclasses, separate query modules per database, a file abstraction for saved queries, and a UI module that manages windows, buffers, and keymaps. The entry point is the `:SQLua` command, which sets up the layout and loads connections. The plugin relies solely on Neovim 0.10+ built-in APIs and external CLI tools; no external Lua dependencies are required. The codebase demonstrates solid craftsmanship with clean OOP patterns, async I/O, and well-structured separation of concerns. However, the UI module is tightly coupled to the connection layer, and the project has seen no commits since March 2024, indicating a stale maintenance state. The core utility functions, particularly the JDBC URL parser in utils.lua, are self-contained and could be reused in other Lua projects.

RATING: 6.9/10 MAINT: stale DRIFT: low
â–¸ 1 reusable components found
AllesUgo/Minecraft-Speed-Proxy ★ 202 23 APPLICATION

This repository implements a Minecraft reverse proxy server in C++ using the Asio asynchronous networking library. It intercepts Minecraft client connections, forwards them to a remote server, and provides features such as whitelist/blacklist access control, customizable MOTD (server list ping), per-user proxy routing, traffic monitoring, and a web-based control API. The architecture is event-driven with callbacks for login/logout events. The codebase includes a vendored copy of Asio (standalone) and a custom utility library (rbslib) providing buffer management, stream abstractions, varint encoding, command-line parsing, and file I/O. The proxy handles Minecraft protocol packets (handshake, status, login, ping) and supports both synchronous and asynchronous I/O via C++20 coroutines. While functional and reasonably well-structured, the project lacks automated tests, has some incomplete features, and uses Chinese comments which may hinder international maintenance. The vendored Asio library is large and may become outdated, but the core proxy logic is solid.

RATING: 6.3/10 MAINT: maintained DRIFT: low
â–¸ 2 reusable components found
── end of results ──
$ submit: