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). Giving the task of managing such to the GC is like making the cross-eyed guy be the shooter in https://www.youtube.com/watch?v=sen8Tn8CBA4.
Andrei
