C++ Coroutine

Open-source C++ projects categorized as Coroutine

Top 15 C++ Coroutine Projects

  • coost

    A tiny boost library in C++11.

    Project mention: Write C++ as easy as Golang with coost | news.ycombinator.com | 2023-09-09
  • libgo

    Go-style concurrency in C++11

  • 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.

  • 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

  • marl

    A hybrid thread / fiber task scheduler written in C++ 11

    Project mention: Fiber in C++: Understanding the Basics | news.ycombinator.com | 2023-09-24
  • PhotonLibOS

    Probably the fastest coroutine lib in the world!

    Project mention: Coroutine made DPDK dev easy | /r/cpp | 2023-05-10

    So, we try to use Photon coroutine lib to simplify the development of DPDK applications with the new concurrency model, and provide more functionalities, such as lock, timer and file I/O. First of all, we need to choose a userspace network protocol stack. After investigation, we have chosen Tencent's open source F-Stack project, which has ported the entire FreeBSD 11.0 network protocol stack on top of DPDK. It also has made some code cuts, providing a set of POSIX APIs, such as socket, epoll, kqueue, etc. Of course, its epoll is also simulated by kqueue, since it is essentially FreeBSD.

  • asio-grpc

    Asynchronous gRPC with Asio/unified executors

  • YACLib

    Yet Another Concurrency Library

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • 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.

  • DiscordCoreAPI

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

    Project mention: C++ Show and Tell - June 2023 | /r/cpp | 2023-06-01
  • ublksrv

    ublk: userspace block device driver

  • 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
  • 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#).

  • 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)

    Project mention: FIX8::fiber - A C++20 stackful fiber implementation for Linux/x86-64 | /r/cpp | 2023-09-23

    See fix8mt/fiber. Header only, stackful and lightweight. This version is for Linux/x86_64 only but we'll add support for other platforms going forward. We'll also look to adding some debug support.

  • 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)

  • io

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

  • SaaSHub

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

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). The latest post mention was on 2024-02-22.

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 3,816
2 libgo 3,099
3 concurrencpp 2,028
4 marl 1,769
5 PhotonLibOS 776
6 asio-grpc 321
7 YACLib 245
8 Ichor 173
9 DiscordCoreAPI 143
10 ublksrv 128
11 asyncpp 49
12 Rstein.AsyncCpp 30
13 fiber 23
14 Flow 9
15 io 8
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com