Le 04/02/2014 04:30, Manu a écrit :
On 4 February 2014 12:59, Andrei Alexandrescu
<[email protected] <mailto:[email protected]>>
wrote:
On 2/3/14, 5:51 PM, Manu wrote:
I'd have trouble disagreeing more; Android is the essence of why
Java
should never be used for user-facing applications.
Android is jerky and jittery, has random pauses and lockups all the
time, and games on android always jitter and drop frames. Most
high-end
games on android now are written in C++ as a means to mitigate that
problem, but then you're back writing C++. Yay!
iOS is silky smooth by comparison to Android.
Kinda difficult to explain the market success of Android.
I think it's easy to explain.
1. It's aggressively backed by the biggest technology company in the world.
2. It's free for product vendors.
3. For all product vendors at the curve of Android's success, it
presented a realistic and well supported (by Google) competition to
Apple, who were running away with the industry. Everybody had to compete
with Apple, but didn't have the resources to realistically compete on
their own. Nokia for instance were certainly in the best position to
produce serious competition, but they fumbled multiple times. I suspect
Google won because they're Google, and it is free.
Even Microsoft failed. C# is, for all intents and purposes, the same as
Java, except it's even better. If Java was a significant factor in
Android's success, I'd argue that WindowsMobile should have been equally
successful.
I think it's safe to say, that's not the case.
Personally, I suspect that Java was actually a barrier to entry in early
Android, and even possibly the reason that it took as it did for Android
to take root.
It's most certainly the reason that Android had absolutely no games on
it for so many years. They eventually released the NDK, and games
finally appeared. There were years between Angry Birds success in
iPhone, and any serious games appearing on Android.
There were years where if you wanted to play games in your mobile
device, you had to get an iDevice. It's finally levelled now that the
indisputable success of Android is absolute (and the NDK is available).
I work almost every day on android with NDK and Qt. Tools still poor and
there is a lot of issues. I found one critical last week in the ndk : an
error with a python dll causing gdb launch failure, so sometimes you
just haven't debugger...
Developing games on such devices can be a real pain, apk can't exceed
50Mo and updating files with the obb package must be done manually.
We never got those kind of difficulties with iOS even at the beginning.
PS : I just buy a Nexus 5 to replace my old Motorola defy, and there is
absolutely no pauses everything is perfectly smooth. I had some doubts
if it was possible before buying it cause of Java,... No I just think
all constructors doesn't delivers good drivers and put completely buggy
additional components making the bad reputation of Android.
On my defy I always got bad touch events,... It was a real pain to send
an SMS :-{