Boost logo

Boost :

From: Klemens Morgenstern (klemensdavidmorgenstern_at_[hidden])
Date: 2023-07-24 04:31:50


Dear fellow Boost developers,

I am seeking endorsement for my C++20 async coroutine library boost.async.

It provides coroutine primitives & utilities that are easy to use and
intuitive,
to anyone who has seen python's asyncio or javascripts async/await APIs
before.

It simplifies using asio and increases compile times significantly by
encouraging
the usage of translations units. The features include:

 - coroutine types (eager, lazy, generators)
 - built-in cancellation
 - synchronization of multiple coroutines (select, gather, join)
 - channels
 - with (an async scope akin to python's with expression)
 - asio integration, i.e. completion tokens

I think this kind of library is much needed in boost and the wider C++
community.

code: https://github.com/klemens-morgenstern/async
docs: https://klemens.dev/async/


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk