Got it

What is the difference between HarmonyOS and Android?

Created: Sep 14, 2021 04:52:53Latest reply: Feb 18, 2022 17:27:59 245 6 5 0 0
  Rewarded HiCoins: 0 (problem resolved)

What is the difference between HarmonyOS and Android?

Featured Answers

Recommended answer

gzzz
Admin Created Sep 14, 2021 06:13:01

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.

View more
  • x
  • convention:

All Answers
Hello,
We're working on your problem. Please be patient.
View more
  • x
  • convention:

gzzz
gzzz Admin Created Sep 14, 2021 06:13:01

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.

View more
  • x
  • convention:

Nice
View more
  • x
  • convention:

Saqibaz
Saqibaz Created Mar 2, 2022 06:25:49 (3) (0)
Thanks  
Very interesting answer admin, thanks!
View more
  • x
  • convention:

Saqibaz
Saqibaz Created Mar 2, 2022 06:25:42 (3) (0)
Thanks  

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.