C++ Coroutine

Open-source C++ projects categorized as Coroutine

Top 15 C++ Coroutine Projects

  1. coost

    A tiny boost library in C++11.

  2. SaaSHub

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

    SaaSHub logo
  3. libgo

    Go-style concurrency in C++11

  4. concurrencpp

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

  5. PhotonLibOS

    Probably the fastest coroutine lib in the world!

    Project mention: How I turned Zig into my favorite language to write network programs in | news.ycombinator.com | 2025-10-26
  6. asio-grpc

    Asynchronous gRPC with Asio/unified executors

    Project mention: Asio-gRPC: Asynchronous gRPC with Asio/unified executors | news.ycombinator.com | 2025-08-30
  7. YACLib

    Yet Another Concurrency Library

  8. Ichor

    C++20 Microservice Bootstrapping Framework

  9. ublksrv

    ublk: userspace block device driver

  10. DiscordCoreAPI

    A bot library for Discord, written in C++, and featuring explicit multithreading through the usage of custom, asynchronous C++ CoRoutines.

  11. asyncpp

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

  12. Rstein.AsyncCpp

    The RStein.AsyncCpp library is a set of types that should be familiar for anyone who knows the Task Parallel Library (TPL) for .NET (C#).

  13. fiber

    C++20 fiber implementation with similar interface to std::thread, header-only / x86_64 / Linux only / stackful / built-in scheduler / thread shareable (by fix8mt)

  14. io

    Coroutine based asynchronous IO using poll and io_uring for C++20 (by Felspar)

  15. unet

    Asynchronous, high-performance HTTP server in modern C++23 (by Usub-Foundation)

    Project mention: Asynchronous backend on modern C++ 23. | dev.to | 2025-12-24

    cmake_minimum_required(VERSION 3.27) project(article) set(CMAKE_CXX_STANDARD 23) set(UREDIS_BUILD_EXAMPLES OFF) set(UREDIS_BUILD_SHARED OFF CACHE BOOL "" FORCE) set(UREDIS_BUILD_STATIC ON CACHE BOOL "" FORCE) set(UREDIS_LOGS OFF CACHE BOOL "" FORCE) set(UPQ_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE) find_package(OpenSSL REQUIRED) find_package(ZLIB REQUIRED) include(FetchContent) include_directories(${article_SOURCE_DIR}) FetchContent_Declare( uvent GIT_REPOSITORY https://github.com/Usub-development/uvent.git GIT_TAG main OVERRIDE_FIND_PACKAGE ) FetchContent_Declare( unet GIT_REPOSITORY https://github.com/Usub-development/unet.git GIT_TAG main OVERRIDE_FIND_PACKAGE ) # Loading ujson from upq FetchContent_Declare( upq GIT_REPOSITORY https://github.com/Usub-development/upq.git GIT_TAG main OVERRIDE_FIND_PACKAGE ) FetchContent_Declare( ulog GIT_REPOSITORY https://github.com/Usub-development/ulog.git GIT_TAG main OVERRIDE_FIND_PACKAGE ) FetchContent_Declare( uredis GIT_REPOSITORY https://github.com/Usub-development/uredis.git GIT_TAG main FIND_PACKAGE_ARGS ) FetchContent_MakeAvailable(uvent unet ulog upq uredis) add_executable(${PROJECT_NAME} src/main.cpp ) target_include_directories(${PROJECT_NAME} PRIVATE /usr/local/include ${CMAKE_CURRENT_LIST_DIR}/include ) target_link_libraries(${PROJECT_NAME} PRIVATE -lpq OpenSSL::Crypto usub::uvent usub::server ZLIB::ZLIB usub::upq usub::ulog usub::uredis )

  16. Flow

    Flow is a software framework focused on ease of use while maximizing performance in closed closed loop systems (e.g. robots). Flow is built on top of C++ 20 coroutines and utilizes modern C++ techniques. (by ManuelMeraz)

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++ Coroutine discussion

Log in or Post with

C++ Coroutine related posts

Index

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

# Project Stars
1 coost 4,203
2 libgo 3,309
3 concurrencpp 2,751
4 PhotonLibOS 1,198
5 asio-grpc 466
6 YACLib 295
7 Ichor 233
8 ublksrv 205
9 DiscordCoreAPI 161
10 asyncpp 104
11 Rstein.AsyncCpp 33
12 fiber 30
13 io 15
14 unet 15
15 Flow 10

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

Did you know that C++ is
the 7th most popular programming language
based on number of references?