3 ms·
Tracing GC was supported in objective C for awhile but was deprecated/dropped awhile back because of performance issues. Referencing counting does have some adv
by seanmcdirmid 10y ago
Tracing GC was supported in objective C for awhile but was deprecated/dropped awhile back because of performance issues. Referencing counting does have some advantages over tracing GC, but it's all really a bunch of trade offs to make.
- pjmlp 10y agoPerformance wasn't the main problem, rather crashes and memory corruption. https://news.ycombinator.com/item?id=12589998 https://news.ycombinator.com/item?id=12589998
- seanmcdirmid 10y agoAh, that makes sense. I remember them putting it in and then yanking it out for some reason. Referencing counting seems to be in vogue these days because it is somewhat more predictable on mobile systems, at least this is what I heard about the Metro/Store/UWP API at Microsoft (C# is still garbage collected, but the APIs are primarily ref counted).
- pjmlp 10y agoWinRT is just COM with a new base interface extending IUknown and .NET metadata instead of TLB files. If you search for Ext-VOS on Don Syme blog, it resembles quite a lot the genesis of .NET before they went with the CLR.