220 21868 <9b1a8c6f-616d-447c-a074-fdf068ef929a@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: Evgeny Panasyuk <evgeny.panasyuk@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: is await an extension of the do-notation? (was Re:
 Re: Resumable expressions p0114r0 vs async/await P0057R0)
Date: Sun, 18 Oct 2015 01:02:49 -0700 (PDT)
Lines: 79
Approved: news@gmane.org
Message-ID: <9b1a8c6f-616d-447c-a074-fdf068ef929a@isocpp.org>
References: <639f0012-8cb4-4db3-82a6-8d042a3497f9@isocpp.org>
 <401aa118-ed0b-4c7b-92cf-3fbd706eff9d@isocpp.org>
 <fcbcc1c4-535c-4fa2-a17d-4acffe84a4b5@isocpp.org>
 <1d15dbc4-e0c1-4df1-86db-014e11f14d26@isocpp.org>
 <56114953.4030701@wanadoo.fr>
 <561B403D.4030403@gmail.com>
 <CAOfiQqkKvZfVatJ1Bz4qSvGc-g6iep0xeP1B1=J1-gCu43NXxg@mail.gmail.com>
 <561C07D1.3080304@gmail.com>
 <CAOfiQqnR4GYCttwu8G-44_UEN4WekW19uorEvf-5VC3vOpej-g@mail.gmail.com>
 <561C213F.1060009@gmail.com>
 <fb82d876-8a54-4c28-8e53-297018470cf6@isocpp.org>
 <561C3875.2050701@gmail.com>
 <86924069-44d0-447f-bf8a-a42e46579832@isocpp.org>
 <561D79A7.8080007@gmail.com>
 <894616d6-9609-4038-b2bc-d2c62df21e0f@isocpp.org>
 <99bdb3ae-9214-4440-8572-4c47a61eda46@isocpp.org>
 <58628096-14ae-42b2-89d3-c0bd2183bbc0@isocpp.org>
 <561DC957.8080603@gmail.com>
 <a44dae17-5f63-4c60-a943-d74a1332b54c@isocpp.org>
 <d3723a3d-1b73-4c6c-bc7f-3d224d2ec8a2@isocpp.org>
 <2e09660f-d688-474a-8811-85fb041f68b8@isocpp.org>
 <f3dbc6ee-80cf-43f1-9b49-7ed1879de0cc@isocpp.org>
 <8b78abb4-16b6-4b65-8513-6e2c17317647@isocpp.org>
 <CAL52AasThHcBZUbyT1NfgzEe+qaWKuO9eE6pxS-qfXxxSSbcbQ@mail.gmail.com>
 <779be861-3b2a-427a-b36b-ad2874c81129@isocpp.org>
 <CAL52AasaxsP2i-Bh-kVrCoKad_Z08dUpL-0w=Lb2dyTGz3f9PQ@mail.gmail.com>
 <767364f8-785d-4f8f-9bc0-852df56ee4eb@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_845_767107397.1445155369660"
X-Trace: ger.gmane.org 1445155382 25977 80.91.229.3 (18 Oct 2015 08:03:02 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Sun, 18 Oct 2015 08:03:02 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBC54TLGKR4LBBK5ERWYQKGQELRKIZZQ@isocpp.org Sun Oct 18 10:02:54 2015
Return-path: <std-proposals+bncBC54TLGKR4LBBK5ERWYQKGQELRKIZZQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ob0-f198.google.com ([209.85.214.198])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBC54TLGKR4LBBK5ERWYQKGQELRKIZZQ@isocpp.org>)
	id 1Znivc-0005cP-PI
	for gclcip-std-proposals@m.gmane.org; Sun, 18 Oct 2015 10:02:52 +0200
Original-Received: by obsn11 with SMTP id n11sf173228664obs.2
        for <gclcip-std-proposals@m.gmane.org>; Sun, 18 Oct 2015 01:02:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :content-type:x-original-sender:reply-to:precedence:mailing-list
         :list-id:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=1D+8Pgod7/abC0XRPY57+O/h09kQ7XbW6yjRrhWrjAo=;
        b=DyyN7W6VJZiA+UIBpTtGJKfYqZLw8xL0GBlVRC2SjjUw29L06H4oP19fw5jO8U/7fi
         /LNQWCYTDS1JgMOmjsVnF7znX8yJYpVt5L+eMZeqGMRNEdnjVMKBdd9a3Yve3VUvBWFX
         UyCgjU6s6AhEozcfKbP/btumYZGZef1iyftHcCreRJ6OLMtZYBvGlLBqiTjczElzNltP
         nDSC5NoSXAGTj4jaYdtZFXUY2J8gmLMuQx/VL7HXmB19TG7XuEOSqLFwgPdYyNai835K
         JS+CWaauMy/K+4oIKs1+L7JNSv0hUQ7u/84tdPEJtjaSk030Sy+lDgvk2uigpqpjCajB
         wshA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:date:from:to:message-id:in-reply-to:references
         :subject:mime-version:content-type:x-original-sender:reply-to
         :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post
         :list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=1D+8Pgod7/abC0XRPY57+O/h09kQ7XbW6yjRrhWrjAo=;
        b=DnhIrmgd/yTb6DAQPadcJCCY0sRpYpbloK8IuViC82U2ZGCX0fNOAa8LkMf7/U0O8S
         nDRjtqtJgOrA1OgJaXcynDK1ex0LqYNSrrbOyKNgqtQHe6BBt6ZRqBZRxvYqs4GDNenC
         r1WCffxczSSsgmwmaYpcAI+lZpGfFk0OgsqRDjMBADGhY9ZjZENxYNoxtyf+I61/M7Jk
         EXrcSuVYqfepQHWtmpC8EALJkvtspFo36WBU+OUdQfB3zgy4XK4U9WdB88hs6WRvZtJL
         pXdk5Gngf3r1LtwkqICLhPinYvBoU5bjMz0L+zNueoetIa+tapaHk9Cv39vwPlBnwYhS
         NK/Q==
X-Gm-Message-State: ALoCoQmJNZnTaZi0bhMyy3tBMeZWKto9TTNJI+0QJ0cIvJHdXQfK+xA2D4lT1lmdO/mFZlxu4PgM
X-Received: by 10.182.24.42 with SMTP id r10mr20512843obf.42.1445155371534;
        Sun, 18 Oct 2015 01:02:51 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.50.137.104 with SMTP id qh8ls594844igb.7.gmail; Sun, 18 Oct
 2015 01:02:50 -0700 (PDT)
X-Received: by 10.50.43.229 with SMTP id z5mr266700igl.8.1445155370941;
        Sun, 18 Oct 2015 01:02:50 -0700 (PDT)
In-Reply-To: <767364f8-785d-4f8f-9bc0-852df56ee4eb@isocpp.org>
X-Original-Sender: Evgeny.Panasyuk@gmail.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Spam-Checked-In-Group: std-proposals@isocpp.org
X-Google-Group-Id: 399137483710
List-Post: <http://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <http://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <http://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:21868
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/21868>

------=_Part_845_767107397.1445155369660
Content-Type: multipart/alternative; 
	boundary="----=_Part_846_467564723.1445155369660"

------=_Part_846_467564723.1445155369660
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

18 October 2015 =D0=B3., 0:47:38 UTC+3 Nicol Bolas :
>
>
> But I don't claim to know everything. So I accept the existence of such=
=20
> application domains. However, your suggestion was to adopt Boost.Coroutin=
e *instead=20
> of* P0057, not in addition to. So while you would be serving your=20
> application domain, you would also be performing a *disservice* to the=20
> application domain served by P0057.
>
> Remember that P0057's primary use case is .then-style continuations. And=
=20
> Boost.Coroutine doesn't help with that at all.
>
>
Why? await can be implemented on top of Boost.Coroutine. And I already did=
=20
this:
https://github.com/boostorg/coroutine/blob/master/example/cpp11/asymmetric/=
await_emu.cpp
https://github.com/panaseleus/await_emu

--=20

---=20
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 e=
mail 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-proposa=
ls/.

------=_Part_846_467564723.1445155369660
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">18 October 2015 =D0=B3., 0:47:38 UTC+3 Nicol Bolas :<block=
quote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;border-le=
ft: 1px #ccc solid;padding-left: 1ex;"><br><div>But I don&#39;t claim to kn=
ow everything. So I accept the existence of such application domains. Howev=
er, your suggestion was to adopt Boost.Coroutine <i>instead of</i> P0057, n=
ot in addition to. So while you would be serving your application domain, y=
ou would also be performing a <i>disservice</i> to the application domain s=
erved by P0057.<br><br>Remember that P0057&#39;s primary use case is .then-=
style continuations. And Boost.Coroutine doesn&#39;t help with that at all.=
<br><br></div></blockquote><div><br>Why? await can be implemented on top of=
 Boost.Coroutine. And I already did this:<br>https://github.com/boostorg/co=
routine/blob/master/example/cpp11/asymmetric/await_emu.cpp<br>https://githu=
b.com/panaseleus/await_emu<br></div></div>

<p></p>

-- <br />
<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 <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<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_846_467564723.1445155369660--
------=_Part_845_767107397.1445155369660--

.
