220 34630 <59D5DB4C.90403@gmx.net> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Jens Maurer <Jens.Maurer@gmx.net>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: D0779R0: Proposing operator try() draft 1 paper
Date: Thu, 05 Oct 2017 09:12:12 +0200
Lines: 38
Approved: news@gmane.org
Message-ID: <59D5DB4C.90403@gmx.net>
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>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Trace: blaine.gmane.org 1507187537 29674 195.159.176.226 (5 Oct 2017 07:12:17 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Thu, 5 Oct 2017 07:12:17 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:6.0.1) Gecko/20110830 Thunderbird/6.0.1
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBDPMTYGK64JRBUFW27HAKGQEOBC5UXA@isocpp.org Thu Oct 05 09:12:13 2017
Return-path: <std-proposals+bncBDPMTYGK64JRBUFW27HAKGQEOBC5UXA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-wr0-f200.google.com ([209.85.128.200])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBDPMTYGK64JRBUFW27HAKGQEOBC5UXA@isocpp.org>)
	id 1e00KH-00070N-DU
	for gclcip-std-proposals@m.gmane.org; Thu, 05 Oct 2017 09:12:09 +0200
Original-Received: by mail-wr0-f200.google.com with SMTP id z96sf2388558wrb.21
        for <gclcip-std-proposals@m.gmane.org>; Thu, 05 Oct 2017 00:12:17 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1507187537; cv=pass;
        d=google.com; s=arc-20160816;
        b=R+9LX9fJGiObfr8rxmkuGDDHT6LdKh3kNdVJ2pUolzjkcR7o37+TwvPHyana1F9qRo
         gfCfrkLUMJm7R/rbSy3ZnJpsIjPUos3XgO7HAul6DjOpJP1TL8X59Ic54ptq4xLYqKsc
         f6e7k4nVeQCQK31vtzQ0hhn0pQikFtsUAXjfvH9uyrZ4XEMyDQj7U9pUsh2RIs5oprRY
         daMln6UROByc83WkaCcKae4CD+hSsQygJEFKaobU1At6LL3gJqso/FjVoDyhCyUaG8dO
         jhsTByB3WgrR2QzEZ6nhry53+6g6S0RXaEdNnKFpZfV4CNXMNmqFh2OnIESFl+7NZ4tr
         0lYw==
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:content-transfer-encoding
         :in-reply-to:references:subject:to:mime-version:user-agent:from:date
         :message-id:arc-authentication-results:arc-message-signature
         :dkim-signature:arc-authentication-results;
        bh=zkedKBMGF7d+Ic1QoUVWv1XgUHwKOs+Pe0tlP8x03ck=;
        b=a84CA2lFGdw78md3GWBaxRKIApsafncFslpm0pp3vtIgcrtiIi1mjqKflFMLaEa8yy
         iqg8yeH886IdVZNc6cq+2YDDmkhbO8RXhZ6BcsSgOhYYtCZqh5CqqP8KsSGLieoQj8Vd
         dzsh7aXhu0bZrjkxBMeiJxIEJ7EX5lHpzDS1+nPzdrGqsh0XUS7+AB3quij6qozZ7BbD
         yxzbb6StVRdEzI0zajZKTaNpP/9oxJZ5fGyRw4PCOSWvIzprh+3DgAD2NYnyRej5TwQB
         GAq9P7gDDjvmLfvn3c7LVLj1WublnYvamSn0csptD7VPPEbgWQKbPlui9uIKJWqMgncW
         C 
ARC-Authentication-Results: i=2; mx.google.com;
       spf=pass (google.com: domain of jens.maurer@gmx.net designates 212.227.15.19 as permitted sender) smtp.mailfrom=Jens.Maurer@gmx.net
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=message-id:date:from:user-agent:mime-version:to:subject:references
         :in-reply-to:content-transfer-encoding:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:list-post:list-help:list-archive:list-subscribe
         :list-unsubscribe;
        bh=zkedKBMGF7d+Ic1QoUVWv1XgUHwKOs+Pe0tlP8x03ck=;
        b=T77sTZzyHOWtfVa4/IFyqe5QHTfByONXEyLM7GqEY/RjG9utF8PYzhI+l/zFZIN2Cy
         +pLx36C8OgHJ4SnRm1ACZp7+YbF9lZpTOAMyCndNZh4wy+AWKcoeXBnLTuA70iI7uvp7
         g9lX183oNJbxeAMGKjf9BO2oWGZeucMA54mgIdsw3u+botyDIk9N1ksVwpuzfKe6y0BF
         lqu6iiCmJob8oiCTze4SSgBJP3/lrLPQjhXVq4MWBxVMCJYSZq4akLU+loGJCVQhAozh
         P6Sx47FxXxXv+gz0FvqmN75tBAowl3JQXCup83w57Sstse3h4u7dY1CIYKmHuUFB56my
         q6XA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to
         :subject:references:in-reply-to:content-transfer-encoding
         :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=zkedKBMGF7d+Ic1QoUVWv1XgUHwKOs+Pe0tlP8x03ck=;
        b=JW1GYwTnVjq1MCs/fH8UQ0V9KU0gbL/yIHIm3u0qFO/hQg4671KnlbT8tKOojBFf0l
         5UUe9r2EUjzpGjfvAURqIe0FExs1WT2rWla1k9GI8se0L+CbJmijd+61ngDIypXibk4S
         57INaRLDiVWWpWUK2hxExea2vTeXOOiafcYVdpVqmx2RVqzWZeSjRiRl/9/BjVQaepuI
         kAoR+MkpI4Fbi07P37UcqX+/piClmajcLForVr2DGBBlEnENhcr9jdoocQwiB/lkl0Lz
         pF+SgA+hAy8vSMeO02D2mNSuNTtiEKks4f8MqRSM3cU6dlmymxs7DctGlXvtkXHxoK/p
  
