News for hackers. Stuff that matters.
Re:Tracing JITs and Modern CPUs: Part 2 by kendalharland on Sunday July 26, 2015 @11:57AM (#9951369)
Forgive my ignorance, but when writing a sufficiently large program, why would looking into the generated assembly be of use to a programmer? Wouldn't this turn into an arbitrarily large amount of instructions to sift through just to measure performance?
Re:Tracing JITs and Modern CPUs: Part 2 by tekacs on Monday July 27, 2015 @01:14AM (#9953460)
You find the 'hottest' code (usually a loop, the code executed most) and examine very carefully the generated assembly for that and how it can be made more CPU/JIT/VM-friendly.

This is an optimisation you perform when a small amount of code is consuming the overwhelming majority of your software's execution time (code very commonly has this property, until it is profiled and optimised).

In addition, this case is for a high speed networking library, where every CPU cycle counts.