ArkTS is the official advanced language for HarmonyOS application development.
ArkTS provides capabilities such as declarative UI paradigm, state management, and rendering control, enabling developers to develop applications in a simpler and more natural manner.
ArkTS is further extended based on the TypeScript (TS) ecosystem to maintain the basic style of TS. In addition, ArkTS enhances static check and analysis during development through standard definitions, improves code robustness, and achieves better program execution stability and performance. For details about the differences between ArkTS and standard TS, see TypeScript to ArkTS Cookbook. ArkTS also supports efficient interoperability with TS/JavaScript (JS).
To address the limited support for concurrency capabilities of TS/JS, ArkTS enhances concurrency programming APIs and capabilities, providing two concurrency APIs: TaskPool and Worker. In addition, ArkTS introduces the concept of Sendable to support reference passing of objects between concurrent instances, improving the communication performance of ArkTS objects between concurrent instances.
The development of atomic service ArkTS is the same as that of traditional application ArkTS. For details, see About This Kit.