Reduce C/C++ Compile Time With distcc
An anonymous reader writes "Some people prefer the convenience of pre-compiled binaries in the form of RPMs or other such installer methods. But this can be a false economy, especially with programs that are used frequently: precompiled binaries will never run as quickly as those compiled with the right optimizations for your own machine. If you use a distributed compiler, you get the best of both worlds: fast compile and faster apps. This article shows you the benifits of using distcc, a distributed C compiler based on gcc, that gives you significant productivity gains."
Glad you guys find joy in this, and I sympathise with you, for I suspect the culprit is not C but C++. I've never had a problem with C compile times in any environment, but OTOH when has C++ been anything but a problem?
A fake OO language with link-time binding, incremental linking, hopeless attempts to retrofit dynamic binding, pre-compiled headers (oh jesus) - it never stops: there are not enough crutches to hold that loser language up on its tiny confused wobbly legs.
I do Objective-C 100% today (thank you very much) and I was worried about build times for a while - until I discovered there was yet another C++ crutch built into GCC - and when you omit that crutch by using 'no-cpp-precomp' (and you figure out what it stands for) then things go blazingly fast.
So might I suggest that the answer to everyone's prayers is not in distCC but in ostracising that horrid language C++ once and forever and sending Bjarne back home to Aahus?
Gotta go - someone's at the door (I think it's Domino's.)
"Another reason to buy a Mac", when you get the same thing for free with Linux? Uh-huh.