|
Boost : |
From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-04-18 06:34:03
----- Original Message -----
From: "Paul Mensonides" <pmenso57_at_[hidden]>
> > Unless you have the very latest copy of Comeau, you're using the
> > compiler I'm referring to. There's a whole host of others with the
same
> > front-end, and the same problems.
>
> I'm using 4.2.45.2c BETA#8, which has a 4.3 BETA#1 option (which
supports
> export).
The 4.3 version is recent enough to have fixed some of the speed issues.
> > > > > . That compiler-defined limit is really only there to protect
> > > > > the compiler from recursing indefinitely:
> > > >
> > > > But in some compilers it is hard-coded (e.g. recent CodeWarrior
> > > > releases)
> > >
> > > But it is likely that this will not remain as meta-programming
becomes
> > more
> > > widespread.
> >
> > Some of us need to make this stuff work on real compilers, today.
>
> It is not a case of making it work. It is a case of how long it takes
to work.
Precisely.
> Honestly, I have never encountered a situation where Comeau C++ was so
> incredibly slow that it seriously hindered my work, and I have lots of
> meta-programming constructs that I use.
Then you haven't pushed it very hard. Have you read:
http://users.rcn.com/abrahams/instantiation_speed/index.html
?
It doesn't take much to slow Comeau 4.2.45 to a crawl.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk