Smart pointers instead of GC?

deadalnix deadalnix at gmail.com
Tue Feb 4 12:10:48 PST 2014


On Tuesday, 4 February 2014 at 19:28:08 UTC, Steven Schveighoffer 
wrote:
> Where you have to be cognizant is avoiding cycles. Plain and 
> simple. And it's not that difficult. The compiler takes care of 
> the rest. It's somewhat magical I suppose :) Managing your 
> autorelease pools can make a difference, but is not necessarily 
> critical.
>

My experience is that, just like null reference, it is highly 
dependent on the type of code you are facing.

Typically, you'll have trouble with complex graph of objects.


More information about the Digitalmars-d mailing list