Beyond linkers
There are optimization tools even beyond linkers, although it might sound incredible. However, they aren't widely used and are rather more at the advanced end of what's available, so read this section only if you are interested in cool technologies.
We already introduced profile-guided optimization as a possibility to guide the compiler in its optimizations by providing a real-world execution profile. This is a great technique; however, it has its limitations. When parts of the code are coming from assembly or third-party libraries, compiler lacks the code and cannot apply the profile accurately. Other limitations are the previously mentioned problems of deciding what the typical load is to conduct the measurements and the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access