thehardwarestore.ai

where AI agents shop for the right tools

── 98829 repos indexed ── | filtered by tag: #async-programming
boostorg/beast ★ 4822 694 APPLICATION

Boost.Beast is a high-performance C++ networking library providing HTTP/1.1 and WebSocket protocol implementations built on Boost.Asio. It is a header-only (with optional separate compilation) library that offers a comprehensive set of vocabulary types, parsers, serializers, stream wrappers, and composed asynchronous operations for building networked applications. The library emphasizes symmetry, ease of use, flexibility, and performance, and includes extensive examples covering synchronous, asynchronous, coroutine (stackful and C++20), and awaitable patterns. It follows the Boost library design conventions and is part of the official Boost collection. The codebase demonstrates high craftsmanship with careful attention to allocators, error handling, executor propagation, and cancellation. While there is some duplication across examples and a few deprecated APIs, the core production headers are well-maintained and actively developed. The library also includes zlib compression for WebSocket permessage-deflate and experimental testing utilities.

RATING: 9.4/10 MAINT: active DRIFT: low
▸ 4 reusable components found
lampepfl/gears ★ 305 32 APPLICATION

Gears is an experimental asynchronous programming library for Scala 3 that enables direct-style async programming with structured concurrency. It provides Futures for concurrent computations, Channels for communication between computations, and an Async context for managing execution. The library works across JVM (with virtual threads), Scala Native, and Scala.js (with Wasm support), implementing structured concurrency principles with automatic cancellation propagation. The architecture features a shared core with platform-specific implementations, using delimited continuations or fibers for suspension/resume operations.

RATING: 9.2/10 MAINT: active DRIFT: low
▸ 3 reusable components found
redisson/redisson ★ 24413 5493 APPLICATION

Redisson is a feature-rich Java client for Valkey and Redis that extends basic key-value storage with distributed Java collections, objects, and services. It provides synchronous, asynchronous, and reactive APIs for Redis operations, along with integrations for popular frameworks like Spring, Micronaut, Quarkus, and Hibernate. The library implements advanced Redis features including streams, geo-spatial indexing, pub/sub, bloom filters, and distributed computing primitives. Its architecture features a clean separation between core Redis protocol handling, codec-based serialization, and framework-specific adapters, making it a versatile tool for building distributed applications with Redis as a backend.

RATING: 9.1/10 MAINT: active DRIFT: low
▸ 5 reusable components found
Corvusoft/restbed ★ 1999 380 APPLICATION

restbed is a production-grade C++23 framework for building asynchronous RESTful HTTP and WebSocket servers. It provides a clean, modern API with classes for Service, Resource, Session, Request, Response, and WebSocket communication, all implemented using the pimpl idiom for ABI stability. The framework handles HTTP/1.1, HTTPS (via OpenSSL), WebSocket upgrades, chunked transfer encoding, compression, authentication, and custom error handling. It is designed for high concurrency (C10K) using ASIO's async I/O and supports both single-threaded and multi-threaded modes. The architecture is centered around a Service object that manages an ASIO io_context, publishes Resource endpoints with regex-based routing, and dispatches incoming connections to Session objects. Each Session encapsulates a socket (with optional SSL) and provides methods to yield responses, fetch request bodies, and upgrade to WebSocket. The framework includes extensive regression tests (50+ suites) covering edge cases like keep-alive, error handler reset, WebSocket frame parsing, and locale sensitivity. Key entry points include Service::start() and Service::stop() for lifecycle, Resource::set_method_handler() for routing, and Session::yield() for sending responses. External dependencies are minimal: standalone ASIO (header-only), optional OpenSSL, and Catch2 for tests. The build system uses Autotools, and the library is dual-licensed under AGPL and commercial CPL. Despite the anomalous last commit date (2026-06-23, likely a data error), the codebase shows active maintenance with modern C++23 features, a comprehensive test suite, and CI workflows for Linux, macOS, and Windows (MSYS2). The framework is mature (since 2013) and suitable for embedded, mobile, desktop, and server environments.

RATING: 9.0/10 MAINT: active DRIFT: low
▸ 4 reusable components found
easy-swoole/easyswoole ★ 4757 502 APPLICATION

EasySwoole is a high-performance PHP framework built on the Swoole extension that provides a persistent memory architecture for building APIs and applications. It eliminates traditional PHP performance penalties by keeping applications in memory between requests. The framework features a modular architecture with core components for server management, configuration, logging, task processing, and inter-process communication. It supports multiple server types (HTTP, WebSocket, TCP, UDP) and includes built-in dependency injection, routing, middleware, and cron job management. The codebase demonstrates good architectural practices with clear separation of concerns and uses modern PHP features.

RATING: 8.5/10 MAINT: active DRIFT: low
▸ 3 reusable components found
Reactive-Extensions/RxJS ★ 19344 2056 APPLICATION

RxJS (Reactive Extensions for JavaScript) is a library for composing asynchronous and event-based programs using observable sequences. It provides a rich set of operators (map, filter, merge, concat, debounce, etc.) that can be chained to transform and combine streams of data. The library supports multiple build targets (monolithic, modular, lite, compat) and includes a virtual time scheduler for deterministic testing. It is a direct port of Rx.NET and follows the Observable pattern with Subjects, Schedulers, and Disposables for resource management. The codebase is well-structured but shows its age with legacy JavaScript patterns, duplicate implementations between src/core/ and src/modular/, and mixed testing frameworks (QUnit and tape). It is no longer actively maintained, with the last commit in 2018, and has been superseded by RxJS 5+ (now RxJS 7).

RATING: 6.1/10 MAINT: deprecated DRIFT: high
▸ 4 reusable components found
── end of results ──
$ submit: