Re:Why I don't spend time with Modern C++ anymore
by matthewaveryusa on Wednesday May 18, 2016 @10:08AM
(#11722025)
have you tried ccache? the 5x to 10x improvement isn't a bogus statement in my experience
[ Parent
| on HN ]
Re:Why I don't spend time with Modern C++ anymore
by plorkyeran on Wednesday May 18, 2016 @10:46AM
(#11722330)
ccache eliminates spurious rebuilds, but doesn't make compilation of things which actually need to be recompiled any faster. It's basically just a workaround for that Make only uses file mtimes and not the contents to decide what needs to be built.
Re:Why I don't spend time with Modern C++ anymore
by matthewaveryusa on Wednesday May 18, 2016 @10:57AM
(#11722414)
In theory, agreed. In practice I see a lot of re-compilation in large projects.
Re:Why I don't spend time with Modern C++ anymore
by pjc50 on Wednesday May 18, 2016 @10:35AM
(#11722245)
ccache doesn't help as soon as you change a popular header file. distcc helps quite a bit, but there was a project I worked on for years where by the end the compile time was 15 minutes after you'd distributed it across 20 machines.