This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: adding destroyable objects into Ggc
On Fri, 21 Oct 2011 18:53:16 -0500
Gabriel Dos Reis <gdr@integrable-solutions.net> wrote:
> On Fri, Oct 21, 2011 at 3:56 PM, Basile Starynkevitch
> <basile@starynkevitch.net> wrote:
> > On Fri, 21 Oct 2011 10:43:29 +0200
> > Richard Guenther <richard.guenther@gmail.com> wrote:
> >> So there is no inherent limitation with the GGC machinery.
> >
> > There are at least some annoyances:
>
> can you think of C++ ways to remove those without prescribing more GC?
I don't have enough knowledge and practice of C++ for that.
I am expecting C++ gurus to explain how they'll do.
And I strongly believe that a garbage collector is an asset in a compiler, not an
annoyance. My belief is that, if Ggc has some weaknesses, it could be improved, and not
avoided. Because my belief is that a good garbage collector solve some *global* issues
inside a big program like GCC. [I would probably agree with the fact that Ggc might not
be good enough and need improvements, but most GCC people don't think this way, and try to
avoid Ggc. And improving Ggc probably requires the cooperation of the entire GCC commnity,
because it impacts the way people will code inside GCC.].
Cheers.
--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mine, sont seulement les miennes} ***