220 39737 <0ecc7780-0359-460f-9ff0-7ab722658790@isocpp.org> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Niall Douglas <nialldouglas14@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: D1095R0/N2xxx draft 4: Zero overhead
 deterministic failure - A unified mechanism for C and C++
Date: Sun, 12 Aug 2018 15:19:16 -0700 (PDT)
Lines: 69
Approved: news@gmane.org
Message-ID: <0ecc7780-0359-460f-9ff0-7ab722658790@isocpp.org>
References: <206ed6c7-67da-43db-8d21-5d2a359b19b0@isocpp.org>
 <b1e954fb-bab8-4746-abf1-2e699e702787@isocpp.org>
 <ceaef357-0080-4d44-910d-8728fed9c8b8@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_1315_399442818.1534112356145"
X-Trace: blaine.gmane.org 1534112231 23868 195.159.176.226 (12 Aug 2018 22:17:11 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sun, 12 Aug 2018 22:17:11 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBDGKFT5YZADRBZHEYLNQKGQESB5W7KQ@isocpp.org Mon Aug 13 00:17:07 2018
Return-path: <std-proposals+bncBDGKFT5YZADRBZHEYLNQKGQESB5W7KQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-yw1-f71.google.com ([209.85.161.71])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBDGKFT5YZADRBZHEYLNQKGQESB5W7KQ@isocpp.org>)
	id 1foyfb-000676-40
	for gclcip-std-proposals@m.gmane.org; Mon, 13 Aug 2018 00:17:07 +0200
Original-Received: by mail-yw1-f71.google.com with SMTP id r144-v6sf20772699ywg.9
        for <gclcip-std-proposals@m.gmane.org>; Sun, 12 Aug 2018 15:19:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=szeM8b9ExfwaOhTOh+0XbXCWd4v/n9UJ7sxczbN4XCc=;
        b=cmrGQIIuasMsN9BcIFgGRFYqTx31cBKvxnaWlxUb3t/SHKEQM2kfRX+vT0k0E04duH
         1oTPWO5EK5j5cgHfJ+KiSrzgER968QBOcd92owuYqncdHao2T99F2Q/NQvHzwnKRZk2l
         5H8Yr79kML4ItIECFUNQw7Kcg59N43KcGLgKZq7g6fpV8TGa0vB65kxV5VbdhOVtaMwK
         tuEQ6GIRYslYlgF0kjz8mlw3EEIpB1RyTUoF6lAnf3z+nSS8CK8oJqq6ODUl4ED/vKeN
         FhrDnC2v/NScv6tBmMAuipgf//B40jd/BbMS3eNlR6ahijwadIu2LXawndrSni+UqAlM
         brsA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=szeM8b9ExfwaOhTOh+0XbXCWd4v/n9UJ7sxczbN4XCc=;
        b=iebYQGkt+jjeeIplugTAGx90KUJhFq1nC/BUthqjeD5erw/Ihv3y9r39FjNLnMEFNb
         grgMuhOlio7k/kICaeviJMj0XC+fgqGh7mdUV2/735QK+xI3TIrp3fCJ991wV6syXG1C
         iKltkoXNlXWbQMlEQ8JVsC/QOoy/rY/3dCjY4yOTAZ3zkobYsDLf3nRF2YcD9eLxbPRC
         oM6fiI9CLEBrpDYRAXHCl16e3qTb4u9BARiZ0CRxsejHVU3U65Tr019UXln1H6kJRN29
         4z+q8v+YWxNKlnw0JT2e5HqCmq0dg9iuvz3rUlpdiwnyTvRjC4jmlJN1Lh3q+GWVhTaS
         9xTw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:date:from:to:message-id:in-reply-to:references
         :subject:mime-version: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=szeM8b9ExfwaOhTOh+0XbXCWd4v/n9UJ7sxczbN4XCc=;
        b=fVxcgx0edunBDOqtcRL+mUTrkHy8jrlJK8qdoid7qN/pJHxjabAHnL8xOPdEKbRP+g
         QKwfuNsDyP+1JuYxv4HRHAoCzLABfpKnOrlsHERx/kxlz5xq8pH3H7ZK907j6jgELt0X
         NFHEQxKWlXPX5ErKTMXrCvzZ6js/jTJ415WvQCLr3AlrzozmHQzUEjZMpt9w3NENeoYK
         zvJ6wdoSCTcs3Hs+noo68g/v3pgJb3v2A1QyElVgsN4mk3U2hF3bHzMYs5dKEUUvvPg3
         qcn480DCC1x2Ub/u07SKD2d2pgpKRI2zhITPkuHJ9EhmKeQOXx4dxHFiQCdwQUQ82zTL
         9Fxg==
