Topic: Questions to N3708 (A proposal to add coroutines to


Author: mats.taraldsvik@gmail.com
Date: Wed, 4 Sep 2013 10:11:43 -0700 (PDT)
Raw View
------=_Part_3332_16467795.1378314703162
Content-Type: text/plain; charset=ISO-8859-1

The coroutines proposal excites me, and looks incredibly elegant, with
powerful yet simple building blocks to build upon.

The paper contains an example of implementing await/resumable functions in
terms of coroutines. However, what I do not understand, is whether the
concurrency aspect covered? The resumable functions proposal uses futures,
and, if I understand correctly, they will potentially run in multiple
threads. The coroutines proposal does not cover this, as far as I can tell.

Could coroutines be a fundamental building block, and part of the various
concurrency proposals (task_group, resumable functions...)? It looks like
it could have an elegant outcome...

--

---
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.

------=_Part_3332_16467795.1378314703162
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">The coroutines proposal excites me, and looks incredibly e=
legant, with powerful yet simple building blocks to build upon.<br><br>The =
paper contains an example of implementing await/resumable functions in term=
s of coroutines. However, what I do not understand, is whether the concurre=
ncy aspect covered? The resumable functions proposal uses futures, and, if =
I understand correctly, they will potentially run in multiple threads. The =
coroutines proposal does not cover this, as far as I can tell.<br><br>Could=
 coroutines be a fundamental building block, and part of the various concur=
rency proposals (task_group, resumable functions...)? It looks like it coul=
d have an elegant outcome...<br><div style=3D"display: none;" id=3D"__af745=
f8f43-e961-4b88-8424-80b67790c964__"></div></div>

<p></p>

-- <br />
&nbsp;<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to std-proposals+unsubscribe@isocpp.org.<br />
To post to this group, send email to std-proposals@isocpp.org.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />

------=_Part_3332_16467795.1378314703162--

.