More radical ideas about gc and reference counting
Andrei Alexandrescu via Digitalmars-d
digitalmars-d at puremagic.com
Wed Apr 30 18:57:05 PDT 2014
On 4/30/14, 6:51 PM, Andrei Alexandrescu wrote:
> On 4/30/14, 6:04 PM, Steven Schveighoffer wrote:
>> destructors are for cleaning up non-GC resources. File handles, malloc'd
>> memory, etc. I don't see why these need to be eliminated.
>
> Virtually all GCs are known to be horrible at managing scarce resources
> (including memory itself).
Here the paren means "... when memory is scarce". GCs work well only in
3x+ the memory needed. -- Andrei
More information about the Digitalmars-d
mailing list