X-Gm-Message-State: AOUpUlF0bSO93WoS1hJDBdGU/Q4rrPqju0+wgr5UY31rdFoGgw08T9xL
	ggVN1vUdw6W1FSNvEy849cMq3A==
X-Google-Smtp-Source: AA+uWPwpC1BITpyhodnqEgfNEePKhq2edcu4y1vdyR8MTb74c70qaA0rJdZwmKKsDefiXLSKQsKUQg==
X-Received: by 2002:a81:5295:: with SMTP id g143-v6mr5061892ywb.142.1534112357406;
        Sun, 12 Aug 2018 15:19:17 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 2002:a81:a08f:: with SMTP id x137-v6ls2291765ywg.37.gmail; Sun,
 12 Aug 2018 15:19:16 -0700 (PDT)
X-Received: by 2002:a81:63d5:: with SMTP id x204-v6mr319963ywb.5.1534112356608;
        Sun, 12 Aug 2018 15:19:16 -0700 (PDT)
In-Reply-To: <ceaef357-0080-4d44-910d-8728fed9c8b8@isocpp.org>
X-Original-Sender: nialldouglas14@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: <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:39737
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/39737>

------=_Part_1315_399442818.1534112356145
Content-Type: multipart/alternative; 
	boundary="----=_Part_1316_1255740024.1534112356146"

------=_Part_1316_1255740024.1534112356146
Content-Type: text/plain; charset="UTF-8"


>
>
> How `std::uncaught_exceptions` will exactly work with value exception? You 
> mentioned overhead of cold cache, but it will be implemented in this or 
> this is thing you want avoid?
>
> Me personally, I'd like std::uncaught_exceptions to apply to type-based 
exception throws only, and not drag down all value-based exception throws 
with latency just for the 0.01% of users which ever use 
std::uncaught_exceptions. It could maybe be enabled with a compiler option.

But assuming WG21 won't go for that, my proposal is that the TLS reference 
counting only apply to std::error, it is not available under Freestanding 
C++, and can be disabled at the command line.

Niall

-- 
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/0ecc7780-0359-460f-9ff0-7ab722658790%40isocpp.org.

------=_Part_1316_1255740024.1534112356146
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><blockquote class=3D"gmail_quote" style=3D"margin: 0;margi=
n-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir=3D"l=
tr"><div><br></div><div>How `std::uncaught_exceptions`=20
will exactly work with value exception? You mentioned overhead of cold=20
cache, but it will be implemented in this or this is thing you want=20
avoid?</div><div><br></div></div></blockquote><div>Me personally, I&#39;d l=
ike std::uncaught_exceptions to apply to type-based exception throws only, =
and not drag down all value-based exception throws with latency just for th=
e 0.01% of users which ever use std::uncaught_exceptions. It could maybe be=
 enabled with a compiler option.</div><div><br></div><div>But assuming WG21=
 won&#39;t go for that, my proposal is that the TLS reference counting only=
 apply to std::error, it is not available under Freestanding C++, and can b=
e disabled at the command line.</div><div><br></div><div>Niall</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/0ecc7780-0359-460f-9ff0-7ab722658790%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/0ecc7780-0359-460f-9ff0-7ab722658790=
%40isocpp.org</a>.<br />

------=_Part_1316_1255740024.1534112356146--

------=_Part_1315_399442818.1534112356145--

.
