This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: RFC - Remove support for PCH post 4.8


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


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