I believe that compilers must do much work for me, that’s why I prefer metaprogramming techniques. Boost::spirit, boost::mpl make my code very resource demanding during the compilation process. But it’s worth indeed.
To make builds faster, I’ve just installed and set up so called distcc — the distributed C/C++ compiler. The result is just exciting!
To use the compiler with the boost build system, I just modified a line in the user-config.jam
:
using gcc : : distcc g++ ;
Thats all I’ve done to get ten times faster build!