220 31231 <CA+wfc1-7Tyobn4jEehcq6dOCYADo3Tkq--GH-Zvn_uAiw=UD+A@mail.gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Oliver Kowalke <oliver.kowalke@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: P0534: call/cc, type safety and exceptions
Date: Wed, 1 Mar 2017 09:26:00 +0100
Lines: 65
Approved: news@gmane.org
Message-ID: <CA+wfc1-7Tyobn4jEehcq6dOCYADo3Tkq--GH-Zvn_uAiw=UD+A@mail.gmail.com>
References: <fc546ea4-a355-4a60-a7e7-97927993471d@isocpp.org>
 <3a57e294-7254-4358-828d-c9f7757f5295@isocpp.org> <CA+wfc19mghDOW62NTTtiy=2GBwcwCtuBCX9zQWx7qYEuCsQJEw@mail.gmail.com>
 <519ff5a1-cf5e-4641-98c1-835667e737db@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=001a114e449034dd1a0549a71110
X-Trace: blaine.gmane.org 1488356782 21188 195.159.176.226 (1 Mar 2017 08:26:22 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Wed, 1 Mar 2017 08:26:22 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCLZHP5J7MHRBLML3LCQKGQEYAEHEZQ@isocpp.org Wed Mar 01 09:26:17 2017
Return-path: <std-proposals+bncBCLZHP5J7MHRBLML3LCQKGQEYAEHEZQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-qk0-f198.google.com ([209.85.220.198])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCLZHP5J7MHRBLML3LCQKGQEYAEHEZQ@isocpp.org>)
	id 1cizaS-0004vm-9c
	for gclcip-std-proposals@m.gmane.org; Wed, 01 Mar 2017 09:26:16 +0100
Original-Received: by mail-qk0-f198.google.com with SMTP id f191sf8608693qka.7
        for <gclcip-std-proposals@m.gmane.org>; Wed, 01 Mar 2017 00:26:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=mime-version: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=aXZFWkJGQTQQdDrT2qRaACCyenBnRldTIJKQhZU/3MU=;
        b=X5oTooQBfogEkYz84uzVDoKhvXqJdatQlJUSdq879OjJF4FunE0fEowkCERfF8XUs8
         b/Yv+scvkcmXnadjd1GIr0pO91hgahqoOWTGGrD0ZTvXm8vskwwEaY/t3JMxVljhdEIt
         jQ0qHw2EfIOnkZETpOWNP1f2MhVpKABdBPvfB4+myt6L0Se+FY33eI/mjKb9s5YkAfRI
         8yazrrrGakv/EZU05kb53LRfZ1sfTxpJtDoyuMXi/3cg3S7sGz57FTN34JHRW0HMkufW
         ePZhiJ7W7NTQE1gWTdt28jxhFmaT6Jc3lTxv/MOEtHw796o3SV484GsBzlWd03zrsOr6
         jLhA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version: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=aXZFWkJGQTQQdDrT2qRaACCyenBnRldTIJKQhZU/3MU=;
        b=t2ohUPWZxn6C19oKlRN8touOFY3oQhWV64AdeS14eNBPq1B0Q0W7iKQAuIXn2Q0imY
         pzqYm7jRXtQLPmIo3d7tbcewI2EGahVWpUgIwltzSZi8eijOdEITsdKPKbhAIN54ZQhK
         Ii1DyPaE91xnXOjN0BnY1I/BvLUIfYeuWhE4WEABivWEL13P0VB1xLu9IedxBtSGdcfr
         ZtFQpIu5rOVMEGLdWRWQ3CG47To/iM+4+l9FM64OJJIvq33qufegyqdHU5EHKCM2CR7H
         VIGy+YrZvvfZlUG1aYQWKq56aGNn0o482SHYM5T1bBNwmbC0fEVGpEonMu4/DKjQ/RuX
         nUBg==
X-Gm-Message-State: AMke39nHtbqeFK4z9m3pOGsVDGUTSYqW6DTRkkolAIpdnDvlSrQWDG5b8cy7KKAC3e7vgw==
X-Received: by 10.237.32.231 with SMTP id 94mr1517654qtb.51.1488356782105;
        Wed, 01 Mar 2017 00:26:22 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.157.0.1 with SMTP id 1ls3576052ota.5.gmail; Wed, 01 Mar 2017
 00:26:21 -0800 (PST)
