27

Zapcc high-speed C++ compiler now open source

 5 years ago
source link: https://www.tuicool.com/articles/hit/32uqQnF
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Zapcc, a caching C++ compiler built for speed , has gone open source.

Ceemple Software, Zapcc’s builder, claims the compiler offers dramatic improvements in both incremental and full builds compared to building with Clang 4.0 and Clang 5.0. Based on heavily modified code from the Clang compiler project , Zapcc uses an in-memory compilation cache in a client-server architecture. All compilation information is remembered between runs.

Zapcc works in an existing build and ignores precompiled headers, an approach that requires a project be built to precise headers rules. Precompiled headers also do not cache to the same extent as Zapcc. C++ modules are not standard, are rarely used, and do not support legacy code or C++ macros well, Ceemple said. C++ modules also require significant refactoring or they are slow.

Zapcc is compatible with the Gnu Compiler Collection (GCC) to the extent that Clang is GCC-compatible. Zapcc’s command syntax is identical to Clang as well, with the command being zapcc .


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK