Subject: Re: [boost] request for interest in a garbage collection library
From: David Abrahams (dave_at_[hidden])
Date: 2009-04-15 21:16:28
on Mon Apr 13 2009, Achilleas Margaritis <axilmar-AT-gmail.com> wrote:
> I would appreciate it if people could take a look and share their
> opinions on it.
I haven't looked at it, but IMO the biggest obstacle to effective GC for
C++ isn't the lack of a library (Boehm's collector is pretty good
AFAIK). It's the lack of a programming model that integrates
destructors and peoples' legitimate expectations that they will be
called to release non-memory resxources. What can you say about the
non-memory resources owned by a GC'd object that contains, say, a mutex?
-- Dave Abrahams BoostPro Computing http://www.boostpro.com