最近因 #鸿蒙 的口水战,当年的阿里云 OS(现在称 AliOS)又被人提出来嘲笑。这些人的基本观点是,云 OS 不过就一 Android 改皮的系统,和 MIUI 一个水平,并以此推断鸿蒙也蛇鼠一窝,不可能有什么作为。OS 到底好不好,能不能有所作为,无法妄下定论,但其中基本的概念谬误还是有必要指出的。
-
Show this thread
-
首先,阿里云 OS 是兼容而非基于 Android。这个概念在过去很难为外行人所分辨。但现在好办多了,因为 Google 自己现在也有一个鲜活的例子 —— Chrome OS,底层是 Linux,自有 framework 是 Chrome,通过 Android Runtime 兼容 Android app。阿里云 OS 的原理是一样的,其自有 app 支持的是 Javascript。
7 replies 5 retweets 19 likesShow this thread -
其次,兼容 Android app 是一个工程问题,而非技术问题。要适配 Android framework 那现有且不断迭代增长的数万 API,从工程的角度,唯一可行路径就是转而适配 Android framework 的底层接口(而非上层 API),也即「照搬」整个 Android framework 嫁接在自己的系统底层之上。Chrome OS 也是这样做的。
6 replies 1 retweet 28 likesShow this thread -
Replying to @oasisfeng
不不不,我认为识别一个操作系统是不是“Android改改出来的”的唯一标准是:是否能随意升级Linux kernel,或者是否支持除了Android Common Kernel https://source.android.com/devices/architecture/kernel/android-common … 以外的kernel。
1 reply 1 retweet 7 likes -
Replying to @yegle
huh? binder & ashmem(being replaced by memfd/seal) are the ONLY critical components required in kernel.
1 reply 0 retweets 0 likes -
two examples, anbox(includes binder&ashmem) & android-x86 (it is possible to use linux mainline release with less than 50 patches)
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.