220 34671 <CAGg_6+PdH1vSfJwucRbjaZrg5OB6uezt-mtHMsB7774CDpPpDg@mail.gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Nevin Liber <nevin@eviloverlord.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: D0779R0: Proposing operator try() draft 1 paper
Date: Fri, 6 Oct 2017 11:05:12 -0500
Lines: 116
Approved: news@gmane.org
Message-ID: <CAGg_6+PdH1vSfJwucRbjaZrg5OB6uezt-mtHMsB7774CDpPpDg@mail.gmail.com>
References: <13df2242-f7dd-405d-b8b9-23b47981c56e@isocpp.org>
 <59D4D462.9040106@gmx.net> <CAFk2RUbWu1Pgdnm9o49cjrhd__5Ntn6bNFb_qCO3DWBQfev0jg@mail.gmail.com>
 <602e9e20-1d2f-4545-be32-d0234639985c@isocpp.org> <CAFk2RUbH2Y31ZdBfDOgzWcyu3vnz1CgpZBSxsu8wGdY8bhqCXA@mail.gmail.com>
 <229b9108-ece9-28a1-dbf5-c845e338f557@wanadoo.fr> <CAFk2RUZcpy7Fy2YPf_55zjBdH_3SavqZb_guGwQizp-iUuK=hQ@mail.gmail.com>
 <32606f9f-1525-43c5-b6f3-50e789b7d234@isocpp.org> <aa8f4ad4-8309-49a6-8346-634458fe373a@isocpp.org>
 <59D5DB4C.90403@gmx.net> <35d99979-247b-48e7-aa83-b8f2fc24a986@isocpp.org>
 <59D750FF.2090102@gmx.net> <52b64827-d0ba-4ff5-9ea4-d0874b4fb708@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="94eb2c1487be3f77d3055ae30434"
X-Trace: blaine.gmane.org 1507305972 1862 195.159.176.226 (6 Oct 2017 16:06:12 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Fri, 6 Oct 2017 16:06:12 +0000 (UTC)
To: "std-proposals@isocpp.org" <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCE35H5S6IDBB2GT33HAKGQEFOMSKXA@isocpp.org Fri Oct 06 18:05:59 2017
Return-path: <std-proposals+bncBCE35H5S6IDBB2GT33HAKGQEFOMSKXA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-pg0-f72.google.com ([74.125.83.72])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCE35H5S6IDBB2GT33HAKGQEFOMSKXA@isocpp.org>)
	id 1e0V8O-0007FH-12
	for gclcip-std-proposals@m.gmane.org; Fri, 06 Oct 2017 18:05:56 +0200
Original-Received: by mail-pg0-f72.google.com with SMTP id u27sf9804615pgn.3
        for <gclcip-std-proposals@m.gmane.org>; Fri, 06 Oct 2017 09:06:03 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1507305962; cv=pass;
        d=google.com; s=arc-20160816;
        b=toClKuBsnww7BhmepeCPLu6RLkEbWrmXyiNar94AKYRcHMYCYWyK6b7V3d+s7lkQh0
         V8JGnvoctY7mGB0O4vrro+vJNARkeQz+aKA+9I8Wv0n0BiC1CzZULyo8WRm0IYvc+RSy
         mxRkn/4DtwlV3kOVWT7TZnUhZe5u6VbGLmJ8n4cTVwVLkD9Gqe7hS6bEw28b+WX7ktAO
         NfsbADnkaMlz02oZzs+G7CLZxlGDAtrsqnXR1v3Qk7AVC4BqduzvgtmqVA7BmhjwlMSy
         1QXp6Sc4SqqS7eZ8sLhLIhM6p99qJ0/LnyWrgNB6JHGyhs6USwPZj+B+wqJcSkXo+AtJ
         c+Ng==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:reply-to:to:subject:message-id:date
         :from:references:in-reply-to:sender:mime-version
         :arc-authentication-results:arc-message-signature
         :arc-authentication-results;
        bh=1MQGECPm7n/ldJ7hmTMc9yLgNjcm5igeqIIfkVXMwh0=;
        b=fFVT+5Du+BmzTIHBbZxylb90LGS7t4AWKLka7kU3DLbsg8j2hWCXkc2OHojUOASdwf
         7M8Kya2Q28G9qGd6qgBWvOXK0X6hiL6ubDriEyapShcWBFGNrXvpiw76Qt6H051i7ni3
         9QgGUEQ5YXy8DPPT+h/fzfAHDymYcd0Mh80OTc199V3Mv4GR2eCjCWbBQNMNmGT2fL1y
         QcE8pw9dxbugQFIxU6EkamDbw+C9ZVTzmOB/0mAsDhi5DtMyFk0H8eaBiLl0nNY8eduv
         SN2JLTVljTJBdc2qrnasKeV/wGttbggglz+ozBD1lOUfz/DnMe8gOeCukLPNxGyoiQRW
         oazw==
