awesome-repositories.com
المدونة
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
lewissbaker avatar

lewissbaker/cppcoro

0
View on GitHub↗
3,818 نجوم·501 تفرعات·C++·mit·1 مشاهدة

Cppcoro

cppcoro is a C++ coroutine library and concurrency toolkit providing primitives for asynchronous tasks, lazy generators, and non-blocking execution. It functions as an asynchronous I/O framework for managing network sockets and file operations through an event loop.

The library features a work-stealing thread pool for distributing tasks across multiple cores and a set of async generators for producing lazy sequences of values both synchronously and asynchronously. It includes a concurrency toolkit with async mutexes, latches, and shared tasks to coordinate multi-threaded execution.

Its capability surface covers asynchronous control flow, including task definition, result transformation, and concurrent result aggregation. It provides execution context management to control where coroutines start and resume, alongside non-blocking file and network I/O support.

The project includes configuration utilities for managing build toolchains, compiler paths, and installation prefixes.

Features

  • Coroutines - Provides a comprehensive library of coroutine primitives for building asynchronous, non-blocking C++ applications.
  • C++ Coroutine Primitives - Provides a comprehensive framework based on C++20 specifications for low-level awaitables and lazy execution.
  • Asynchronous Sequence Generators - Produces sequences of values lazily where each individual element is generated using asynchronous operations.
  • Async Coordination Primitives - Ships a concurrency toolkit with async mutexes and latches to coordinate multi-threaded execution.
  • Async Concurrency Toolkits - Provides a collection of async mutexes, latches, and shared tasks to coordinate multi-threaded execution.
  • Asynchronous I/O Libraries - Functions as a non-blocking I/O framework for managing network and file operations via an event loop.
  • Async Generator Libraries - Provides a specialized toolkit for producing lazy sequences of values both synchronously and asynchronously.
  • Async Generators - Implements asynchronous generators for producing lazy sequences of values using C++ coroutines.
  • Coroutine Scheduler Controls - Allows assigning specific schedulers to control where coroutines start and resume after asynchronous operations.
  • Lazy Sequences - Provides generators that produce values on demand without blocking the calling thread.
  • Execution Context Controls - Enables specifying the exact execution context where a paused coroutine should resume its work.
  • Synchronization Primitives - Implements async mutexes and latches that suspend coroutines without blocking physical execution threads.
  • Lazy Task Definitions - Defines lazy computations that remain paused until they are explicitly awaited for execution.
  • I/O Event Dispatchers - Monitors asynchronous I/O events via an event loop to trigger the resumption of suspended coroutines.
  • Asynchronous Task Execution - Executes lazy computations that return a result or throw an exception upon being awaited.
  • Event-Driven I/O - Uses an event-loop based dispatch system to resume suspended coroutines upon I/O completion.
  • Thread Pool Context Propagators - Tracks execution environments to ensure coroutines resume on the appropriate scheduler or thread pool.
  • Work-Stealing Thread Pools - Implements a work-stealing thread pool to balance asynchronous task distribution across multiple CPU cores.
  • Async Latches - Implements asynchronous latches that suspend operations until a counter reaches zero.
  • Asynchronous Socket Libraries - Provides asynchronous TCP and UDP socket implementations for non-blocking network communication.
  • Work-Stealing Schedulers - Employs a work-stealing scheduler to dynamically balance computational tasks across hardware threads.
  • All-Completion Synchronization - Creates synchronization points that resolve only after all provided asynchronous tasks have finished.
  • Mutual Exclusion Locks - Provides asynchronous mutual exclusion locks that suspend the calling coroutine instead of blocking the thread.
  • Task State Management - Manages the state and results of asynchronous computations through promise objects to coordinate resumption.
  • Synchronous Generators - The project produces a sequence of values lazily and synchronously using a generator that yields values without suspending.
  • Asynchronous Event Notification Libraries - Provides event primitives to signal the resumption of suspended asynchronous operations.
  • Awaitable Transformations - Applies functions to asynchronous results to produce new tasks with transformed values.
  • Asynchronous File I/O - Provides non-blocking interfaces for performing read and write operations on the file system.
  • Asynchronous Operation Cancellation - Provides token-based polling and callback mechanisms to signal the premature termination of asynchronous operations.
  • Shared Asynchronous Results - Allows multiple callers to await the same asynchronous result and resume all of them upon completion.
  • Task Result Aggregation - Executes multiple asynchronous operations simultaneously and aggregates their results into a single collection.
  • Asynchronous Network Programming - Provides non-blocking TCP and UDP socket operations using event-driven I/O for high-concurrency network programming.

