News for hackers. Stuff that matters.
Re:Zapcc – A caching C++ compiler based on clang by elteto on Sunday June 17, 2018 @01:29PM (#17333305)
Bazel is exactly this (and amazingly good at it), a cache of your entire build tree and all its dependencies. But it is a full blown build system that you need to buy into. You can’t bolt it on to whatever you are using like ccache.
Re:Zapcc – A caching C++ compiler based on clang by floatboth on Sunday June 17, 2018 @05:48PM (#17334521)
This new zapcc thing seems to be more granular than ccache, it caches individual template instantiations. Bazel can't do that.
Re:Zapcc – A caching C++ compiler based on clang by jingwen on Monday June 18, 2018 @05:01PM (#17341668)
Bazel supports persistent compilers with its worker protocol [0]. It's already supported for javac. It may be worthwhile to investigate how well zapcc can integrate with Bazel.

[0] https://blog.bazel.build/2015/12/10/java-workers.html