220 21345 <9e17f8a6-4f5b-47dd-9f76-a4675a5ede3c@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: =?UTF-8?Q?Germ=C3=A1n_Diago?= <germandiago@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Resumable expressions p0114r0 vs async/await P0057R0
Date: Tue, 6 Oct 2015 04:34:02 -0700 (PDT)
Lines: 82
Approved: news@gmane.org
Message-ID: <9e17f8a6-4f5b-47dd-9f76-a4675a5ede3c@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>
 <1bf00a8f-5f20-43de-a319-2712ab34eafd@isocpp.org>
 <36f46c03-b1f1-4230-b686-a7a9a1c491cb@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_6158_1606441187.1444131243023"
X-Trace: ger.gmane.org 1444131249 15686 80.91.229.3 (6 Oct 2015 11:34:09 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Tue, 6 Oct 2015 11:34:09 +0000 (UTC)
Cc: german.diago@hubblehome.com
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBDC2VXM4YYDRBLHDZ2YAKGQESKVNQZI@isocpp.org Tue Oct 06 13:34:09 2015
Return-path: <std-proposals+bncBDC2VXM4YYDRBLHDZ2YAKGQESKVNQZI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ig0-f197.google.com ([209.85.213.197])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBDC2VXM4YYDRBLHDZ2YAKGQESKVNQZI@isocpp.org>)
	id 1ZjQVR-0007cN-HK
	for gclcip-std-proposals@m.gmane.org; Tue, 06 Oct 2015 13:34:05 +0200
Original-Received: by igcph1 with SMTP id ph1sf247371634igc.2
        for <gclcip-std-proposals@m.gmane.org>; Tue, 06 Oct 2015 04:34:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=date:from:to:cc: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=OFISvek4SXAe5x4HeZq6aHtECxr0iLzFLxcpaTPH9zg=;
        b=XeTSlIYWWpvSrOykUiXM8CbtYYIh5OGIdUd0/zlu3KH/3DPo0nDLGfOTV+sAyvkGuH
         O77GM94x/bWMy9a5fCNoqfxtVybCiVevd31NzxuXnK2rqgFj4rsi/h7ch+5l80vPEBq2
         FM888bdMbvLb1bTMET0Px7f+wtNF/IdZLOJDTG5TrGwANF98MYt/VUmWBlrgtIy+aHJc
         tGx+oA3IL04Mspjk+aQ13HYYuUaBNJyzKNyPfjkSvAY2yyrDs24PHTh0wFrx9N8urQaZ
         Ok1S1170gzes70PsSamdmYsCEkykia49bQa54sRQkIRS4mklAg1u4OEBWB2ZWi32LqjP
         0Tdw==
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:cc: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=OFISvek4SXAe5x4HeZq6aHtECxr0iLzFLxcpaTPH9zg=;
        b=DpURKTTr42Z6TNAxK5ohBuDljR29O9tJ+Av3o7BzEls4oofEWTzc4e54QI0cmE5l8r
         VYitkXWvHmY4YW8RrF29joY1lHZEOpNQ8XlIp9GhjX9MH9o9KePta8M5xvFe5hmqs06O
         py0wYkiBacKvH3utowB+RVNj9iUea1OOKroOLjCywnC2JROWQdAl72xZlYsZZ6haMo5Z
         O+tFE4x6TYxEEfE6Fg5/Uvi1pGETnbI3l8yA87zkmJG9HB+XIkaKlIF6mMyci5qQrCqu
         tGCBaXe4qLiGBLljTMLxBmLglxOTAFipH5pV7jsA7ZPpE54ScI8YHM1xYiXHe9jOfakT
         lODw==
X-Gm-Message-State: ALoCoQn1700CdUdnx23Zb41XWzadfukcoWRyOcyZM1RpI94X9FDvCuTQ4zNHk4yEjvqqV3hVl73R
X-Received: by 10.50.55.71 with SMTP id q7mr13598828igp.7.1444131244680;
        Tue, 06 Oct 2015 04:34:04 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.107.12.194 with SMTP id 63ls1921523iom.103.gmail; Tue, 06 Oct
 2015 04:34:03 -0700 (PDT)
X-Received: by 10.50.30.102 with SMTP id r6mr187992igh.3.1444131243842;
        Tue, 06 Oct 2015 04:34:03 -0700 (PDT)
In-Reply-To: <36f46c03-b1f1-4230-b686-a7a9a1c491cb@isocpp.org>
X-Original-Sender: germandiago@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:21345
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/21345>

------=_Part_6158_1606441187.1444131243023
Content-Type: multipart/alternative; 
	boundary="----=_Part_6159_1670705577.1444131243023"

------=_Part_6159_1670705577.1444131243023
Content-Type: text/plain; charset=UTF-8



How much more performant? Is it enough to be worth arguing about? After 
> all, most things you'll be using await for won't be cheap operations. Will 
> you actually *notice* any such performance loss?
>

Well this is a usual argument to use "productivity languages". As far as I 
know, the definition of performance for C++ is that between C++ and machine 
code, we can only choose assembly.
So far, it has been good to me. Boxing is bad, bad, bad. I do not think it 
is a good idea in a language abstraction. About the scheduling, not sure, 
but I believe what you say for now :).
 
 

> When a resumable function is used in a resumable expression, the 
> definition of the function must appear before the end of the translation 
> unit.
>

There is an example of a boxed generator with separate compilation in the 
paper. Doesn't that contradict whay you are claiming?

 

-- 

--- 
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_6159_1670705577.1444131243023
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><br><blockquote class=3D"gmail_quote" style=3D"margin:=
 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div>=
How much more performant? Is it enough to be worth arguing about? After all=
, most things you&#39;ll be using await for won&#39;t be cheap operations. =
Will you actually <i>notice</i> any such performance loss?<br></div></block=
quote><div><br>Well this is a usual argument to use &quot;productivity lang=
uages&quot;. As far as I know, the definition of performance for C++ is tha=
t between C++ and machine code, we can only choose assembly.<br>So far, it =
has been good to me. Boxing is bad, bad, bad. I do not think it is a good i=
dea in a language abstraction. About the scheduling, not sure, but I believ=
e what you say for now :).<br>=C2=A0<br></div><div>=C2=A0</div><blockquote =
class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;border-left: 1p=
x #ccc solid;padding-left: 1ex;"><div>When a resumable function is used in =
a resumable expression, the definition of the function must appear before t=
he end of the translation unit.<br></div></blockquote><div><br>There is an =
example of a boxed generator with separate compilation in the paper. Doesn&=
#39;t that contradict whay you are claiming?<br><br>=C2=A0<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_6159_1670705577.1444131243023--
------=_Part_6158_1606441187.1444131243023--

.
