Home > News content

Huawei Hongmeng OS released! Yu Chengdong: Can replace Android at any time; Ark will support hybrid compilation

via:博客园     time:2019/8/9 16:47:32     readed:908

Qianming Frontier Policy Guo Yipu comes from the Temple.

QUANTUM bit report public No. QbitAI

The operating system of Huawei, which began to come out, was released today.

English nameHarmony OSIt means harmony.


Unlike Android, which has hundreds of millions of lines of code, Hongmeng OS supports not only mobile phones, but also wearable devices, vehicles, speakers and other platforms, ranging from GB-level memory to KB-level memory, all of which are flexible.

Moreover, Hongmeng OS is the first time that terminal OS uses distributed architecture, which can achieve low latency, high throughput and high reliability, modular decoupling and flexible deployment of different devices.

Yuchengdong said that Hongmeng OS can be compatible with Android applications. If Android is not available, it can start Hongmeng at any time, but considering the partnership and ecology, it gives priority to using Google's Android system.

And Yu Chengdong said that the Hongmeng operating system willOpen source.

In addition, regarding another highly anticipated product Ark compiler, Yu Chengdong said that this compiler can support multi-language unified compilation in the future, C, C++, Java, JS, Kotlin, etc. can support, and even can be mixed and compiled.

AIoT: The challenge of the operating system

Yu Chengdong first announced Huawei's long-term strategy of 5 to 10 years, which provides users with a full range of smart life services. Yu Chengdong used the keyword “1+8+N””.


The so-called 1 refers to the smart phone, 8 refers to 8 smart devices: PC, tablet, smart screen, car, headphones, speakers, watches, glasses. N is a wider range of IoT devices.

Then, Yu Chengdong asked the question on the spot:

In such an era of Internet of Everything, what kind of OS can meet the needs?

Yu Chengdong said that the Android and Linux operating system kernels are hugely redundant, with a total of more than 20 million lines of code, and we only use 8% of the code. These two systems are difficult to guarantee the smooth experience of different terminals.

Moreover, multi-terminals also place higher demands on device security. Nowadays, there are many operating systems for terminal devices, and software ecosystem and hardware binding, developers need to develop different software for different platforms, reducing user experience and development efficiency.

Of course, there are many companies that are exploring this direction, such as Google and Apple.

Google is developing the Fuchsia system of "big one", the future development direction is microkernel, but Yu Chengdong pointed out that it is not a distributed design, and its performance is poor.

As for Apple, the hybrid kernel is used, and now the system is gradually split and the ecology is closed.

Hongmeng OS debut

Therefore, Huawei launched the Hongmeng OS (English name HarmonyOS), which is a micro-kernel-based full-distribution distributed OS.


Hongmeng OS has the characteristics of distributed architecture, smooth operation, security and credibility.

First of all, Hongmeng OS can support smart screens, wearable devices, car, mobile phones and other devices, and flexibly adapt various terminals according to different performance devices, from GB-level computer phones to MB-level smart watches, to KB's basic small smart home devices can be used for a seamless experience across terminals.


Distributed soft bus technology realizes the minimalist protocol, the advantages of low latency, high throughput and high reliability.

Smooth running is a big advantage of Hongmeng compared to Android. Yu Chengdong said that Android currently uses the Linux kernel scheduling mechanism to ensure user experience. The Hongmeng OS can predict the load in real time, ensuring a smooth user experience and a 25% reduction in latency.

Yu Chengdong made an analogy. The Android system is like all the vehicles are crowded in the same lane, and the Hongmeng OS is equivalent to dividing the road into a fast lane, a slow lane, and a bicycle lane. The processes do not block each other.

Compared with the Android Hongmeng process, the communication efficiency is increased by 3~5 times.

As for why the Hongmeng OS wants to adopt the microkernel, Yu Chengdong said that in order to ensure the security at the kernel level, the use of the microkernel will be a major trend in the future. The microkernel naturally has no root privileges, and the outer core services are isolated from each other, improving system security from the source.

For Hongmeng, an OS that can adapt to different terminals, the most important ecological sharing. To this end, Huawei provides an IDE for multi-terminal development, which enables layout adaptation on different screens and different hardware of mobile phones, PCs, and in-vehicle devices.

Subsequently, Yu Chengdong introduced Huawei's self-developed Ark compiler, which will support multi-language consent compilation in the future, including C/C++, Java, JS, Kotlin and other languages, achieving up to 60% performance improvement.


Can replace Android anytime

At this stage, Hongmeng OS still retains the Linux kernel, mainly from the perspective of software ecology, and is compatible with Linux, Android, and HTML5 applications. In the future, Hongmeng OS will replace all with microkernels and use the Ark compiler.


Because mainstream software developers are still developing applications for systems such as Android, how to help them port their software to Hongmeng OS is the key to building an ecosystem.

Hongmeng OS develops cross-terminal applications with the Distributed Capabilities Kit, which is as simple as developing a common application.

The glory wisdom screen released tomorrow will use the Hongmeng OS. On-site Huawei also announced a timetable. Huawei will use the Hongmeng system in mobile phones next year.


Yu Chengdong said that Hongmeng can be used on mobile phones at any time, but Google is a Huawei partner, and because Android ecosystem is very mature, Huawei will continue to use Android on mobile phones.

However, Huawei is not afraid of "discontinued", if Android can not be used, Huawei can switch to Hongmeng OS at any time.


And the migration of the ecosystem is also very convenient, Yu Chengdong said that ordinary developers can transplant Android applications to Hongmeng in just one or two days.

Finally, Yu Chengdong announced in the speech that Hongmeng OS is open source, and hopes to work with developers to build a more powerful OS.

One more thing

After the release of Huawei Hongmeng OS, Yu Chengdong also talked about the impact of the US supply cut:

Without the US out of service, our mobile phone can be the world's number one. Now, we can still sit second.

In addition, today is also "big mouth" rd Chengdong 50th birthday.

He joined Huawei in 1993 and has been in business for 26 years. Under his rule, Huawei mobile phones have grown from scratch, and Huawei mobile phones have become the world's second largest from weak chickens.

So let us also wish Yu Chengdong: Happy birthday!


China IT News APP

Download China IT News APP

Please rate this news

The average score will be displayed after you score.

Post comment

Do not see clearly? Click for a new code.

User comments