4 ms·
I'm just here because my compile times are slow. 3 hours later… after 12 tweets, reading 6 articles, filing a GitHub issue, and watching a show on Netflix… what
by guelo 11y ago
I'm just here because my compile times are slow. 3 hours later… after 12 tweets, reading 6 articles, filing a GitHub issue, and watching a show on Netflix… what was I building?
- chimeracoder 11y ago> 3 hours later… after 12 tweets, reading 6 articles, filing a GitHub issue, and watching a show on Netflix… what was I building? Judging from the compile times, Gentoo?
- azeirah 11y agoProbably just "hello world" for an fpga :>
- im2w1l 11y agoAnyone 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.
- y04nn 11y agoIf your compiling time is slow, you should work at improving it while it's compiling.
- vanni 11y agoCompiling: https://xkcd.com/303/ https://xkcd.com/303/
- antaviana 11y agoAt our company back in the time we chose to prioritize Delphi as the development language of choice because of compile times (the alternative competing was C++). Too bad the Delphi team was not able to find a business model that was able to scale their user base (probably some kind of subscription at the price range of JetBrains subscription was needed). Now are now looking back into C++ (and its much longer compile times).
- Fiahil 11y agoI know, Scala, right?
- paulddraper 11y agoHmmm....you may have been compiling Scala.