RFA: Please review the new C++ demangler patch

Alexandre Oliva aoliva@redhat.com
Tue Jul 1 14:57:00 GMT 2003


I really meant my comment as a joke (I was even undecided whether to
post it to the list or in private), but since you followed up taking
the point a bit seriously, let's see where this takes us :-)

On Jul  1, 2003, dewar@gnat.com (Robert Dewar) wrote:

>> Yeah, let's do it in Ada :-P :-D

> Well of course we do write the Ada runtime in Ada, but we do so in a very
> small subset of Ada, roughly equivalent to C, so that precisely there will
> not be awkward dependencies and bootstrap path issues.

And how is this different from abstracting malloc/free into a template
class that behaves somewhat like the standard C++ vector and has a
similar name, for the benefit of the maintainability of the demangler
without introducing awkward dependencies and bootstrap path issues?

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer



More information about the Gcc mailing list