X-Gm-Message-State: AMCzsaWdYr6O68TJU3K8GDxJ4eg42sXE2I6Fyoqqphg23RqwcjJtfEKr
	R0WGsyEBGhlPxEXntVGVXBrxRw==
X-Google-Smtp-Source: AOwi7QD5sUXMIecQcV3koTgl83wa6ZH+GJDc2c+1OHbLZbehXOFiUrsVn703AbvuePKp/xKnBmKsFw==
X-Received: by 10.28.135.132 with SMTP id j126mr3095705wmd.0.1507187537042;
        Thu, 05 Oct 2017 00:12:17 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.223.160.247 with SMTP id n52ls5214381wrn.6.gmail; Thu, 05 Oct
 2017 00:12:16 -0700 (PDT)
X-Received: by 10.28.209.2 with SMTP id i2mr8442660wmg.153.1507187536211;
        Thu, 05 Oct 2017 00:12:16 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1507187536; cv=none;
        d=google.com; s=arc-20160816;
        b=zY/yuj9ht5HMVU7TidE+OjvdvYNis+5XyUM1QMSjPktHHXFQHTO9IoldnYDoIkzqvU
         dwWQhpTLhcUWfRlIh0SzwWtttwK1MQtpaj6kDkN52M7zDBjedrX1mgf0e7zW5sBlC+Ci
         lpvNxrggkpMK4hRxTTksfq0EHYkqdQRy710e0TR3dkL4gtQeyGUdNWQy5Jr10oNQUXTF
         dspQdIb/+c4RPZhATO5kVCSvvk6YE8kJVW3SLgzLYKm7uUOVkQ41jWXKGyJPgDIwN3Dg
         qT2k+VJ2tQo4BShNvuB2Z32btdvGdlDkREvGhBJoMvFRynQZk9pWSUIAdq2BTCZjv6Ev
         8obA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=content-transfer-encoding:in-reply-to:references:subject:to
         :mime-version:user-agent:from:date:message-id
         :arc-authentication-results;
        bh=75JXfEaI1apRyT86ArcCHNpAPKIxFI6iQm4ViSlMC5s=;
        b=ojZHUc/A0kApZigOdXbBekF1sFcVeyVMmwRuivd7UEGJkP3S8KRSkfxKPdEAfsS2TP
         WjeuSjV+eorNu/FLzx9hZsSYobuJqOY4zoJDIR0Pp/qvhClLzNweG4Og4WLn1f4FQ8F1
         /N0bDs+I46mUPbFHi9xR/85FrxeGMd50Tzzmaiw1mgCAvQDphUxHvX7m41u6F9H+8RRc
         0/aw7RGk6AuqhAZl+TOSZF35o2xeJExBOCZ/7NN/jNQmZU8eyWuzq5TzjOmf2AFno72i
         yJLPSg2gH4lLVZsf1hrGBKv2jACBZxYThAvI7BZ8Dn0KgkqgxDozzhs5IAOtOnyUF0tx
         +Eng==
ARC-Authentication-Results: i=1; mx.google.com;
       spf=pass (google.com: domain of jens.maurer@gmx.net designates 212.227.15.19 as permitted sender) smtp.mailfrom=Jens.Maurer@gmx.net
