Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

First time I spend a day on a partial-compile-only bug I switch if off and it's good old full recompilation from that point :)


Why not just do a full, clean build when you hit strange bug? If your workflow is anything like mine, partial-compile and tools like ccache have saved months of hours I would have wasted waiting for the compiler.


>when you hit strange bug

Any bug is strange until you figure it out.


That's a big problem with build systems based on timestamps, not checksums. Also, unless the build system can see all the inputs to the compilation, there's the potential for trouble.


That's why Ninja build is so amazing for C/C++. It can use the whole dependencies output from the compiler and knows exactly what to recompile, even if only a header changed.


...You know, you can do that with plain old make, too?


That happened to a colleague of mine with the Eiffel compiler (a long time ago). He was pissed off. Ditto full compilation thereafter.

Had something similar in our office with scala & SBT, but SBT is a POS anyway.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: