I was wondering whether anyone had any good resources (papers/articles/book references) on compile/linking optimizations.
I had worked in two companies that performed their linking operations differently.
- The First Company forced a strict DAG structure for the code explaining to me that with a forced tree structure that linking times are crazy fast
- The second company employed “master cpps” where they had few cpps that actually included all other ones. (the other ones were then excluded to be compiled from the project).
Both have their advantages/disadvantages and I was hoping on writing a paper for my school report on this subject and just looking for material.
Thanks!
That’s not exactly recent, but this site has a series of interesting articles regarding physical structure and compilation time. You may also want to know that what you encountered in the second company is often referred to as the Single Compilation Unit technique.