News for hackers. Stuff that matters.
Re:Random Acts of Optimization by astrange on Thursday October 29, 2015 @05:14PM (#10474343)
If you don't regularly run your program with the same optimizations you're using on the final product, you haven't tested it. And if your automatic optimizations are so slow that you can't just re-run them all the time, you can't tune what you're sending into them in the first place.

That's for classic compilation, but these days all the good stuff is in JIT on a mobile device, and there your optimizer really can't afford to waste your time.

Re:Random Acts of Optimization by comex on Thursday October 29, 2015 @05:21PM (#10474399)
It is? iOS has always used ahead-of-time compilation and Android switched semi-recently from the JIT-based Dalvik to the AOT Android Runtime. The only important JIT left is in the browser...
Re:Random Acts of Optimization by astrange on Thursday October 29, 2015 @10:35PM (#10475836)
Right, but browsers are pretty important, and a lot of apps are just web views. (Can't remember if JIT works in web apps on iOS these days though.)

They also load all that crazy ad tracking javascript from everywhere, optimizing that on every page load has power costs!