3 ms·
>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 wh
by high_na_euv 2y ago
>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
- gpderetta 2y agoHow would you implement separate compilation then?
- high_na_euv 2y agoI wouldnt use separate compilation approach at all. I dont like it
- gpderetta 2y agoSo you would recompile a, say, 10 million lines application from scratch every time you make a small change?
- sumtechguy 2y agoIf you put everything in one file you can live your dream! :)