Better HN
topnewbestaskshowjobs
Log inSign up

yrnkrn

5 karma · joined May 24, 2015 (11y ago) · 6 submissions

Submissions

comment 11y ago · link · parent

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.

https://github.com/facebook/warp/commits/master

comment 11y ago · link · parent

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.

comment 11y ago · link · parent

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.

comment 11y ago · link · parent

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.

comment 11y ago · link · parent

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.

comment 11y ago · link · parent

I am the prinicipal developer of zapcc. We have added a FAQ

http://www.zapcc.com/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.