Hacker News new | past | comments | ask | show | jobs | submit login

>Separate compilation is always worth it

>Separate compilation is the idea that you compile a different object file for each source file.22 The reasoning of why this is beneficial is that if you change one source file, you only have to re-compile that one file and "just" link it with the other object files; you don't have to re-compile the whole project.

That reflects my feelings that linker is bullshit step




How would you implement separate compilation then?


I wouldnt use separate compilation approach at all. I dont like it


So you would recompile a, say, 10 million lines application from scratch every time you make a small change?


If you put everything in one file you can live your dream! :)




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: