220 21757 <CA+wfc1_ibgT8uGKt913qX1j7qkGtc6fEiHghx7QV_xTPXq5UAw@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Oliver Kowalke <oliver.kowalke@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: Wed, 14 Oct 2015 10:39:58 +0200
Lines: 58
Approved: news@gmane.org
Message-ID: <CA+wfc1_ibgT8uGKt913qX1j7qkGtc6fEiHghx7QV_xTPXq5UAw@mail.gmail.com>
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> <510ce172-976a-4e3a-ae68-31fdb40af4d7@isocpp.org>
 <9dd3f28c-4ffb-4e08-9955-242c46e14527@isocpp.org> <CAFk2RUZWb+AaXQSPreat6LW9PVi-5V8zTFNDt-kJbigJbXsTPg@mail.gmail.com>
 <561DEFFD.2010802@gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=047d7b6784261ca7b105220c8340
X-Trace: ger.gmane.org 1444812025 7944 80.91.229.3 (14 Oct 2015 08:40:25 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Wed, 14 Oct 2015 08:40:25 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCLZHP5J7MHRB4VJ7CYAKGQE7ZMLUCA@isocpp.org Wed Oct 14 10:40:20 2015
Return-path: <std-proposals+bncBCLZHP5J7MHRB4VJ7CYAKGQE7ZMLUCA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-oi0-f71.google.com ([209.85.218.71])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCLZHP5J7MHRB4VJ7CYAKGQE7ZMLUCA@isocpp.org>)
	id 1ZmHbg-000587-Dr
	for gclcip-std-proposals@m.gmane.org; Wed, 14 Oct 2015 10:40:20 +0200
Original-Received: by oixx6 with SMTP id x6sf24697767oix.3
        for <gclcip-std-proposals@m.gmane.org>; Wed, 14 Oct 2015 01:40:19 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:in-reply-to:references:from:date
         :message-id:subject:to:content-type:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=uzkvIjTEGR/wVvdKEfeoIWYaREhiVlJIY8nUMjE5bAA=;
        b=iAWwxPcA8h2fIjFI9njjnhotWDMk/4SvzVTU8a4gd25pkruNuIJzW4FGj1YBgKRaHS
         JfFvccrhl06c8rznf1Xe+mAB9iu21dCX6ewVR+2JXMoo4G/fI7SlEOp/klBD5BlYGEdf
         S/olgzclL1mqouFMDH/QhKxEzbmb2U2BYMzEdkcLY6uNDYZ8Kxm1NzeNa302ODacq8s5
         hwZOyP5uXy5vzRsu6asJH3S4cwQJrKvqydQWRdamINiXbCSJYo15/VkxdNx/1wMQBYca
         4rTJ0MI4wC+Gw+7/9IcQgSEuhTHMp1gNw1nLJ2AU5/uEFSZyRIc8VXo6nH/1JRdaHvqw
         H7eA==
X-Gm-Message-State: ALoCoQl7lj1JoEpttleK/PJziXeBlaka3F3PPycFG7W2wYB+HBjYvm2wEC6d7OzdKYgREUw2Ez+e
X-Received: by 10.182.19.226 with SMTP id i2mr1682933obe.13.1444812019105;
        Wed, 14 Oct 2015 01:40:19 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.182.110.200 with SMTP id ic8ls18390obb.88.gmail; Wed, 14 Oct
 2015 01:40:18 -0700 (PDT)
X-Received: by 10.60.41.231 with SMTP id i7mr996267oel.72.1444812018338;
        Wed, 14 Oct 2015 01:40:18 -0700 (PDT)
Original-Received: from mail-ob0-x232.google.com (mail-ob0-x232.google.com. [2607:f8b0:4003:c01::232])
        by mx.google.com with ESMTPS id yx2si3969244obb.31.2015.10.14.01.40.18
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Wed, 14 Oct 2015 01:40:18 -0700 (PDT)
Received-SPF: pass (google.com: domain of oliver.kowalke@gmail.com designates 2607:f8b0:4003:c01::232 as permitted sender) client-ip=2607:f8b0:4003:c01::232;
Original-Received: by obbda8 with SMTP id da8so34131020obb.1
        for <std-proposals@isocpp.org>; Wed, 14 Oct 2015 01:40:18 -0700 (PDT)
X-Received: by 10.60.57.100 with SMTP id h4mr1007909oeq.71.1444812018196; Wed,
 14 Oct 2015 01:40:18 -0700 (PDT)
Original-Received: by 10.76.114.199 with HTTP; Wed, 14 Oct 2015 01:39:58 -0700 (PDT)
In-Reply-To: <561DEFFD.2010802@gmail.com>
X-Original-Sender: oliver.kowalke@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of oliver.kowalke@gmail.com designates 2607:f8b0:4003:c01::232 as
 permitted sender) smtp.mailfrom=oliver.kowalke@gmail.com;       dkim=pass
 header.i=@gmail.com;       dmarc=pass (p=NONE dis=NONE) header.from=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:21757
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/21757>

--047d7b6784261ca7b105220c8340
Content-Type: text/plain; charset=UTF-8

2015-10-14 8:02 GMT+02:00 Evgeny Panasyuk <evgeny.panasyuk@gmail.com>:

>
> And I think C++ ISO needs both - stackless and stackful coroutines.
> (though I would prefer to get stackless into ISO first, because stackful
> can be completely implemented in library, like Boost.Context/Coroutine)
>

but implementing context switching is cumbersome (because assembler) -
better the compiler vendors provide implementations for all those
combinations of architecture + ABI + binary format

-- 

--- 
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/.

--047d7b6784261ca7b105220c8340
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">2015=
-10-14 8:02 GMT+02:00 Evgeny Panasyuk <span dir=3D"ltr">&lt;<a href=3D"mail=
to:evgeny.panasyuk@gmail.com" target=3D"_blank">evgeny.panasyuk@gmail.com</=
a>&gt;</span>:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .=
8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
And I think C++ ISO needs both - stackless and stackful coroutines. (though=
 I would prefer to get stackless into ISO first, because stackful can be co=
mpletely implemented in library, like Boost.Context/Coroutine)<br></blockqu=
ote></div><br></div><div class=3D"gmail_extra">but implementing context swi=
tching is cumbersome (because assembler) - better the compiler vendors prov=
ide implementations for all those combinations of architecture + ABI + bina=
ry format<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 />

--047d7b6784261ca7b105220c8340--

.
