According to the Ark compiler information released by Huawei, we can know that the Hongmeng system is written in C and C languages. The Hongmeng system and the Ark compiler have the same idea. They directly use machine language to write apps, cancel the ART virtual machine of Android system, and compile directly into binary machine code.
The operating environment of this tutorial: Windows 7 system, Dell G3 computer.
According to the Ark compiler information released by Huawei, we can know that the Hongmeng system is written in C and C languages.
The Hongmeng system and the Ark compiler have the same idea: directly use machine language to write the app, cancel the ART virtual machine of the Android system, and directly compile it into binary machine code;
The benefits of this are: No transfer is required and the execution speed is fast; the disadvantage is that it must have a large number of static solutions and requires higher memory space.
Extension information
Hongmeng microkernel is a full-scenario distributed OS based on microkernel, which can be expanded on demand to achieve more Extensive system security, mainly used in the Internet of Things, is characterized by low latency, even to the millisecond level or even sub-millisecond level.
Hongmeng OS implements modular coupling and can be flexibly deployed corresponding to different devices. Hongmeng OS has a three-layer architecture. The first layer is the kernel, the second layer is basic services, and the third layer is the program framework.
Can be used on various devices such as mobile phones, tablets, PCs, and cars. It can also be used on mobile phones at any time, but for the time being, Huawei mobile phones still give priority to Android, and Huawei computers still give priority to windows and Linux.
For more computer-related knowledge, please visit theFAQcolumn!
The above is the detailed content of What language is Hongmeng written in?. For more information, please follow other related articles on the PHP Chinese website!