ARC-Authentication-Results: i=2; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b=YFLSVFMw;
       spf=pass (google.com: domain of nliber@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=nliber@gmail.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:sender:in-reply-to:references:from
         :date:message-id:subject:to: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=1MQGECPm7n/ldJ7hmTMc9yLgNjcm5igeqIIfkVXMwh0=;
        b=PeZ3VXgoQ/tif+Hi3GmnVuIslQK7G/5mJntb6TfWrtJH4/Q8E0r9iC8tn4oPxFKA79
         8B34x0DgrLHa/5fJ8BHQQu3W6ol/LyDzL3PnKCLNPM3M+QEYzPbg2RZAoV+ph/4zKrT5
         LYjMbdnVRicNUjpJiE31XjPlY6Btyoje4F5iyibaC4Cb5PUEu1VmbSQ9VhmR10GMlvmg
         UmSMwNSfkO4WMHouuLNCG5fcryA8sYdO1oOmhSaGOUMeFE9NoeQtbESDdtZaQO1OjQgE
         lEQvctkIPRY7Bl4aBcG4fiG17UoGuu8z/K/hAiegJZ+UTx9nNEwxpxKZDbo3IIvfSl+9
         ddWw==
X-Gm-Message-State: AMCzsaWTynPiOruFXUgWra7czAZoysL6s38u72njmYLS7/k7VJqlIIyW
	xAnfgAjDnvnryn8hgKgNAlo=
X-Google-Smtp-Source: AOwi7QD2EePfodL+UvSycgWY1cuvHQAm4Yh3yFP3oNtn5X2dG6HWlibUFqdpDMSvK/c2QbNQcCoVnA==
X-Received: by 10.99.42.141 with SMTP id q135mr239892pgq.50.1507305962155;
        Fri, 06 Oct 2017 09:06:02 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.99.108.66 with SMTP id h63ls3380136pgc.25.gmail; Fri, 06 Oct
 2017 09:06:00 -0700 (PDT)
X-Received: by 10.101.74.206 with SMTP id c14mr2448557pgu.190.1507305960495;
        Fri, 06 Oct 2017 09:06:00 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1507305960; cv=none;
        d=google.com; s=arc-20160816;
        b=aSfBlUeVI5SugXmTbEFblINa1K8b3DswMraiQv+GaiDWsV4ohJK0xABcl6tA+7DkGM
         2QVPn6onfCQG1EUdis8vBaS9vKZppqlUdCFMnomfwcGJk4y2e3IZ6DQPgCbEg9MjAIh7
         YxNrR2Cj25/PtBgpxLQIKEsD4qW7nTy7kYTu5XOLoZmwfEDVPaP6nI74y24n2QGveSiy
         BFJUQNeHCEM050HL15b3otR8Lv9zBTBYyCKRyldn6z4uWbvJWt4TswXf8XCltusXHKKx
         FT6OxZ7zJ7OB3WDIYSVErZjSpTWggHJ/Oa1i6+6NjitMJ56qAOpwNlQUh/bvO+mihvDt
         m61w==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=to:subject:message-id:date:from:references:in-reply-to:sender
         :mime-version:dkim-signature:arc-authentication-results;
        bh=gMAh0kX4y9qnjOtPJUbE3ru2GnZ9sAfvy59tQGLMbck=;
        b=mkbfzfqcslE/eyRteOhxJQuLnIq0WRrxFwHGhvZcW5V1mwB1bhXnhfWztzIM2NfpUl
         vuEy5a9zlREu7N0AUoy13SxKme8+I3PIn1UrsshS+MakGgdHSYtSjeiADHl1FfwMd451
         W/U/M6IaEiw2kusdIMLw/Ko0vRr4hkLGNEftOXLhdkmriMaZE6QUtmA/NFQxy0ceo8A5
         52hQ80O+F4nq2NfzKCicVuGwqzf+xWnForBheTl48zGs39lOk5WBOb9zvow8z2gfjILb
         mIi3t/GXzVZhnSyAHiNlAuNTXuGfoS3mLGcJxRNYz6WTA6f3tEdQEk6BfJHTgnZNAemM
         61zQ==
ARC-Authentication-Results: i=1; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b=YFLSVFMw;
       spf=pass (google.com: domain of nliber@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=nliber@gmail.com
Original-Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41])
        by mx.google.com with SMTPS id x3sor303501plo.126.2017.10.06.09.06.00
        for <std-proposals@isocpp.org>
        (Google Transport Security);
        Fri, 06 Oct 2017 09:06:00 -0700 (PDT)
