My experience with C++ 20 coroutines

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

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers
Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.
www.nutrient.io
featured
  1. coros

    TCP server using C++ 20 Coroutines

    I tried to create a simple TCP server framework that uses coroutines. So, how it works is that when a read/write operation on a TCP socket blocks, the coroutine gets suspended. The underlying thread that is running the coroutine is then free to run other tasks, so this enables for concurrency with relatively few threads.

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. cppcoro

    A library of C++ coroutine abstractions for the coroutines TS (by andreasbuhr)

    coroutines as they exist are a lower level construct which is vastly better with a higher level library to make it usable for programmers. One such library is cppcoro but at some stage we'll see an equivalent in the standard library.

  4. crasy

    Discontinued C++20 coroutine based async I/O library [GET https://api.github.com/repos/Vociferix/crasy: 404 - Not Found // See: https://docs.github.com/rest/repos/repos#get-a-repository]

    If you're curious, here is the half-baked, unfinished, and uncommented repo: https://github.com/Vociferix/crasy

  5. cppcoro

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

  6. macoro

    See, this is what my cpp14 library does and is compatible with cpp20 coroutines https://github.com/ladnir/macoro

  7. Boost.Asio

    Asio C++ Library

    Yes: https://github.com/chriskohlhoff/asio/blob/master/asio/include/asio/coroutine.hpp

  8. YACLib

    Yet Another Concurrency Library

    Try https://github.com/YACLib/YACLib It works with coroutines on most possible platforms and tested very well Also contains very effective synchronization primitives

  9. Nutrient

    Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers. Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.

    Nutrient 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

  • Struggle with C++ 20 Coroutines

    2 projects | /r/cpp_questions | 13 May 2023
  • Does C++23 have a coroutine task promise type?

    1 project | /r/cpp_questions | 9 Mar 2023
  • Is Tokio::sync::Mutex lock-free?

    1 project | /r/rust | 28 Nov 2022
  • My thoughts and dreams about a standard user-space I/O scheduler

    4 projects | /r/cpp | 28 Apr 2022
  • A high-level coroutine explanation

    2 projects | /r/cpp | 21 Jan 2022