Huawei News

Huawei Ark compiler officially open source from GitHub for self-hosting

Recently, Huawei’s Ark compiler finally ushered in open source, and the open-source code is still carried on its own official website. Faced with such a compiler that shoulders the mission of “Beyond Android, better than Android”, it has received much attention since its inception; this open-source has attracted the attention of the public.

In order to build this “Ark”, Huawei has been grinding the sword for ten years.

In 2009, while Huawei launched the 5G basic technology research, it began to create a compilation group, and the first batch of researchers at home and abroad joined.

In 2013, Huawei launched the self-developed compiler HCC for the field of base stations, and formally proposed the compiler framework.

In 2014, many experts at home and abroad joined Huawei and the Ark project was officially launched.

Advertisement



In 2016, the Compiler and Programming Language Lab was established.

In 2019, the Huawei Ark compiler was officially launched.

According to Huawei’s official introduction, the Ark compiler is a unified programming platform designed to support the joint compilation and operation of multiple programming languages ​​and multiple chip platforms, including key components such as compilers, tool chains, and runtimes. It is the first static compiler to completely replace a language virtual machine , and does not require an interpreter at all, while also taking into account Java development efficiency and C language efficiency.

Huawei claims that the Ark compiler can increase the smoothness of Android applications by up to 60%, improve the smoothness of mobile phone system operation by up to 24%, and improve system response performance by 44%.

Advertisement

According to Huawei’s experimental data, EMUI 9.1 only increased the system operation fluency by 24% and system response performance by 44% after applying the Huawei Ark compiler to the system component System Server. Sina Weibo Express Edition is the first third-party application to use the Ark compiler, and the operation fluency is increased by 60%.



“Out of Android, better than Android, beyond iOS, and fully compatible with Android” is the mission of the Ark compiler. At present, the Ark has been able to achieve “a unified intermediate representation of mixed languages ​​and complete static compilation.” This is also its main two major advantages:

For the first time, the Ark compiler removed the virtual machine in the Java field. It is also the first time in the history of software to compile mixed code such as Java/C/C++ into machine code and run it directly on the mobile phone. It completely tells the Java JNI overhead and uses the memory recycling mechanism. Improve the smoothness of the operation.

The Ark compiler uses space for performance, so it can directly transfer the code of the compiler to the developer environment; so that developers are no longer limited by the hardware resources of the mobile terminal, providing unlimited possibilities for code optimization.

Advertisement
Min

Min En specializes in smartphone reviews, EMUI/HarmonyOS coverage, and mobile industry analysis. His in-depth knowledge of Huawei's ecosystem, from flagship devices to emerging technologies, makes him a trusted voice in the tech community.

Recent Posts

Huawei Mate 70 Air shows up in a promotional photo

Huawei is getting ready to release a new super-thin phone called the Mate 70 Air.…

3 months ago

Huawei Mate 80 series latest Information

Tipster Digital Chat Station has confirmed that the Chinese tech giant Huawei will release new…

5 months ago

Huawei’s Xu Zhijun steps down as chairman

A Chinese company called HiSilicon Semiconductor just changed who's in charge. The old boss, Xu…

5 months ago

HUAWEI MatePad Mini complete info

HUAWEI has introduced the all-new MatePad Mini tablet, in China. As per the specifications, the…

5 months ago

Huawei Watch GT 6 and Watch GT 6 Pro spotted on TDRA Certification Database

New details have been confirmed about the upcoming Huawei Watch GT 6 and Huawei Watch…

6 months ago

Huawei Nigeria to Host 2025 Job Fair

Huawei Technologies Company Nigeria Limited has announced the 2025 Huawei Job Fair, set to take…

6 months ago