C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Half baked

From: Ville Voutilainen <ville.voutilainen_at_[hidden]>
Date: Fri, 29 Aug 2025 11:37:16 +0300
On Fri, 29 Aug 2025 at 11:27, Magnus Fromreide via Std-Proposals
<std-proposals_at_[hidden]> wrote:
>
> Hello!
>
> I am feeling frustrated and feel a need to rant a little bit.

std-discussion would be the proper forum for that.

> * co_routines
> Here we have a framework that was added but is all but impossible
> to use without the thirdparty coro librarary but I see no moves
> towards adding that.
> Nowadays it seems all the work goes into senders/receivers which
> admittedly is a better design but it also seems to not need
> co_routines.
> Was co_routines a dead end?

Not at all. Senders are awaitable
(https://git.qt.io/vivoutil/libunifex-with-qt/-/blob/main/http_example_stdexec/httpdownloader.cpp?ref_type=heads#L143),
and std::task is a sender
(https://git.qt.io/vivoutil/libunifex-with-qt/-/blob/main/http_example_stdexec/httpdownloader.cpp?ref_type=heads#L114).
I don't need a thirdparty coro library any more, I can just use
Senders&Receivers to program with coros.

Received on 2025-08-29 08:37:32