libstdc++-v3 (and "export")
mal@bewoner.dma.be
mal@bewoner.dma.be
Fri Oct 23 04:05:00 GMT 1998
Nathan Myers writes:
> There is no current work on export that I know of.
>
> It is by far the most important piece left; it implements in a standard,
> portable way the useful qualities of what people have been calling
> "precompiled headers". Without it we'll be looking at a noticeable
> fraction of a minute per .cc file just to reread all the standard
> library template definitions.
>
> Anybody who wanted the world's everlasting gratitude probably wouldn't
> choose export to work on, but if they wanted *mine* that would do it.
>
> Nathan Myers
> ncm@cantrip.org
I've thought about export but I'm not sure how a good design for its
implementation would look like. It would definitely need a database
and that opens a whole can of worms with respect to version control,
concurrent access, invalidating cached versions when the source
changes etc.
We use SunPro at work with one template DB for the project and we have
to nuke the DB very regularly and recompile the world. Alternatively
you can have one DB per developer but then making sure everything is
in sync when some template definitions change is very tricky.
The export feature is necessary but I haven't seen a good
implementation/design of it yet.
Lieven
More information about the Gcc
mailing list