Redian新闻
>
谷歌前实习生解释 Android不如苹果iOS原因 (ZT)
avatar
谷歌前实习生解释 Android不如苹果iOS原因 (ZT)# PDA - 掌中宝
f*o
1
谷歌前实习生解释 Android不如苹果iOS原因
2011年12月07日21:21:52 [科技新闻]
编者按:12月8日消息,软件工程专业的前谷歌实习生Andrew Munn在Google+上发表言
论,阐述了为何Android的用户界面没有苹果iOS流畅的原因。Mitbbs.com
根据Munn的说法,Android系统最主要的问题就是触控界面的渲染并不是优先级的,相
比之下,苹果的iOS触控界面的渲染是实时优先的。他以Android系统网站加载和电影程
序为例,当用户已经完成触控输入后,操作系统还会继续加载。Mitbbs.com
Munn还指出了一些导致Android延迟的其他因素,譬如,为了防止每秒帧数达到60而产
生顿感,Android 3.0 Honeycomb 和 4.0 Ice Cream Sandwich相册程序中的每秒帧数
都被设限为30FPS。他还说,设限30FPS解决了动画制作不流畅时的顿感问题。Mitbbs.
com
Munn同时还指出了Android的硬件问题。据他介绍,由于Nvidia的Tegra2芯片内存带宽
较低并缺乏NEON指令集的支持,因此限制了Android的发挥。基于Honeycomb的平板电脑
如果换成其他的GPU,比如三星的Hummingbird 或是苹果的 A4,效果将会更好。Mitbbs.
com
Munn表示,另一个导致滞后的原因是来自Android系统Dalvik虚拟机的限制,作为一个
桌面级的Java虚拟机,Dalvik还不成熟。然而,这一问题可以通过来自Ice Cream
Sandwich的硬件加速和对Dalvik的改进来抵消。Mitbbs.com
然而尽管做出改进,但因设计局限,用户界面渲染的优先级别要求不高,Android用户
界面不可能做到完全流畅。Mitbbs.com
另据Munn爆料,最初谷歌以黑莓为竞争对手,所以Android的原型机一开始是全键盘的
设计,用户界面渲染的优先级别要求也不高。但是在2007年iPhone发布之后,为抢占市
场,谷歌急于完成Android系统,而已经没时间为触屏手机重写代码框架,于是Android
界面的渲染级别就成为了遗留问题。 Mitbbs.com
avatar
d*3
2
不是android不如ios,是触摸起来为什么没有apple流畅。
avatar
a*n
3
果轮的典型做法
如果A的属性a不如B的属性b
那么A就不如B
反之则不然。
何况我还真没觉得android哪里界面不流畅了。

【在 d*******3 的大作中提到】
: 不是android不如ios,是触摸起来为什么没有apple流畅。
avatar
t*n
4
java写ui还是差了些,服务器跑跑还可以。
果子搞objective c还是有道理的。

【在 f**********o 的大作中提到】
: 谷歌前实习生解释 Android不如苹果iOS原因
: 2011年12月07日21:21:52 [科技新闻]
: 编者按:12月8日消息,软件工程专业的前谷歌实习生Andrew Munn在Google+上发表言
: 论,阐述了为何Android的用户界面没有苹果iOS流畅的原因。Mitbbs.com
: 根据Munn的说法,Android系统最主要的问题就是触控界面的渲染并不是优先级的,相
: 比之下,苹果的iOS触控界面的渲染是实时优先的。他以Android系统网站加载和电影程
: 序为例,当用户已经完成触控输入后,操作系统还会继续加载。Mitbbs.com
: Munn还指出了一些导致Android延迟的其他因素,譬如,为了防止每秒帧数达到60而产
: 生顿感,Android 3.0 Honeycomb 和 4.0 Ice Cream Sandwich相册程序中的每秒帧数
: 都被设限为30FPS。他还说,设限30FPS解决了动画制作不流畅时的顿感问题。Mitbbs.

avatar
f*o
5
有点一顿一顿的。。。

【在 a******n 的大作中提到】
: 果轮的典型做法
: 如果A的属性a不如B的属性b
: 那么A就不如B
: 反之则不然。
: 何况我还真没觉得android哪里界面不流畅了。

avatar
t*y
6
不流畅是显然的,搭载512MB内存的Optimus One比128MB内存的第二代Ipod Touch流畅
度差远了,CPU速度是差不多的,Optimus略快。

【在 a******n 的大作中提到】
: 果轮的典型做法
: 如果A的属性a不如B的属性b
: 那么A就不如B
: 反之则不然。
: 何况我还真没觉得android哪里界面不流畅了。

avatar
s*o
7
标题党...
跟android比,ios本质上已经是上一个时代的产品了
avatar
G*g
8
我觉得如果没有touch 动作, android高端手机界面rendering 还是比较流畅的。 但
是总体来讲,比Iphone的animation还是差不少。
avatar
n*r
9
java的gc在android上效率太低了,而且android限制每个app只能用16M内存,无比脑残
的设计。

----
发自 MITBBS快读 for Android Tablet/Phone v3.1.4
https://market.android.com/details?id=com.mitbbsreader.app

【在 t*****n 的大作中提到】
: java写ui还是差了些,服务器跑跑还可以。
: 果子搞objective c还是有道理的。

avatar
c*y
10
有用过android高端机就知道了,绝对比iphone流畅,我有两个同事已经iphone4跳moto
razr
avatar
a*m
11
java还是有天生劣势的。
avatar
g*g
12
That's a 3 months intern, this is the guy to refer to.
I would think it's partially hardware acceleration, partially
Java GC. Both can be optimized enough to have smooth UI.
https://plus.google.com/105051985738280261832/posts/XAZ4CeVP6DC
In fact it was just not feasible to implement hardware accelerated drawing
inside windows until recently. Because Android is designed around having
multiple windows on the screen, to have the drawing inside each window be
hardware accelerated means requiring that the GPU and driver support
multiple active GL contexts in different processes running at the same time.
The hardware at that time just didn’t support this, even ignoring the
additional memory needed for it that was not available. Even today we are in
the early stages of this -- most mobile GPUs still have fairly expensive GL
context switching.
avatar
G*g
13
提高GPU性能可以, 但是会极大影响battery.

time.

【在 g*****g 的大作中提到】
: That's a 3 months intern, this is the guy to refer to.
: I would think it's partially hardware acceleration, partially
: Java GC. Both can be optimized enough to have smooth UI.
: https://plus.google.com/105051985738280261832/posts/XAZ4CeVP6DC
: In fact it was just not feasible to implement hardware accelerated drawing
: inside windows until recently. Because Android is designed around having
: multiple windows on the screen, to have the drawing inside each window be
: hardware accelerated means requiring that the GPU and driver support
: multiple active GL contexts in different processes running at the same time.
: The hardware at that time just didn’t support this, even ignoring the

avatar
l*n
14
While you discredited Andrew for his 3 months intern, we have to admit that many famous leaders in IT do not even have a bachelor degree.
Andrew does have a couple of interesting points at the system level. For instance, I feel that, it does make sense to have UI rendering tasks with a higher priority given the constraints at the hardware level and the application development level.

time.

【在 g*****g 的大作中提到】
: That's a 3 months intern, this is the guy to refer to.
: I would think it's partially hardware acceleration, partially
: Java GC. Both can be optimized enough to have smooth UI.
: https://plus.google.com/105051985738280261832/posts/XAZ4CeVP6DC
: In fact it was just not feasible to implement hardware accelerated drawing
: inside windows until recently. Because Android is designed around having
: multiple windows on the screen, to have the drawing inside each window be
: hardware accelerated means requiring that the GPU and driver support
: multiple active GL contexts in different processes running at the same time.
: The hardware at that time just didn’t support this, even ignoring the

avatar
K*3
15
是啊,800MHz主频足够了,非得到“高端”2GHz 4核才能“流畅”!
Java overlay is bad design just because Google wants to have "control".

moto

【在 c****y 的大作中提到】
: 有用过android高端机就知道了,绝对比iphone流畅,我有两个同事已经iphone4跳moto
: razr

avatar
f*5
16
好啦,Bob Lee(CTO of Square and former lead developer on the android lib)的
文章基本让Andrew Munn后撤了
http://blog.crazybob.org/2011/12/truth-about-android-ios-ui-per
文中明说android里的渲染线程是有更高优先级的。

that many famous leaders in IT do not even have a bachelor degree.
instance, I feel that, it does make sense to have UI rendering tasks with a
higher priority given the constraints at the hardware level and the
application development level.

【在 l**n 的大作中提到】
: While you discredited Andrew for his 3 months intern, we have to admit that many famous leaders in IT do not even have a bachelor degree.
: Andrew does have a couple of interesting points at the system level. For instance, I feel that, it does make sense to have UI rendering tasks with a higher priority given the constraints at the hardware level and the application development level.
:
: time.

avatar
t*p
17
别的不说,这个NV的内存带宽到确实是个遗留问题的了。而且这一点在3并没有得到解
决,虽然NEON是加上了。

【在 f**********o 的大作中提到】
: 谷歌前实习生解释 Android不如苹果iOS原因
: 2011年12月07日21:21:52 [科技新闻]
: 编者按:12月8日消息,软件工程专业的前谷歌实习生Andrew Munn在Google+上发表言
: 论,阐述了为何Android的用户界面没有苹果iOS流畅的原因。Mitbbs.com
: 根据Munn的说法,Android系统最主要的问题就是触控界面的渲染并不是优先级的,相
: 比之下,苹果的iOS触控界面的渲染是实时优先的。他以Android系统网站加载和电影程
: 序为例,当用户已经完成触控输入后,操作系统还会继续加载。Mitbbs.com
: Munn还指出了一些导致Android延迟的其他因素,譬如,为了防止每秒帧数达到60而产
: 生顿感,Android 3.0 Honeycomb 和 4.0 Ice Cream Sandwich相册程序中的每秒帧数
: 都被设限为30FPS。他还说,设限30FPS解决了动画制作不流畅时的顿感问题。Mitbbs.

avatar
g*g
18
I didn't discredit him. But a lead from google has complete authority
over him on how things work. And we are talking about an open source
system here.

that many famous leaders in IT do not even have a bachelor degree.
instance, I feel that, it does make sense to have UI rendering tasks with a
higher priority given the constraints at the hardware level and the
application development level.

【在 l**n 的大作中提到】
: While you discredited Andrew for his 3 months intern, we have to admit that many famous leaders in IT do not even have a bachelor degree.
: Andrew does have a couple of interesting points at the system level. For instance, I feel that, it does make sense to have UI rendering tasks with a higher priority given the constraints at the hardware level and the application development level.
:
: time.

avatar
g*g
19
He got all the details. Basically no hardware acceleration API was available
before honeycomb. So while it's possible to use hardware acceleration in
HC and ICS, the code won't be compatible with 2.x devices.
Now consider the majority of phones are with 2.x, most apps will stick to
old API and won't be rewritten until 2.x is no longer mainstream.

a

【在 f*******5 的大作中提到】
: 好啦,Bob Lee(CTO of Square and former lead developer on the android lib)的
: 文章基本让Andrew Munn后撤了
: http://blog.crazybob.org/2011/12/truth-about-android-ios-ui-per
: 文中明说android里的渲染线程是有更高优先级的。
:
: that many famous leaders in IT do not even have a bachelor degree.
: instance, I feel that, it does make sense to have UI rendering tasks with a
: higher priority given the constraints at the hardware level and the
: application development level.

avatar
d*c
20
不明白,界面流畅性干吗非要用fps来衡量?
非得60 fps才流畅,非得硬件加速,非得大量内存?
哦,cpu足够强了,gpu足够强了,又说分辨率又高了所以更难
原来永远没法流畅
一切都是借口。
palm以前都怎么过来的?用palm什么时候也没听说过lag,除了gps程序。
avatar
d*c
21
在这个blog comments里这个Andrew声称他不是intern,是工程师,可是他自己昨天的
文章里明明说是intern。跟个小孩一样。
Blogger Andrew Munn said...
Come on, I was a Software Engineer in Test. Not a testing intern :(
---------------------------------------------------------------------------
First, I am a 3rd year undergraduate software engineering student. I
interned on the Android team.
什么乱七八糟的。
真是神一般的队友

a

【在 f*******5 的大作中提到】
: 好啦,Bob Lee(CTO of Square and former lead developer on the android lib)的
: 文章基本让Andrew Munn后撤了
: http://blog.crazybob.org/2011/12/truth-about-android-ios-ui-per
: 文中明说android里的渲染线程是有更高优先级的。
:
: that many famous leaders in IT do not even have a bachelor degree.
: instance, I feel that, it does make sense to have UI rendering tasks with a
: higher priority given the constraints at the hardware level and the
: application development level.

avatar
r*e
22
本来就是个小孩
而且你也没法证明发评论的和发原文的是同一个人。。

)的
with

【在 d******c 的大作中提到】
: 在这个blog comments里这个Andrew声称他不是intern,是工程师,可是他自己昨天的
: 文章里明明说是intern。跟个小孩一样。
: Blogger Andrew Munn said...
: Come on, I was a Software Engineer in Test. Not a testing intern :(
: ---------------------------------------------------------------------------
: First, I am a 3rd year undergraduate software engineering student. I
: interned on the Android team.
: 什么乱七八糟的。
: 真是神一般的队友
:

avatar
d*c
23
这个基本不会有冒充的。这个intern的post里已经更新过,知道bob的blog,不可能在
comments有个人冒充他他还看不见。

【在 r*******e 的大作中提到】
: 本来就是个小孩
: 而且你也没法证明发评论的和发原文的是同一个人。。
:
: )的
: with

avatar
m*u
24
Software Engineer in Test严格来讲不是testing engineer
不过他是个intern确实不假,小p孩儿乱说话

【在 d******c 的大作中提到】
: 在这个blog comments里这个Andrew声称他不是intern,是工程师,可是他自己昨天的
: 文章里明明说是intern。跟个小孩一样。
: Blogger Andrew Munn said...
: Come on, I was a Software Engineer in Test. Not a testing intern :(
: ---------------------------------------------------------------------------
: First, I am a 3rd year undergraduate software engineering student. I
: interned on the Android team.
: 什么乱七八糟的。
: 真是神一般的队友
:

avatar
f*5
25
看他的comment真是乐死了。这个在测试组里就比较容易被偏见。这倒没什么,关键他
搞来的内部消息不知道是几手的了。根据他文章里的想法,android要是想达到和其他
系统一样流畅,调度啊,APIs啊都给大改,apps将会完全不兼容,形势非常严重。Bob
的意见是一方面OS利用硬件加速,另一方面是更好地教育程序员采用更多利用硬件加速
的方法来编程。这样就好多了,android只要维护新旧两套APIs就好了,等待旧APIs2,3
年慢慢死掉。

【在 d******c 的大作中提到】
: 在这个blog comments里这个Andrew声称他不是intern,是工程师,可是他自己昨天的
: 文章里明明说是intern。跟个小孩一样。
: Blogger Andrew Munn said...
: Come on, I was a Software Engineer in Test. Not a testing intern :(
: ---------------------------------------------------------------------------
: First, I am a 3rd year undergraduate software engineering student. I
: interned on the Android team.
: 什么乱七八糟的。
: 真是神一般的队友
:

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。