News for hackers. Stuff that matters.
Re:Android: Faster emulator with better hardware support by drewcrawford on Monday April 09, 2012 @05:10PM (#3819247)
As an iOS dev, I can tell you, I would much rather be doing my perf optimization on real hardware than on an emulator, even one that emulates clock-for-clock (and I highly doubt that the Android NDK does, although perhaps they ship a tool that lets you extract this information).

Just for starters, if I am profiling code, it's probably because the code is slow. (Infamously, for awhile we had a 13-hour unit test). If a quad-core 1ghz ARM device is slow, the last thing I want to do is throw an emulator into the mix.

Re:Android: Faster emulator with better hardware support by nekitamo on Monday April 09, 2012 @08:13PM (#3819991)
The binaries built by the Android NDK are emulated on the emulator properly. I've deployed NDK binaries on the emulator and traced it with IDA Pro, one line of ARM assembler at a time... So yes, it's a proper emulator.

Just a fact I thought you might find interesting.

Re:Android: Faster emulator with better hardware support by drewcrawford on Monday April 09, 2012 @09:32PM (#3820246)
But does an ADD instruction on ARM take the correct multiplier of time as the MUL instruction? No, because time-accurate emulation is shockingly hard. Further reading:

http://arstechnica.com/gaming/news/2011/08/accuracy-takes-po...