Setting up distributed compilations with sccache
blog.davidedmundson.co.uk·2d·
Discuss: Hacker News
Caching Strategies
Preview
Report Post

I hate waiting for compilations. For day-to-day it may only be a minute or two, but once you start doing another task, the context switching distracts from what you were doing before and breaks everything up. Life is too short to be waiting for computers.

Obviously the first answer is to have a faster machine, but having a super fast laptop and a super fast PC all the time contributes to e-waste which I also hate. Some of my test devices for touch and tablet work are 5 year old Intel atom devices that I still sometimes need to compile on to fix things.

The solution is distributed compiling, using multiple computers to share the work.

Icecream or distcc used to be the tools back in the day, but they’re both quite dated and have other issues.

There’s a relatively new kid on the bl…

Similar Posts

Loading similar posts...