Hello, friend.
Android and Hongmeng cell phone operating system is basically based on Linux development, but the architecture of the two is different:
The Android system is based on Linux macro kernel design: the macro kernel contains most of the functions and modules of the operating system, and these functions and modules have the highest authority, as long as a module error, the whole system will crash, which is the reason why Android system is easy to crash. The benefit is the low difficulty of system development. (And now, Huawei's newly developed Ark compiler is designed to solve this problem. Any android software compiled by the compiler can communicate directly with the underlying system, and the Hongmeng system plus the compiler will replace the virtual machine.) Android is written in Java language, it is easy to learn. But it has a disadvantage: it can not communicate directly with the system's underlying activities, must be run through a virtual machine. To put it directly, the virtual machine is equivalent to the passer: first Android applications are installed on the virtual machine, and then transferred from the virtual machine to the bottom of the machine, if the virtual machine has a problem with the words of that system is stuck. And the ark compiler in Hongmeng system is to solve this problem, any android software compiled by the compiler can directly communicate with the bottom of the system, HongMeng system plus compiler will replace the virtual machine.
Hongmeng system runs 60% faster than Google's Android system
1, Google's Android system is based on Linux development, Huawei's "Hongmeng" system is also based on Linux development, and a lot of optimization of Linux, previously, Huawei launched its own research EROFS super file system, only based on Huawei Ark compiler development applications, can make Android system performance increased by several times. Huawei Hongmeng system, which integrates EROFS and Ark compiler at the bottom, is naturally much faster than the Android system.
2, Android programmers write APPs using JAVA high-level language, after packaging it as APK to Android. Since Android can't read JAVA high-level language, it must be understood (converted to machine language) with the help of real-time translation (JAVA virtual machine). Because of the extra step of "translation", the fluency of the Android system has always been inferior to that of Apple iOS, while Ark compiler, before packaging APK, unifies the instructions into machine language that can be read by the Android system, which means that the step of "translation" is eliminated and the efficiency is naturally higher.