Original-Received: from mout.gmx.net (mout.gmx.net. [212.227.15.19])
        by mx.google.com with ESMTPS id o40si3830933wrf.300.2017.10.05.00.12.16
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Thu, 05 Oct 2017 00:12:16 -0700 (PDT)
Received-SPF: pass (google.com: domain of jens.maurer@gmx.net designates 212.227.15.19 as permitted sender) client-ip=212.227.15.19;
Original-Received: from [192.168.2.100] ([178.7.78.77]) by mail.gmx.com (mrgmx003
 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LbMF8-1dcF6K2mKY-00kvSO for
 <std-proposals@isocpp.org>; Thu, 05 Oct 2017 09:12:15 +0200
In-Reply-To: <aa8f4ad4-8309-49a6-8346-634458fe373a@isocpp.org>
X-Provags-ID: V03:K0:Au50P6ibPeLCANQDDEqcw8OtAXw9hi3zRTBgZV3lzvW1AJwMIQY
 mqNCRzk+RB8CgFfgWOx8+rAfpvR+DaXnjSGF3iehzEaZH9LoqcRf3OjLewzVmKJCLLW954R
 hbSeAjOvM5nnYoXkJxb/9seFFcL0O0D3XdCpwIzygXF9X5l3RSFs2STQIAB6Kg7ZmiQgOc/
 G38RXdaR/WTDSibma4DJA==
X-UI-Out-Filterresults: notjunk:1;V01:K0:InbUo46ipDs=:lRtCAuZyPeCNCdChBHWi8W
 8eYeHd96tTnXx95NxaBir9vKReC+jfth8R0HaYU/A6/0D8iAqBddsrP17ua/vgW5/Uc/DdZuJ
 AibKdhP0KJA2jONTSbxofRzN9gfsmvC9yOQL1kC2ZPDPgHIlAXcE7RXKiBKc3XTeoMQOi5FAf
 CTsPsMfGGiRSz4aB1t0dEd5T10bKo/b7vhQ2cktbtjg4pmJXfEE8ifSTP0oSVPb3eH05dPXvl
 syBDoCDiBCCEmgA3dZKy4sptcL4pJmcFmJlKfBoASbEJdvYvKHzB/NCpBvu7NuXOHt/h4Vwiv
 0w50rf4IJvmPIxxKp8qdSmqAFcVvWrKj16GrRqMeH8LFtP2VkdD/yyyuM7o8mCDJ6fxPj9BJB
 DKzK1MIe4gDePbUcb3/oanLf+LtGUFbM2Md3TYJya3HW2u72osQT4t8u3CttOpcX8f11m/cUB
 zMs9428fCEV+z6L7965E61T9fMaUE04mQxYQsyAYOslmnhcSb1gIGyd3yFkJYXWZO65tidZKC
 k8Rh1/WXvhhZXSq5pP12SmsD6DADeMko28Z12PMEacwDpoSa8xtCKtjveJ4PPDrJgHPthTwDa
 xFd2zZh2tXJr6U0qvtja3dK5ud/e1IsRDU3bvcYKOwrWiJLXIobNLpFui3mIl6IkzaNNEXg0p
 R3nvJ0fm7qcrYtSiq0YUjh8VPEgEFpgpCXj2RxUsh5DCDXrnZClVgHcTL565WuqUpzurC7RrO
 z8zetcDSVuAkos58lXj5H9WA+SWvgIQthTv7Xa62NOVPxK1P8hFUW5mL7z9qC4GXxLOM8WiB 
X-Original-Sender: Jens.Maurer@gmx.net
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of jens.maurer@gmx.net designates 212.227.15.19 as permitted sender) smtp.mailfrom=Jens.Maurer@gmx.net
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:34630
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/34630>

On 10/05/2017 12:26 AM, Niall Douglas wrote:
>=20
>     Let me remind you all that we have a feature that does what you desir=
e without any new keywords or chaining of operations. It is called exceptio=
ns. To me it seems that the longer this debate runs the closer we get to ex=
ception throwing/catching. I know exception unwinding mechanisms have a bad=
 reputation for both performance and code size, but who has really done the=
 measurements to prove this?
>=20
>=20
> Actually a lot of people have. SG14 invested lots of effort into this, an=
d found no statistically measurable difference if failure was not common.
>=20
> However iff failure is anything but rare, then exception throws on table =
based handling systems are expensive, about 2000 CPU cycles per frame unwou=
nd /minimum/. Table searching is pipeline unfriendly.

Could you please give a pointer to a specific paper(s) (URLs)?

> This was done during the Boost.Outcome peer review, and people came away =
impressed. You might also watch any of my conference videos on this topic e=
..g. the ACCU 2017 one.

Could you please give specific pointers (URLs)?

And please put those pointers in any upcoming WG21 paper, too.

Jens

--=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.
To view this discussion on the web visit https://groups.google.com/a/isocpp=
..org/d/msgid/std-proposals/59D5DB4C.90403%40gmx.net.

.
