compile server design document
Per Bothner
pbothner@apple.com
Thu Feb 27 05:55:00 GMT 2003
As I've hinted, I have been working for Apple on a "compile server".
The idea is that the compiler when in server mode will re-use trees
from header files. I've attached a semi-detailed design documnent.
This is in texinfo format (so it can later be merged into gccint.text).
To generate html do: makeinfo --html gcc-server.texi
I'll submit a patch for the first prototype shortly, though note
that this is far from clean enough to check in as is. Before the
actual server, there is some amount of work in terms of splitting
up compiler initialization into two parts: one-time initialization,
and per-compilation initialization. I hope people will work with
me on this.
We're quite exited about this approach. We think it can lead
to substantial compile-time speed-ups, and possibly other benefits.
A preliminary benchmark suggested that re-using a large set of
header files (the Apple Carbon framework) was over 3x as fast as
normal processing.
--
--Per Bothner
per@bothner.com pbothner@apple.com http://www.bothner.com/per/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-server.texi
Type: application/x-texinfo
Size: 35713 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20030227/ae57cb9f/attachment.texi>
More information about the Gcc
mailing list