HarmonyOS

Huawei HarmonyOS 3.0 ArkCompiler 3.0, a unified programming platform

Published

on

HarmonyOS 3.0 is the real deal and it’s available for the developer. With this version, Huawei has improved a lot of HarmonyOS development issues that developers have been facing for a while. Meanwhile, the HarmonyOS 3.0 also brings the new ArkCompiler 3.0 app compiler.

Compilation and construction is the process of packaging the source code, resources, and third-party libraries of the HarmonyOS application to generate a HAP or APP. Among them, HAP can be directly run in a real device or simulator; APP is used for applications to be put on the Huawei application market.

ArkCompiler 3.0:

HarmonyOS 3.0 provides a new ArkCompiler for application compilation and construction. When developing cross-device HarmonyOS applications or services based on the ArkUI framework, you can choose to try the ArkCompiler. ArkCompiler, as a unified programming platform developed by Huawei, includes key components such as a compiler, toolchain, and runtime.

Supports the compilation and operation of high-level languages ​​on multiple chip platforms; supports multi-language joint optimization to reduce cross-language interaction overhead; provides a lighter language runtime, and makes full use of hardware energy efficiency through software and hardware collaboration.

The support requirements of different business scenarios, equipment, and programming languages ​​make the design goal of the Ark programming platform a multi-language compilation runtime with pluggable languages ​​and configurable components.

Language pluggable:

The design and architecture support multiple language access. The ArkCompiler has the ability to provide a multi-language runtime with efficient execution performance and cross-language advantages, as well as a single-language runtime with high efficiency and small memory on small devices.

Configurable components:

The ArkCompiler has a rich compile runtime component system. include:

  • Execution engine: interpreter, JIT compiler, AOT compiler.
  • Rich memory management components: multiple allocators and multiple garbage collectors.
  • As well as the independent runtime of each language, it can support language-specific implementation and language base libraries.

ArkCompiler compiles runtime language and components through customized configuration to support different performance and memory requirements of various devices such as mobile phones, PCs, tablets, TVs, automobiles, and smart wearables.

Copyright © 2022 Huaweicentral.com