2 ms·
TCC is a fast compiler. So fast, that at one time, one could use it to boot Linux from source code! But there's a downside: the code is produces is slow. Th
by spc476 4y ago
TCC is a fast compiler. So fast, that at one time, one could use it to boot Linux from source code! But there's a downside: the code is produces is slow. There's no optimization done. None. So the trade off seems to be: compile fast but slow program, or compile slow but fast program.
- scarmig 4y agoThe trade-off is more of a gradient: e.g. PGO allows an instrumented binary to collect runtime statistics and then use those to optimize hot paths for future build cycles.
- tester756 4y agois this actually this binary? I mean what if there are features that take significant % of whole time What if getting rid of them could decrease perf by e.g 4%, but also decrease comp. time by 30% would it be worth?