RFC - Remove support for PCH post 4.8

Chris Lattner clattner@apple.com
Wed Nov 28 02:02:00 GMT 2012


On Nov 27, 2012, at 5:16 PM, Xinliang David Li <davidxl@google.com> wrote:
>>>> Removing PCH will give us more implementation freedom for the memory
>>>> management project
>>>> (http://gcc.gnu.org/wiki/cxx-conversion/gc-alternatives).
>>> 
>>> One of the arguments put forward to advocate the transition to C++ was the
>>> competition.  Where do the other compilers stand when it comes to PCHs?
>> 
> 
>> Clang has fantastic support for PCH... and soon modules.
> 
> Are they sharing some implementations?

Yes, absolutely.  In the GCC terminology, both use a "streaming" approach for writing out code, and a lot of the mechanics of that streaming logic are similar.  Modules adds a bunch of additional logic on top of what PCH uses though.

-Chris



More information about the Libstdc++ mailing list