Received-SPF: pass (google.com: domain of nliber@gmail.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41;
X-Received: by 10.84.199.194 with SMTP id d2mr2460368plh.346.1507305958896;
 Fri, 06 Oct 2017 09:05:58 -0700 (PDT)
Original-Sender: nliber@gmail.com
Original-Received: by 10.100.182.208 with HTTP; Fri, 6 Oct 2017 09:05:12 -0700 (PDT)
In-Reply-To: <52b64827-d0ba-4ff5-9ea4-d0874b4fb708@isocpp.org>
X-Original-Sender: nevin@eviloverlord.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com header.s=20161025 header.b=YFLSVFMw;       spf=pass
 (google.com: domain of nliber@gmail.com designates 209.85.220.41 as permitted
 sender) smtp.mailfrom=nliber@gmail.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Google-Group-Id: 399137483710
List-Post: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://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>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:34671
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/34671>

--94eb2c1487be3f77d3055ae30434
Content-Type: text/plain; charset="UTF-8"

On Fri, Oct 6, 2017 at 10:44 AM, Niall Douglas <nialldouglas14@gmail.com>
wrote:

> On Friday, October 6, 2017 at 10:46:43 AM UTC+1, Jens Maurer wrote:
>>
>> My view on WG21 is that, for at least some people, exceptions are still
>> the way to go for error propagation across multiple call frames, one
>> argument being that sprinkling your code with "if (error) return" litters
>> the CPU's instruction cache and branch predictor with
>> almost-never-executed
>> stuff.
>>
>
> But coming back to your point, I am well aware of the expert opinion
> against this change. I've been at persuading people for something like
> eighteen months now, Vicente for years longer again. I found that you can't
> convince people based on performance.
>

When people ask you for numbers and measurements, you say:

(I don't mean to brush off your request, but as soon as you cite
> benchmarks, people start inspecting the benchmark code, then they start
> bike shedding on "oh this is an unrealistic assumption" and "oh that
> wouldn't happen in real world code" and so on. Before you know it hundreds
> of emails have passed, and effort better expended elsewhere has been
> wasted. [...])


Given that you are not willing to provide evidence to back up your claims,
your argument boils down to "trust me".  I vastly prefer "trust but
verify", because in my experience, many people, a lot of which are real
experts, have presented things and reasoned things out that turn out not to
be valid.

It is much, much harder to convince people with unsubstantiated claims on
performance than to convince them with substantiated claims about
performance.
-- 
 Nevin ":-)" Liber  <mailto:nevin@eviloverlord.com>  +1-847-691-1404

-- 
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.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAGg_6%2BPdH1vSfJwucRbjaZrg5OB6uezt-mtHMsB7774CDpPpDg%40mail.gmail.com.

--94eb2c1487be3f77d3055ae30434
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">On Fri, Oct 6, 2017 at 10:44 AM, Niall Douglas <span dir=
=3D"ltr">&lt;<a href=3D"mailto:nialldouglas14@gmail.com" target=3D"_blank">=
nialldouglas14@gmail.com</a>&gt;</span> wrote:<br><div class=3D"gmail_extra=
"><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-=
left-color:rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><span class=
=3D"gmail-">On Friday, October 6, 2017 at 10:46:43 AM UTC+1, Jens Maurer wr=
ote:<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bor=
der-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,20=
4);padding-left:1ex">My view on WG21 is that, for at least some people, exc=
eptions are still
<br>the way to go for error propagation across multiple call frames, one
<br>argument being that sprinkling your code with &quot;if (error) return&q=
uot; litters
<br>the CPU&#39;s instruction cache and branch predictor with almost-never-=
executed
<br>stuff.
<br></blockquote><div><br></div></span><div>But coming back to your point, =
I am well aware of the expert opinion against this change. I&#39;ve been at=
 persuading people for something like eighteen months now, Vicente for year=
s longer again. I found that you can&#39;t convince people based on perform=
ance.</div></div></blockquote><div><br></div><div>When people ask you for n=
umbers and measurements, you say:</div><div><br></div><div><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;b=
order-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"=
>(I don&#39;t mean to brush off your request, but as soon as you cite bench=
marks, people start inspecting the benchmark code, then they start bike she=
dding on &quot;oh this is an unrealistic assumption&quot; and &quot;oh that=
 wouldn&#39;t happen in real world code&quot; and so on. Before you know it=
 hundreds of emails have passed, and effort better expended elsewhere has b=
een wasted. [...])</blockquote><div><br></div><div>Given that you are not w=
illing to provide evidence to back up your claims, your argument boils down=
 to &quot;trust me&quot;.=C2=A0 I vastly prefer &quot;trust but verify&quot=
;, because in my experience, many people, a lot of which are real experts, =
have presented things and reasoned things out that turn out not to be valid=
..</div></div><div><br></div><div>It is much, much harder to convince people=
 with unsubstantiated claims on performance than to convince them with subs=
tantiated claims about performance.</div></div>-- <br><div class=3D"gmail_s=
ignature"><div dir=3D"ltr"><div><div dir=3D"ltr"><div>=C2=A0Nevin &quot;:-)=
&quot; Liber=C2=A0 &lt;mailto:<a href=3D"mailto:nevin@eviloverlord.com" tar=
get=3D"_blank">nevin@eviloverlord.com</a>&gt; =C2=A0+1-847-691-1404</div></=
div></div></div></div>
</div></div>

<p></p>

-- <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 />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/CAGg_6%2BPdH1vSfJwucRbjaZrg5OB6uezt-m=
tHMsB7774CDpPpDg%40mail.gmail.com?utm_medium=3Demail&utm_source=3Dfooter">h=
ttps://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAGg_6%2BPdH1vS=
fJwucRbjaZrg5OB6uezt-mtHMsB7774CDpPpDg%40mail.gmail.com</a>.<br />

--94eb2c1487be3f77d3055ae30434--

.
