C++ Coroutines

Open-source C++ projects categorized as Coroutines

Top 23 C++ Coroutine Projects

  1. Swoole

    🚀 Coroutine-based concurrency library for PHP

    Project mention: How to Build a Real-Time Chat App with WebSockets (And Why It Works) | dev.to | 2026-03-19

    PHP can handle WebSockets. Projects like Ratchet and Swoole exist for exactly this reason. The traditional PHP execution model — spin up a process per request, run the script, die — doesn't naturally fit persistent connections. But the ecosystem has evolved.

  2. SaaSHub

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

    SaaSHub logo
  3. cppcoro

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

  4. userver

    Production-ready C++ Asynchronous Framework with rich functionality

    Project mention: Came across the async framework userver 3.0 recently – they've moved to C++20 | news.ycombinator.com | 2026-05-28
  5. concurrencpp

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

  6. async_simple

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

  7. less_slow.cpp

    Playing around "Less Slow" coding practices in C++ 20, C, CUDA, PTX, & Assembly, from numerics & SIMD to coroutines, ranges, exception handling, networking and user-space IO

    Project mention: Processing Strings 109x Faster Than Nvidia on H100 | news.ycombinator.com | 2025-09-19

    Yes, at the scale of 128-bit registers NEON is mostly enough, except for a few categories of instructions missing in that ISA subset, like scatter/gather ops, that can yield 30% boost over serial memory accesses: https://github.com/ashvardanian/less_slow.cpp/releases/tag/v...

  8. ue5coro

    A deeply integrated C++ coroutine plugin for Unreal Engine 4 and 5.

  9. libcoro

    C++20 coroutine library

  10. libfork

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

  11. ext-openswoole

    Programmatic server for PHP with async IO, coroutines and fibers

    Project mention: MultiPlayer Tic-Tac-Toe with WebSocket in PHP | dev.to | 2026-05-17

    The framework is ZealPHP — a PHP framework I've been building on top of OpenSwoole. Same PHP you already know (session_start(), $_GET(?), header(), the lot), but the runtime model is different: workers stay alive between requests, routes and shared state load once, and WebSockets share the same process as your HTTP routes. No boot-per-request, no Node sidecar for sockets, no Redis for in-memory state on small apps.

  12. restc-cpp

    Modern C++ REST Client library

  13. qcoro

    C++ Coroutines for Qt

  14. coros

    An easy-to-use and fast library for task-based parallelism, utilizing coroutines. (by mtmucha)

  15. corral

    Lightweight structured concurrency for C++20

  16. corobase

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

  17. Ichor

    C++20 Microservice Bootstrapping Framework

  18. packio

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

  19. UE4EnhancedCodeFlow

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

  20. kelcoro

    C++20 coroutine library

  21. coop

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

  22. asyncpp

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

  23. charly-vm

    Fully parallel dynamically typed programming language

  24. CoFSM

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

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 discussion

Log in or Post with

C++ Coroutines related posts

Index

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

# Project Stars
1 Swoole 18,906
2 cppcoro 3,863
3 userver 2,946
4 concurrencpp 2,757
5 async_simple 2,193
6 less_slow.cpp 1,920
7 ue5coro 1,100
8 libcoro 961
9 libfork 893
10 ext-openswoole 859
11 restc-cpp 650
12 qcoro 576
13 coros 333
14 corral 283
15 corobase 252
16 Ichor 235
17 packio 168
18 UE4EnhancedCodeFlow 144
19 kelcoro 143
20 coop 111
21 asyncpp 110
22 charly-vm 99
23 CoFSM 96

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