3 ms·
Anyone have any tips for a productive way to deal with long compile times?
by im2w1l 11y ago
Anyone have any tips for a productive way to deal with long compile times?
- deleted 11y ago[deleted]
- jryan49 11y ago1. Write documentation while things are compiling. 2. Finish other work. 3. If you iterate a lot, maybe just reading the code figuring out your next steps. 4. Maybe figure out why it's taking so long, and figure out a way to speed things up. 5. Write more tests.
- nazri1 11y agoccache[1] works for me. http://ccache.samba.org http://ccache.samba.org
- simoncion 11y agoLike all things, it's not a panacea: https://blog.flameeyes.eu/2010/07/debunking-ccache-myths-redux https://blog.flameeyes.eu/2010/07/debunking-ccache-myths-red... Of course, if you're rebuilding the same code over and over it can be a net win, but -in the comments- it is mentioned that the obvious things -that one might end up doing somewhat frequently in C/C++ development- invalidate the cache.
- tankenmate 11y agogolang
- Too 11y agoGo play a game of ping pong. Saving yourself from RSI and carpel tunnel is considered productive in my book.
- djhn 11y agoGet up, walk around, stretch, think. Talk to other people, unless it's interrupting them.
- kbob 11y agoLarge Scale C++ Software Development John Lakos The book explains how to design large systems to contain compile times.