سجل النجوم

مخطط تاريخ النجوم لـ lewissbaker/cppcoroمخطط تاريخ النجوم لـ lewissbaker/cppcoro

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

بدائل مفتوحة المصدر لـ Cppcoro

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Cppcoro.
  • alibaba/coobjcالصورة الرمزية لـ alibaba

    alibaba/coobjc

    4,016عرض على GitHub↗

    coobjc is an Objective-C coroutine library that provides await methods and generators to simplify asynchronous programming in Objective-C and Swift. It enables the implementation of non-blocking workflows to eliminate nested callbacks and thread blocking. The toolkit includes a non-blocking Foundation wrapper to convert synchronous Foundation and UIKit APIs into suspendable operations. It provides a lazy sequence generator for producing values on demand via yield, as well as a channel-based communication tool for exchanging data between concurrent tasks using buffered and unbuffered channels.

    Objective-Cactoractor-modelarm64
    عرض على GitHub↗4,016
  • reactphp/reactphpالصورة الرمزية لـ reactphp

    reactphp/reactphp

    9,091عرض على GitHub↗

    ReactPHP is an asynchronous runtime and event-driven I/O framework for PHP. It provides an environment for executing concurrent tasks through a central event loop implementation and reactor pattern, allowing applications to handle multiple operations without pausing the main execution thread. The project includes a specialized asynchronous socket library for TCP, UDP, and TLS communication, alongside a non-blocking HTTP server and client for streaming web requests and responses. Its capability surface covers asynchronous control flow via promises and fibers, non-blocking network connectivity

    PHP
    عرض على GitHub↗9,091
  • easy-swoole/easyswooleالصورة الرمزية لـ easy-swoole

    easy-swoole/easyswoole

    4,766عرض على GitHub↗

    EasySwoole is a high-performance asynchronous PHP framework designed for building event-driven networks and persistent memory applications. It functions as a toolkit for developing distributed microservices and asynchronous servers capable of handling concurrent HTTP, TCP, UDP, and WebSocket connections. The framework distinguishes itself through a persistent memory process execution mode that eliminates the overhead of repetitive file loading and invocation during request handling. It provides built-in support for distributed systems via remote procedure call implementations and service disc

    PHPcoroutineeasyswooleswoole
    عرض على GitHub↗4,766
  • smol-rs/smolالصورة الرمزية لـ smol-rs

    smol-rs/smol

    4,979عرض على GitHub↗

    Smol is a lightweight Rust asynchronous runtime and task executor. It provides a suite of foundational tools for scheduling and executing asynchronous futures, managing background workloads, and handling non-blocking network and file operations. The project includes a compatibility layer for adapting asynchronous types and execution contexts, enabling futures to run across different runtime ecosystems. It also features a mechanism to offload synchronous I/O and CPU-intensive operations to dedicated worker thread pools to prevent runtime stalls. Its capabilities cover non-blocking network I/O

    Rustasyncconcurrencyfutures
    عرض على GitHub↗4,979
عرض جميع البدائل الـ 30 لـ Cppcoro→

الأسئلة الشائعة

ما هي وظيفة lewissbaker/cppcoro؟

cppcoro is a C++ coroutine library and concurrency toolkit providing primitives for asynchronous tasks, lazy generators, and non-blocking execution. It functions as an asynchronous I/O framework for managing network sockets and file operations through an event loop.

ما هي الميزات الرئيسية لـ lewissbaker/cppcoro؟

الميزات الرئيسية لـ lewissbaker/cppcoro هي: Coroutines, C++ Coroutine Primitives, Asynchronous Sequence Generators, Async Coordination Primitives, Async Concurrency Toolkits, Asynchronous I/O Libraries, Async Generator Libraries, Async Generators.

ما هي البدائل مفتوحة المصدر لـ lewissbaker/cppcoro؟

تشمل البدائل مفتوحة المصدر لـ lewissbaker/cppcoro: alibaba/coobjc — coobjc is an Objective-C coroutine library that provides await methods and generators to simplify asynchronous… reactphp/reactphp — ReactPHP is an asynchronous runtime and event-driven I/O framework for PHP. It provides an environment for executing… easy-swoole/easyswoole — EasySwoole is a high-performance asynchronous PHP framework designed for building event-driven networks and persistent… smol-rs/smol — Smol is a lightweight Rust asynchronous runtime and task executor. It provides a suite of foundational tools for… balloonwj/cppguide — CppGuide is a curated collection of educational resources and practical guides focused on C++ server development,… louthy/language-ext — language-ext is a functional programming framework for C# that provides a suite of immutable data structures and…