X-Received: by 10.13.212.18 with SMTP id w18mr2997819ywd.180.1488356781184;
        Wed, 01 Mar 2017 00:26:21 -0800 (PST)
Original-Received: from mail-yw0-x229.google.com (mail-yw0-x229.google.com. [2607:f8b0:4002:c05::229])
        by mx.google.com with ESMTPS id f17si407162ywk.173.2017.03.01.00.26.21
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Wed, 01 Mar 2017 00:26:21 -0800 (PST)
Received-SPF: pass (google.com: domain of oliver.kowalke@gmail.com designates 2607:f8b0:4002:c05::229 as permitted sender) client-ip=2607:f8b0:4002:c05::229;
Original-Received: by mail-yw0-x229.google.com with SMTP id p77so26266451ywg.1
        for <std-proposals@isocpp.org>; Wed, 01 Mar 2017 00:26:21 -0800 (PST)
X-Received: by 10.13.223.149 with SMTP id i143mr2001798ywe.32.1488356780587;
 Wed, 01 Mar 2017 00:26:20 -0800 (PST)
Original-Received: by 10.129.173.21 with HTTP; Wed, 1 Mar 2017 00:26:00 -0800 (PST)
In-Reply-To: <519ff5a1-cf5e-4641-98c1-835667e737db@isocpp.org>
X-Original-Sender: oliver.kowalke@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com;       spf=pass (google.com: domain of
 oliver.kowalke@gmail.com designates 2607:f8b0:4002:c05::229 as permitted
 sender) smtp.mailfrom=oliver.kowalke@gmail.com;       dmarc=pass (p=NONE
 sp=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-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:31231
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/31231>

--001a114e449034dd1a0549a71110
Content-Type: text/plain; charset=UTF-8

2017-03-01 8:48 GMT+01:00 Victor Dyachenko <victor.dyachenko@gmail.com>:

> I think this API can be used even with pure C.
>

because it's proposed for C++ - class std::continuation manages the
execution context (the stack; one shot-continuation).



> And we can build anything ontop. call/cc can have some unwanted overhead.
> I'm sure that fcontext_t-related functions are the main values of
> Boost.Context library.
>

callcc() and continuation::operator() are only thin wrapper (only one- or
two-lines of code)

-- 
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/CA%2Bwfc1-7Tyobn4jEehcq6dOCYADo3Tkq--GH-Zvn_uAiw%3DUD%2BA%40mail.gmail.com.

--001a114e449034dd1a0549a71110
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">=
2017-03-01 8:48 GMT+01:00 Victor Dyachenko <span dir=3D"ltr">&lt;<a target=
=3D"_blank" href=3D"mailto:victor.dyachenko@gmail.com">victor.dyachenko@gma=
il.com</a>&gt;</span>:<br><blockquote style=3D"margin:0px 0px 0px 0.8ex;bor=
der-left:1px solid rgb(204,204,204);padding-left:1ex" class=3D"gmail_quote"=
><div dir=3D"ltr">I think this API can be used even with pure C.</div></blo=
ckquote><div><br></div><div>because it&#39;s proposed for C++ - class std::=
continuation manages the execution context (the stack; one shot-continuatio=
n).<br></div><div><br>=C2=A0</div><blockquote style=3D"margin:0px 0px 0px 0=
..8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class=3D"gmai=
l_quote"><div dir=3D"ltr">And we can build anything ontop. call/cc can have=
 some unwanted overhead. I&#39;m sure that fcontext_t-related functions are=
 the main values of Boost.Context library.<br></div></blockquote><div><br><=
/div><div>callcc() and continuation::operator() are only thin wrapper (only=
 one- or two-lines of code)<br></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/CA%2Bwfc1-7Tyobn4jEehcq6dOCYADo3Tkq--=
GH-Zvn_uAiw%3DUD%2BA%40mail.gmail.com?utm_medium=3Demail&utm_source=3Dfoote=
r">https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CA%2Bwfc1-7=
Tyobn4jEehcq6dOCYADo3Tkq--GH-Zvn_uAiw%3DUD%2BA%40mail.gmail.com</a>.<br />

--001a114e449034dd1a0549a71110--

.
