Hi everyone,
So I'll start by saying, PLEASE, I'm not trying to create a flamewar, or criticize either of these exceptional mobile operating systems. Actually, I own an iPhone 4 and a Nexus S, and think they're both great.
My friends and I just had a technical question that I was hoping someone could answer/help explain, especially since many posters on here are long time developers.
I know that iOS programs are written in Obj C/C++/C and are all natively coded. On the other hand, Android operates through a Java virtual machine (Dalvik), although since Froyo it's been a JIT implementation that I suppose is much faster (though I've never completely understood how JIT works).
So my question is, currently, is one programming language significantly more efficient than the other? Will native code always run faster and smoother than the code in the Android virtual machine, or are they about equal now? The only stuff I could find online in comparison was javascript performance, and those benchmarks were done with different hardware so they were pretty much useless. I was thinking more on the abstract or overall level if one was significantly better than the other.
Any explanations about the two systems would be wonderful just because I'd like to understand a little deeper into the OSes I'm using.
Again, PLEASE no flamewars! They're both good! Thanks everyone.
So I'll start by saying, PLEASE, I'm not trying to create a flamewar, or criticize either of these exceptional mobile operating systems. Actually, I own an iPhone 4 and a Nexus S, and think they're both great.
My friends and I just had a technical question that I was hoping someone could answer/help explain, especially since many posters on here are long time developers.
I know that iOS programs are written in Obj C/C++/C and are all natively coded. On the other hand, Android operates through a Java virtual machine (Dalvik), although since Froyo it's been a JIT implementation that I suppose is much faster (though I've never completely understood how JIT works).
So my question is, currently, is one programming language significantly more efficient than the other? Will native code always run faster and smoother than the code in the Android virtual machine, or are they about equal now? The only stuff I could find online in comparison was javascript performance, and those benchmarks were done with different hardware so they were pretty much useless. I was thinking more on the abstract or overall level if one was significantly better than the other.
Any explanations about the two systems would be wonderful just because I'd like to understand a little deeper into the OSes I'm using.
Again, PLEASE no flamewars! They're both good! Thanks everyone.