WIPIVERSE All articles

ArkTS

ArkTS (short for Ark TypeScript) is a high-level, general-purpose, multi-paradigm programming language developed by Huawei, with contributions from the OpenAtom Foundation and Eclipse Foundation open-source contributors. It is an extension superset of TypeScript and is primarily designed for application development on HarmonyOS and OpenHarmony.

The language was first released on September 30, 2021, on OpenHarmony. ArkTS builds on TypeScript's basic syntax while adding enhanced static type checking, type inference, and declarative programming features. It compiles to machine code via the Ark Compiler's ahead-of-time compilation pipeline and supports interoperability with existing TypeScript and JavaScript codebases.

Key characteristics of ArkTS include:

  • Paradigms: Multi-paradigm, supporting functional, generic, declarative, and object-oriented programming
  • Typing discipline: Static, gradual, and structural typing
  • Memory management: Automatic (garbage collection)
  • File extensions: .ets, .ts
  • Primary platform: HarmonyOS, OpenHarmony, with cross-platform support through ArkUI-X for Android, iOS, Windows, and macOS
  • License: Apache license (proprietary elements up to HarmonyOS 3.1)

ArkTS is integrated into Huawei's DevEco Studio IDE and is used alongside the ArkUI declarative UI framework. The language has undergone several version updates, with releases tied to HarmonyOS and OpenHarmony API levels, including versions 3.0 through 6.0 as of late 2025.

ArkTS was introduced to address limitations of earlier HarmonyOS development languages such as Java and JavaScript, aiming to provide improved performance, type safety, and developer productivity for the HarmonyOS ecosystem.

Browse

More topics to explore

    Browse all articles