Idea #1 on integrating RC with GC
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Wed Feb 5 12:04:31 PST 2014
On 2/5/14, 11:45 AM, "Ola Fosheim Grøstad"
<ola.fosheim.grostad+dlang at gmail.com>" wrote:
> On Wednesday, 5 February 2014 at 19:37:29 UTC, Andrei Alexandrescu wrote:
>> This is only focusing on slices.
>
> That is not going to work out well, because you should be able to
> decrease the ref count of a pointer to something arbitrary (void)
> without knowing the object type.
I said it a couple of times, and it seems it bears repeating: the
charter of this is solely to create a slice type that takes care of
itself. What this is not is a general solution for managing internal
pointers or pointers to arbitrary objects.
Andrei
More information about the Digitalmars-d
mailing list