Smart pointers instead of GC?

Paulo Pinto pjmlp at progtools.org
Sun Feb 2 06:48:28 PST 2014


Am 02.02.2014 15:11, schrieb Adam D. Ruppe:
> On Sunday, 2 February 2014 at 11:23:56 UTC, JR wrote:
>> I *seem* to remember reading here that you and Walter were
>> increasingly growing to favor ARC, but I can't find the post.
>
> Personally, I think ARC is a waste of time and none of the arguments
> I've seen for it are convincing. Improving the Gc implementation would
> be a much bigger win.

It might be that ARC will be a solution given the recent work in 
Objective-C, ParaSail, Rust and the misterious M#.

I was even surprised to discover that Cedar actually used RC with a GC 
just for collecting cycles.

What I don't like is using Objective-C as a poster child for ARC, 
because the only reason it exists, is that Apple engineers weren't able 
to write a GC for Objective-C that didn't core dump left and right.

Apple of course sold the history in a different way.

--
Paulo


More information about the Digitalmars-d mailing list