What's the go with the GC these days?
Meta
jared771 at gmail.com
Sun Jan 6 02:02:40 UTC 2019
On Saturday, 5 January 2019 at 23:51:53 UTC, Nicholas Wilson
wrote:
> On Saturday, 5 January 2019 at 22:42:11 UTC, Meta wrote:
>> On Saturday, 5 January 2019 at 22:05:19 UTC, Manu wrote:
>>> Is progress possible, or is the hard reality that the
>>> language is just designed such to be resistant to a quality
>>> GC, while the ecosystem sadly tends to rely on it?
>>>
>>> Where's the ARC stuff? What happened to opAddRef/opRelease?
>>
>> As per Andrei's talk at the last Dconf, ref counting requires
>> __mutable to play nicely with const and immutable.
>
> I'd rather have opHeadMutable than __mutable, does the same
> thing but doesn't subvert the type system
I'm fairly dubious of adding __mutable as well, but I'm assuming
the previous solution of using an AfixAllocator didn't pan out. I
don't know enough about opHeadMutable to consider whether it
would address the same problems.
More information about the Digitalmars-d
mailing list