4 ms·
Large codebases can take a long time to compile, but if, as the article claimed a simple new Hello-World example is taking minutes that's because your build sys
by Traster 7y ago
Large codebases can take a long time to compile, but if, as the article claimed a simple new Hello-World example is taking minutes that's because your build system is unnecessarily rebuilding everything every time.
- mbeex 7y agoI know not all things should be attributed to technical causes. But I'm a consultant and I often have to deal with - to me - new MLOC piles of C++ code. These code bases are of course almost always non-trivial and my first approach is most of the time - If I am permitted - to analyze the include structure and to optimize it. Removing headers, pimpl, basic things. Only then would I even begin, to explore particular problems. Side effect is an intermediate 500 feet view, that develops along the way. Many developers are too hasty, taking too narrow an approach.
- C1sc0cat 7y agoPeople need to remember that in the old days several minuets to compile was the norm and you might have to wait your turn in the queue. I recall working in my first jobs terminal room and one of the engineers came in to login to AUWE ICL - and shaking her head after seeing 38 jobs in the queue in front of hers