Mac Apps That Use Garbage Collection Must Move to ARC

weaselcat via Digitalmars-d digitalmars-d at puremagic.com
Sat Feb 21 22:07:01 PST 2015


On Sunday, 22 February 2015 at 02:14:04 UTC, Walter Bright wrote:
> On 2/21/2015 4:43 PM, Manu via Digitalmars-d wrote:
>> D's GC is terrible, and after 6 years hanging out in this 
>> place, I
>> have seen precisely zero development on the GC front. Nobody 
>> can even
>> imagine, let alone successfully implement a GC that covers 
>> realtime
>> use requirements.
>
> Nobody thinks GC is suitable for hard realtime.
>
>
>> On the other hand, if 'scope' is implemented well, D may have 
>> some of
>> the best tools in town for quality ARC implementation. There 
>> is a
>> visible way forward for quality RC in D, and I think we could 
>> do
>> better than Apple.
>
> With 'return ref', which is now implemented, you can create a 
> memory safe RefCounted type. However, nobody has bothered. Are 
> you up for it? :-)

Excuse my ignorance,(I read the DIP btw)
How does 'return ref' address issues like
http://forum.dlang.org/thread/pagpusgpyhlhoipldofs@forum.dlang.org#post-ewuwphzmubtmykfsywuw:40forum.dlang.org
?


More information about the Digitalmars-d mailing list