220 9307 <5e9bc5fc-f2ae-49dc-95a1-42f83c8748bb@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: Andrew Tomazos <andrewtomazos@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Precise Per-Type Cyclic Garbage Collection (DRAFT 1)
Date: Tue, 11 Feb 2014 19:27:45 -0800 (PST)
Lines: 73
Approved: news@gmane.org
Message-ID: <5e9bc5fc-f2ae-49dc-95a1-42f83c8748bb@isocpp.org>
References: <d1cac476-349d-4fe9-a0a4-98f8a4378a3a@isocpp.org>
 <11d438f3-2c4c-4545-b93a-5a63090ee8ee@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_5277_9488548.1392175665195"
X-Trace: ger.gmane.org 1392175660 19286 80.91.229.3 (12 Feb 2014 03:27:40 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Wed, 12 Feb 2014 03:27:40 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBD5KHQXXWYPRBMWU5OLQKGQEUTZKHHY@isocpp.org Wed Feb 12 04:27:49 2014
Return-path: <std-proposals+bncBD5KHQXXWYPRBMWU5OLQKGQEUTZKHHY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-vb0-f70.google.com ([209.85.212.70])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBD5KHQXXWYPRBMWU5OLQKGQEUTZKHHY@isocpp.org>)
	id 1WDQUF-0001W5-TF
	for gclcip-std-proposals@m.gmane.org; Wed, 12 Feb 2014 04:27:48 +0100
Original-Received: by mail-vb0-f70.google.com with SMTP id w17sf18797733vbj.9
        for <gclcip-std-proposals@m.gmane.org>; Tue, 11 Feb 2014 19:27:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        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
         :content-type;
        bh=MU7ZutN/uPiJeRoUOPUhZq1OBxzshckWrhMil35Chdg=;
        b=ob69KMCCg7FAqiOTKWkapC/Vr/rEa74WrXs26Y86jUWx1tMVHeDb1t46FIj/sxqf/O
         eCGHOtFbhDlqQSu0KZXLy+g+G8BYtdjpgAzGaRlX7Mc3taiourL/VBpmKXdHMLn2SJwB
         MpX63cVYzqbYe++l5FuI8pgcetFK5vKspZaJXu6WxpaYRwRP1pjMINxiR9Fu+aXwFbGP
         PuDD/FtxjKjmBbBOX5dSzToIoyp718hiHoipHGyn1vIBsGRHpjPzwn/C8bNh7Q6RvcUV
         XNAq9pTJIP9oriCF9fPwILHfF7zJEpj+grffCHaaQh/Udw5Yl2XwGNQrT0+EiJYubiu/
         EYtw==
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: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:content-type;
        bh=MU7ZutN/uPiJeRoUOPUhZq1OBxzshckWrhMil35Chdg=;
        b=KpzTnDHNwug+imRLvNKMJ8Y8ZrYym9rcH6wcX9yPOnJhp5NJMqt/Dq4uwzTLTrMD4p
         xUn5o4ykGSKKfrYc10zCkLalloXksBsJeMQGJMBKY7CYo+UzTOLRNJWTmwuamXqRDVfr
         aH5+LBQU+ntGm7Lw0uYLwwvQk5a0qkgxx3i7/0QynVI+WedS0xOBuxmiwAJ9u1JO61CX
         ATxwA6rGFUZ9g5/B1SRILKRN32xBPtMRPoJ96u4D2dOSNajDwgKoCxm87/0IuB57HN6x
         vBrHGJupusYwIgdJ5uOVwww4PeO6YKXONDZrSocK/pVO/8tTYCn6q4mYCDDBFPKj+W3N
         SCXA==
X-Gm-Message-State: ALoCoQlxHAHoI+8Czf14Xq7h+7YJ6bpo2FUfXShmmxFA4Kynf2Zy5joGtw6p3nBMuGLFOzqn3akD
X-Received: by 10.52.121.68 with SMTP id li4mr784810vdb.6.1392175667091;
        Tue, 11 Feb 2014 19:27:47 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.140.98.69 with SMTP id n63ls2491800qge.96.gmail; Tue, 11 Feb
 2014 19:27:46 -0800 (PST)
X-Received: by 10.140.47.43 with SMTP id l40mr258781qga.11.1392175666492;
        Tue, 11 Feb 2014 19:27:46 -0800 (PST)
In-Reply-To: <11d438f3-2c4c-4545-b93a-5a63090ee8ee@isocpp.org>
X-Original-Sender: andrewtomazos@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: <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: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:9307
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/9307>

------=_Part_5277_9488548.1392175665195
Content-Type: text/plain; charset=UTF-8

On Tuesday, February 11, 2014 9:26:07 PM UTC+1, Dain Bray wrote:
>
> What you are describing sounds similar to the way C++/CLI added managed 
> classes. If you are not familiar with it, you might check that out.
>
I am familiar, thanks.  It is similar in part, but has different goals. 
 What Microsoft was trying to do was modify C++ so it could run on their VM 
and so use their VM libraries.  A small part of that was precise garbage 
collection.  What we are proposing here is some minimal clean additions 
purely to enable adding a precise garbage collector for a subset of 
user-nominated types.

Perhaps this would be better as a library solution?


shared_ptr is basically as good as it gets as a pure library solution, and 
I compare the differences in the proposal.  In any case, something as 
heavily-demanded as real garbage collection warrants core language 
additions if needed - and I think the "only pay for what you use" property 
of my proposal is the right approach.

-- 

--- 
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_5277_9488548.1392175665195
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">On Tuesday, February 11, 2014 9:26:07 PM UTC+1, Dain Bray =
wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8=
ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir=3D"ltr"><p>What=
 you are describing sounds similar to the way C++/CLI added managed classes=
.. If you are not familiar with it, you might check that out.</p></div></blo=
ckquote><div>I am familiar, thanks. &nbsp;It is similar in part, but has di=
fferent goals. &nbsp;What Microsoft was trying to do was modify C++ so it c=
ould run on their VM and so use their VM libraries. &nbsp;A small part of t=
hat was precise garbage collection. &nbsp;What we are proposing here is som=
e minimal clean additions purely to enable adding a precise garbage collect=
or for a subset of user-nominated types.</div><div><br></div><blockquote cl=
ass=3D"gmail_quote" style=3D"margin: 0px 0px 0px 0.8ex; border-left-width: =
1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; paddi=
ng-left: 1ex;">Perhaps this would be better as a library solution?</blockqu=
ote><div><br></div><div>shared_ptr is basically as good as it gets as a pur=
e library solution, and I compare the differences in the proposal. &nbsp;In=
 any case, something as heavily-demanded as real garbage collection warrant=
s core language additions if needed - and I think the "only pay for what yo=
u use" property of my proposal is the right approach.<br></div><div><br></d=
iv></div>

<p></p>

-- <br />
&nbsp;<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 std-proposals+unsubscribe@isocpp.org.<br />
To post to this group, send email to std-proposals@isocpp.org.<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_5277_9488548.1392175665195--

.
