Painless C++ Coroutines

This page summarizes the projects mentioned and recommended in the original post on /r/cpp

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • Folly

    An open-source C++ library developed and used at Facebook.

  • We try to encourage waiting directly on children to maintain strong structured concurrency. We do have fairly basic static analysis to catch some common lifetime bugs. We have library support in the form of co_invoke to help with lambdas and lifetimes. A lot of when_all use (collectAll in our case) but when_any we have tried to avoid - in part because getting solid cancellation support in folly::coro took a while, and cancellation is vital to make safe use of when_any easy.

  • fbthrift

    Facebook's branch of Apache Thrift, including a new C++ server.

  • As for open source, yes and no. folly is open source and so all the support library code is there with a lot of tests. Thrift uses coroutines in open source as well. Most of the code is not open source, though.

  • 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
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts