News for hackers. Stuff that matters.
Re:Tegra K1 “Denver” Will Be First 64-bit ARM Processor for ... by nb1981 on Tuesday August 12, 2014 @04:09AM (#8166939)
Native does not always (or even often) equal optimal. Plenty will still be left on the table.
Re:Tegra K1 “Denver” Will Be First 64-bit ARM Processor for ... by malkia on Tuesday August 12, 2014 @12:50PM (#8168675)
20 or more years ago there was a peephole optimizer that looked at generated Turbo Pascal (and other not so advanced (for their time) compilers) and rearranged instructions, removed holes, replaced instructions with better set (turns out some of the "macro"-instructions were not that fast).

Nowadays calling a .so/.dylib/.dll function, or accessing a thread-local variable also generates lots of cruft code that could possibly get optimized once the data is loaded. It won't always work (shared libraries can't be unloaded, but with enough hints, or assumptions that this would never be done, one can gain some benefits). On the negative this may reduce the code-sharing across processes.