cplusplus / papers

ISO/IEC JTC1 SC22 WG21 paper scheduling and management
648 stars 18 forks source link

P2477 Allow programmer to control and detect coroutine elision by static constexpr bool should_elide() and #1133

Open wg21bot opened 3 years ago

wg21bot commented 3 years ago

P2477R0 Allow programmer to control and detect coroutine elision by static constexpr bool should_elide() and (Chuanqi Xu)

wg21bot commented 2 years ago

P2477R1 Allow programmer to control and detect coroutine elision by static constexpr bool must_elide() and (Chuanqi Xu)

wg21bot commented 2 years ago

P2477R2 Allow programmer to control and detect coroutine elision (Chuanqi Xu)

brycelelbach commented 2 years ago

@jfbastien and @erichkeane: Let's have Evolution look at this first. If Evolution believes Library Evolution needs to see this, please send it our way and re-tag it LEWG.

wg21bot commented 2 years ago

P2477R3 Allow programmers to control coroutine elision (Chuanqi Xu)

erichkeane commented 1 year ago

EWG discussed this in the February 8th, 2023 morning session in Issaquah. The following polls were taken.

EWG is interested in a solution to the problem raised by P2477R3 of coroutine elision, in some form. SF F N A SA
14 13 2 1 0

Result: Consensus

EWG prefers the approach suggested by Gor, where the programmer has an option to prohibit elision, or to have it be an error when the optimizer fails to elide a coroutine. SF F N A SA
17 7 3 2 1

Result: Consensus

noita-player commented 1 year ago

what revision is needed? this is necessary to even consider use of coroutines...

jensmaurer commented 1 year ago

@noita-player, the latest comment by @erichkeane shows the current EWG consensus. It seems the paper does not yet reflect that consensus, so a revision of the paper is needed.

cor3ntin commented 1 year ago

@erichkeane I'm removing lewg related tags, send it back to us when you are done with it :)

erichkeane commented 1 year ago

@cor3ntin : I believe from the votes/my notes that we intended this to go to LEWG once it is revised.