News for hackers. Stuff that matters.
Re:Zapcc – A caching C++ compiler based on clang by jwilk on Sunday June 17, 2018 @11:31AM (#17332776)
How is zapcc better than ccache?
Re:Zapcc – A caching C++ compiler based on clang by hendzen on Sunday June 17, 2018 @12:07PM (#17332942)
ccache works at the translation unit level, caching object files. Zapcc caches (among other things) template instantiations between compilations.

If you are in a codebase that has some very complex header files with lots of (potentially nested) template instantiations, and then a large number of executables that all instantiate these templates, Zapcc can make a huge difference in compilation times. CCache doesn't really buy you anything in this scenario.

Re:Zapcc – A caching C++ compiler based on clang by sanxiyn on Sunday June 17, 2018 @11:40AM (#17332806)
ccache does not speed up full build. zapcc does.
Re:Zapcc – A caching C++ compiler based on clang by jwilk on Sunday June 17, 2018 @11:47AM (#17332847)
What do you mean by "full build"?
Re:Zapcc – A caching C++ compiler based on clang by jcelerier on Sunday June 17, 2018 @11:50AM (#17332866)
zapcc speeds up the build even if you changed a #define across the whole project or added a line to a header that you use everywhere leading to recompiling of all your .cpp files.