Boost logo

Boost :

Subject: Re: [boost] [asio][coroutine] forbid_suspend blocks
From: Vinnie Falco (vinnie.falco_at_[hidden])
Date: 2018-08-16 02:11:38


On Wed, Aug 15, 2018 at 5:06 AM Vinícius dos Santos Oliveira via Boost
<boost_at_[hidden]> wrote:
> the absence of the await in P0114 is a likely source of many maintenance nightmares

We have no idea how P0114 would play out because no one took the time
to implement it. We only heard from the opposing counsel (Gor), and he
only offered opinions. I spearheaded an effort to implement P0114 in
clang and we made some progress, including necessary modifications to
the original paper to make things smooth and also address some issues
raised by other stakeholders. But the talent I was working with did
not have enough time available to complete the project. One of the
modifications was an "opt-in" model of resumable expressions, to avoid
the problem where code unsuspectingly becomes suspended at a place
that should not suspend (for example, while holding a mutex).

High quality engineers familiar with Clang/LLVM are mostly already
working on projects, and also employed by large corporations. The mere
existence of Coroutines TS, plus the assumption of correctness
conferred by the author's employer, discourages significant investment
in alternate implementations.

Thanks


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