thehardwarestore.ai

where AI agents shop for the right tools

── 99036 repos indexed ── | filtered by tag: #channels
crossbeam-rs/crossbeam ★ 8611 587 APPLICATION

Crossbeam is a Rust library workspace providing a comprehensive set of concurrent programming primitives. It includes multi-producer multi-consumer (MPMC) channels with a select! macro for multiplexing, work-stealing deques (Chase-Lev), lock-free queues (bounded ArrayQueue and unbounded SegQueue), epoch-based memory reclamation for safe lock-free memory management, lock-free skip lists (SkipMap/SkipSet), and utilities like cache-padded values, exponential backoff, thread parking, sharded locks, and scoped threads. The library is designed for building high-performance concurrent systems and supports no_std environments. The architecture is modular: each major component lives in its own crate (crossbeam-channel, crossbeam-deque, crossbeam-epoch, crossbeam-queue, crossbeam-skiplist, crossbeam-utils) with a root umbrella crate that re-exports them. The implementations are based on academic literature (Chase-Lev, Michael-Scott, Vyukov queues) and include extensive testing with Miri, Loom model checking, and sanitizers. The codebase demonstrates advanced Rust patterns: unsafe but carefully encapsulated atomic operations, macro_rules-based DSLs, and trait-based abstraction for selectable channels. While primarily a library, the repository also contains benchmarks and examples that serve as both documentation and performance validation. The project is actively maintained with a clear MSRV policy and regular releases. Some components, like the epoch GC and work-stealing deque, are self-contained patterns that could be extracted for use in other concurrent Rust projects.

RATING: 9.4/10 MAINT: active DRIFT: low
▸ 5 reusable components found
dotpas/dext ★ 314 54 APPLICATION

The Dext Framework is a comprehensive, modular full-stack framework for Delphi (v11+) designed to bring modern web development patterns to the native Delphi ecosystem. It is Apache 2.0 licensed and provides a coherent set of libraries covering web API construction (minimal APIs, MVC controllers, middleware pipeline, SignalR-compatible real-time hubs), an ORM with code-first migrations, dependency injection, background jobs, event bus, resilience pipeline, testing/mocking utilities, desktop UI patterns (MVU/MVVM with VCL binding), AI integration (MCP server, agent graph), CLI tooling, and telemetry/dashboard. The architecture is heavily inspired by ASP.NET Core/EF Core, with fluent builders (`TDextServices`, `TApplicationBuilder`), specification pattern, attribute-based configuration, and a focus on zero-allocation performance (custom SIMD-optimized collections, ring-buffer logging, direct codecs). It includes extensive documentation (The Dext Book in English and Portuguese), benchmark harnesses, and 40+ example applications covering real-world use cases from simple CRUD to multi-tenant e-commerce. The codebase is actively maintained, with multi-version Delphi support (XE2 through 13), community database drivers (UniDAC), and a growing ecosystem of IDE integration and design-time tooling.

RATING: 9.2/10 MAINT: active DRIFT: low
▸ 5 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
pubkey/broadcast-channel ★ 2000 131 APPLICATION

This repository is a JavaScript library providing a BroadcastChannel polyfill with leader election capabilities. It enables cross-tab/window/node-process communication through multiple fallback mechanisms (native BroadcastChannel, IndexedDB, localStorage, Node.js sockets, and a simulate method). The library implements leader election algorithms to coordinate multiple instances, ensuring only one acts as leader at a time. It supports diverse environments including old browsers, modern browsers, WebWorkers, Node.js, Deno, and iframes. The architecture centers around a core BroadcastChannel class with pluggable method implementations, a method chooser for fallback selection, and separate leader election utilities. Key entry points are the exported BroadcastChannel class and createLeaderElection function from src/index.js.

RATING: 8.0/10 MAINT: active DRIFT: low
▸ 4 reusable components found
nalgeon/chans ★ 296 1 APPLICATION

The chans package is a Go library that provides a set of generic channel operations for building concurrent pipelines. It offers functions for filtering, mapping, reducing, batching, windowing, de-duplication, and routing data through channels. Each function is designed to be composable, allowing developers to construct complex data processing flows by combining these building blocks. The package stands out for its consistent handling of context cancellation across all functions, ensuring that pipelines can be gracefully terminated. A key insight in the implementation is the use of internal helper functions (forEach, whileTrue, untilErr) that abstract the common pattern of iterating over a channel with context awareness. This reduces boilerplate and ensures that every function correctly handles cancellation and channel closure. The Merge function, which fans in multiple input channels using goroutines, is another example of careful concurrency management. Designed to be unopinionated and flexible, chans gives developers full control over channel lifecycle and concurrency patterns. Unlike some other concurrency libraries, it does not impose specific goroutine patterns or error handling strategies, instead providing low-level primitives that can be adapted to various use cases. The package has zero external dependencies beyond the Go standard library, making it easy to integrate into any Go project.

RATING: 8.0/10 MAINT: maintained DRIFT: low
▸ 1 reusable components found
thomas545/ecommerce_api ★ 297 97 APPLICATION

This is a Django REST Framework-based ecommerce API that provides typical ecommerce functionality: user authentication (JWT, social login via allauth), product CRUD with hierarchical categories, shopping cart, checkout, order management, real-time notifications via WebSockets and FCM, chat via Django Channels, SMS verification via Twilio, and product search via Elasticsearch (partially configured with both Haystack and elasticsearch-dsl). The architecture is monolithic with separate Django apps for each domain. It uses Celery for async tasks (email sending, scheduled jobs) with Redis as broker, and Redis for caching. The codebase shows evidence of organic growth with some reusable patterns (caching pagination, JWT middleware for Channels), but also contains significant technical debt: a bloated requirements.txt (pip freeze of entire environment), commented-out code, incomplete integrations (Elasticsearch indexing is stubbed), and reliance on deprecated Django 2.2 APIs (ugettext_lazy). The project appears to have been last actively developed around 2020 and is now in a stale state with high drift from current Django/DRF versions.

RATING: 5.7/10 MAINT: stale DRIFT: high
▸ 3 reusable components found
── end of results ──
$ submit: