This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Putting C++ code into gcc front end


On Thu, 6 Mar 2003, Michael Matz wrote:

> > It means you can't use iostreams, since they are templates.  You can't
> > use strings either.  You can't use any of the *very* convenient
> > features of the Standard Template Library.
>
> But if the reason is, that we want to use the STL, I would be quite
> strongly against that.  Using STL anywhere, even the simpler classes, has
> a such huge impact on compile time, that it's not funny.  If we need a
> list or map in the compiler I never would use the STL, and instead write
> something simple by hand.  All the hooks and possibilities STL provides
> make it extremely slow to compile.

Oops, that would be good, since then you will see how g++ is slow and you
will search for all posibilities how to make it faster. I think all g++
users will appreciate such work :-)

Sorry, just kidding...

Cheers,

Karel
--
Karel Gardas                  kgardas at objectsecurity dot com
ObjectSecurity Ltd.           http://www.objectsecurity.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]