Rust moving away from GC into reference counting

Brad Anderson eco at gnuk.net
Mon Jun 3 11:14:10 PDT 2013


On Monday, 3 June 2013 at 18:10:50 UTC, Kagamin wrote:
> On Monday, 3 June 2013 at 16:47:35 UTC, Rob T wrote:
>> Also a better GC in no way invalidates the need for other 
>> memory management schemes because there will always be 
>> situations where a GC is not an appropriate solution, at least 
>> not until someone invents the perfect one size fits all GC.
>
> phobos has Unique 
> http://dlang.org/phobos/std_typecons.html#.Unique and 
> RefCounted http://dlang.org/phobos/std_typecons.html#.RefCounted

RefCounted notably does not work with classes yet (just because 
no one has taken the time to add support).


More information about the Digitalmars-d mailing list