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?
[ Parent
| on HN ]
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"?