yrnkrn
Re:Zapcc: A faster C++ compiler
on Sunday May 24, 2015 @10:07AM (#9596280)
Note warp commits, the project is not too active. Maybe it's mature enough and requires few updates, I don't know as
zapcc uses the clang Preprocessor and not warp.
Re:Zapcc: A faster C++ compiler
on Sunday May 24, 2015 @04:27AM (#9595688)
You are correct, zapcc should be compared only to clang from the same svn. clang to gcc is another matter altogether.
Even in first compilation, zapcc will cache between the first and second files compiled. The only case where there is no caching is when zapccs starts or re-startes, for example when compilation flags are changed.
Re:Zapcc: A faster C++ compiler
on Sunday May 24, 2015 @04:22AM (#9595682)
We frequently merge with llvm svn, last time three days ago. It is a pain but that's the price to keep up with such a dynamic project. We do upstream enhancements and bug fixes for clang and LLVM code, see the {cfe,llvm}-commits mailing lists.
Re:Zapcc: A faster C++ compiler
on Sunday May 24, 2015 @04:18AM (#9595672)
The optimizer is not disabled, few global optimizations are. The speedup is mostly the result of not having to reparse the headers, reinstantiate and codegen the generated templated code rather than skip minor opts. This is really slow process that frequently needlessly repeated on multiple compile units. We are looking into this tradeoff, maybe making the decision user-configurable or based on opt. level.
Re:Zapcc: A faster C++ compiler
on Sunday May 24, 2015 @04:13AM (#9595665)
We (zapcc) do nothing for link acceleration or debug info. The standard system linker is used.
zapcc works well for C++ templates found in all modern C++ libraries.
Re:Zapcc: A faster C++ compiler
on Sunday May 24, 2015 @04:09AM (#9595659)
I am the prinicipal developer of zapcc. We have added a FAQ
and more tech details in the cfe-dev mailing list
http://lists.cs.uiuc.edu/pipermail/cfe-dev/2015-May/043174.h...
To the point, zapcc will not reprocess foo.h. This is a limitation. However, zapcc does deal with templates instantiations and such correctly and fast, such as boost various libraries, Eigen and LLVM source code.