C++ Coroutines

Open-source C++ projects categorized as Coroutines

Top 23 C++ Coroutine Projects

  • Swoole

    🚀 Coroutine-based concurrency library for PHP

  • Project mention: FrankenPHP: The Modern PHP App Server | news.ycombinator.com | 2024-05-29
  • cppcoro

    A library of C++ coroutine abstractions for the coroutines TS

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • userver

    Production-ready C++ Asynchronous Framework with rich functionality

  • Project mention: Rust vs Go/JVM: dev speed + safety in practice | /r/rust | 2023-06-25

    They recently open sourced internal framework: https://github.com/userver-framework/userver

  • concurrencpp

    Modern concurrency for C++. Tasks, executors, timers and C++20 coroutines to rule them all

  • Project mention: Is anyone using coroutines seriously? | /r/cpp | 2023-12-05

    I am using concurrencpp for my project. What I like about it is that it's basically a thread pool factory with coroutines. It allows for better structuring / organizing of multithreaded work. So for me the main advantage of coroutines is that the code looks easier to follow

  • async_simple

    Simple, light-weight and easy-to-use asynchronous components

  • ext-openswoole

    Programmatic server for PHP with async IO, coroutines and fibers

  • Project mention: FrankenPHP: The Modern PHP App Server | news.ycombinator.com | 2024-05-29
  • restc-cpp

    Modern C++ REST Client library

  • Project mention: What is the industry standard today in C++ to deploy REST microservices in Kubernetes? | /r/cpp | 2023-09-06

    My favourite was Microsoft's cpprestsdk, but for some reason now is in maintenance mode, I don't know why, so it's hard to suggest it for new projects. A nice alternative is restc-cpp, that's has a good high-level interface, if this is what you want.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • ue5coro

    A gameplay-focused C++17/20 coroutine implementation for Unreal Engine 5.

  • libfork

    A bleeding-edge, lock-free, wait-free, continuation-stealing tasking library built on C++20's coroutines

  • libcoro

    C++20 coroutine library

  • co2

    A C++ await/yield emulation library for stackless coroutine (by jamboree)

  • qcoro

    C++ Coroutines for Qt

  • Project mention: Asynchronous Clean-Up (in Rust) | news.ycombinator.com | 2024-02-25
  • corobase

    Coroutine-Oriented Main-Memory Database Engine (VLDB 2021)

  • Ichor

    C++20 Microservice Bootstrapping Framework

  • Project mention: Ichor v0.3.0 released: async file I/O now included | /r/cpp | 2023-11-12

    More information on the async I/O can be found in the docs.

  • packio

    An asynchronous msgpack-RPC and JSON-RPC library built on top of Boost.Asio.

  • coop

    C++20 coroutines-based cooperative multitasking library (by jeremyong)

  • charly-vm

    Fully parallel dynamically typed programming language

  • CoFSM

    Finite State Machine using C++20 coroutines with symmetric transfer

  • zab

    C++20 liburing backed coroutine executor and event loop framework.

  • asyncpp

    Async (co_await/co_return) code for c++. This is a base library providing building blocks.

  • Project mention: Async C++ | news.ycombinator.com | 2024-02-22
  • UE4EnhancedCodeFlow

    This code plugin provides functions that drastically improve the quality of life during the implementation of game flow in C++.

  • couring

    C++20 Coroutines and io_uring

  • coro

    Coroutine library and toolkit for C++20

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C++ Coroutines related posts

  • Async C++

    1 project | news.ycombinator.com | 22 Feb 2024
  • Open Swoole: PHP Server with Async IO, Coroutines and Fibers

    1 project | news.ycombinator.com | 12 Feb 2024
  • Is anyone using coroutines seriously?

    4 projects | /r/cpp | 5 Dec 2023
  • Open Swoole – Programmatic server for PHP with async IO, coroutines and fibers

    1 project | news.ycombinator.com | 19 Oct 2023
  • Rust vs Go/JVM: dev speed + safety in practice

    1 project | /r/rust | 25 Jun 2023
  • [Blog] Unlocking the power of asynchronous PHP 💪

    1 project | /r/platform_sh | 24 May 2023
  • Struggle with C++ 20 Coroutines

    2 projects | /r/cpp_questions | 13 May 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 2 Jun 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Index

What are some of the best open-source Coroutine projects in C++? This list will help you:

Project Stars
1 Swoole 18,258
2 cppcoro 3,264
3 userver 2,256
4 concurrencpp 2,117
5 async_simple 1,525
6 ext-openswoole 793
7 restc-cpp 587
8 ue5coro 514
9 libfork 507
10 libcoro 479
11 co2 330
12 qcoro 300
13 corobase 233
14 Ichor 180
15 packio 123
16 coop 97
17 charly-vm 94
18 CoFSM 78
19 zab 66
20 asyncpp 55
21 UE4EnhancedCodeFlow 70
22 couring 41
23 coro 36

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com