Paul Krill
Editor at Large

Zapcc high-speed C++ compiler now open source

news
Jun 21, 20181 min

Zapcc bests Clang in compilation, its creator says

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.

Zapcc supports only Linux x64. Experimental support is offered for Windows x64 with mingw-w64, which provides GCC for Windows.

Where to download Zapcc

You can download Zapcc from its GitHub repo.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author