4 ms·
I personally don't understand why compile times are such a concern, as the larger libraries I have worked with take less than a minute to compile. Are there pro
by bmer 8y ago
I personally don't understand why compile times are such a concern, as the larger libraries I have worked with take less than a minute to compile. Are there programs that take hours to compile?
- beatgammit 8y agoThe edit + reload cycle is the biggest concern, though it's mostly moot these days with incremental compilation. However, I still dislike updating dependencies because it'll take several minutes to rebuild everything. Also, building third-party tools is a pain as well (compile diesel or ripgrep sometime), which is the most annoying part for me. Also, it's a bit annoying for CI since I like to make sure everything can build from scratch, and it can be quite the wait to see if your build succeeded.
- burntsushi 8y agoCould you say more about the annoyances you experienced while compiling ripgrep? Is it just the time it takes to build it or is there something else?
- blaisio 8y agoI think one of the main problems is programs compiled in debug mode are surprisingly slow and unrepresentative of things compiled in release mode. So, some projects have to always compile in release mode while testing things, and it takes a long time.