This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Putting C++ code into gcc front end
- From: Michael Matz <matz at suse dot de>
- To: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- Cc: Alexandre Oliva <aoliva at redhat dot com>,Robert Dewar <dewar at gnat dot com>, <gcc at gcc dot gnu dot org>,<kgardas at objectsecurity dot com>
- Date: Fri, 7 Mar 2003 00:16:32 +0100 (CET)
- Subject: Re: Putting C++ code into gcc front end
Hi,
On 6 Mar 2003, Gabriel Dos Reis wrote:
> | If we need a
> | list or map in the compiler I never would use the STL, and instead write
> | something simple by hand.
>
> I agree with this, but only for if we were to write the C++ front-end
> in C++.
>
> For other other front-ends, the right fix is, IMHO, to improve GCC's
> ability to reduce abstraction penalty.
No, I meant the compile time, not code quality. Compiling sources
including STL headers simply takes much time. That you have to pay an
abstraction penalty is another issue, and indeed this needs to be fixed
also.
Ciao,
Michael.