News for hackers. Stuff that matters.
Re:An iOS Developer Takes on Android by masklinn on Monday August 01, 2011 @11:42AM (#2832700)
> Another smaller issue would be that the Android emulator is basically running "ARM hardware" on top of x86

Uh... no shit? That's exactly what the "emulator" part of "ARM emulator" means.

> it's not just a fake simulator like the one for iOS

It's not a fake simulator, it's a simulator period. There's nothing fake about it.

Re:An iOS Developer Takes on Android by stonemetal on Monday August 01, 2011 @12:54PM (#2833169)
Note what you quoted. He said Android emulator this could be emulating just the OS portion of Android with a jvm that targets x86. Instead they ship an actual ARM emulator and do not emulate Android. From what I understand of iOS development they do it the other way. They compile to x86 and emulate the iOS system calls. They don't emulate an ARM and run the real iOS on it. Therefore the Apple way is a little fake, it is possible for behavior to differ between emulated iOS and real iOS. When you run the android sim there is no possibility of stub vs real OS differences, you are always on the real OS.

edit: Basically it boils down to too little context around the words emulated vs simulated.

Re:An iOS Developer Takes on Android by masklinn on Monday August 01, 2011 @04:16PM (#2834191)
> He said Android emulator this could be emulating just the OS portion of Android with a jvm that targets x86.

That's exactly what the iOS simulator does. It would not be an emulator in that case. It would be a simulator. Like the iOS simulator.

> From what I understand of iOS development they do it the other way. They compile to x86 and emulate the iOS system calls. They don't emulate an ARM and run the real iOS on it.

Hence being a simulator.

> Therefore the Apple way is a little fake, it is possible for behavior to differ between emulated iOS and real iOS.

It's not fake, it's a simulator. That's the whole point, and that's why it's called "simulator" not "emulator".

Re:An iOS Developer Takes on Android by jrbj on Monday August 01, 2011 @12:45PM (#2833114)
Why are people down-voting this parent?

The iOS Simulator is specifically refereed to as a simulator NOT an emulator. It simulates the iOS on top of OS X and makes no attempt to be an emulator. It is a decent simulator.

Re:An iOS Developer Takes on Android by stonemetal on Monday August 01, 2011 @12:57PM (#2833186)
My guess is people are down voting for tone, and the fact that he didn't even read what he quoted.
Re:An iOS Developer Takes on Android by masklinn on Monday August 01, 2011 @04:18PM (#2834203)
> and the fact that he didn't even read what he quoted.

Of course I did. An Android emulator can only mean Android running on top of an ARM emulator, otherwise it's a simulator (like the iOS simulator). Emulators are always about hardware unless otherwise specified.

Re:An iOS Developer Takes on Android by stonemetal on Tuesday August 02, 2011 @12:05PM (#2837602)
An Android emulator can only mean Android running on top of an ARM emulator How so? Android supports both x86 and ARM. I would have thought x86 on x86 would be the way to go since it has been done before with good performance. Heck they wouldn't even have to write anything just ship a customized virtual box or QEmu.
Re:An iOS Developer Takes on Android by vetinari on Tuesday August 02, 2011 @12:56PM (#2837787)
The current emulator _is_ QEmu. However, the current problem is not arm emulation, but moving pixels in software. You will notice, that the more you increase resolution, the more the performance drops.

The Google IO talk linked in this thread addresses this point, so hopefully in Autumn the emulator will be usable (especially at tablet resolutions).