![]() | The topic of this article may not meet Wikipedia's general notability guideline. (July 2024) |
![]() | A major contributor to this article appears to have a close connection with its subject. (July 2024) |
Paradigm | Multi-paradigm: functional, generic, declarative,object-oriented |
---|---|
Developer | Huawei, OpenAtom Foundation, Eclipse Foundation open-source contributors |
First appeared | September 30, 2021 |
Stable release | 4.1.7.3
/ March 30, 2024 |
Typing discipline | Duck, gradual, structural |
OS | HarmonyOS, OpenHarmony, Oniro OS, macOS, Windows, Android, iOS |
License | Apache License Proprietary (up to HarmonyOS 3.1) |
Filename extensions | .ets, .ts |
Influenced by | |
TypeScript, Swift, Objective-C, JavaScript, C#, F#, Java, ActionScript, AtScript, AssemblyScript |
ArkTS is a high-level general-purpose, multi-paradigm, compiled, declarative programming language developed by Huawei which is a superset of open-source TypeScript, in turn a superset of JavaScript formerly used in July 2022 HarmonyOS 3.0 version, alongside its evolved percussor, extended TypeScript (eTS) built for HarmonyOS development as a shift towards Declarative programming.[1] ArkTS compiles to machine code via its ahead-of-time compilation Ark Compiler. ArkTS was first released in September 30, 2021 on OpenHarmony, and the ArkTS toolchain has shipped in DevEco Studio since version 3.1, released in 2022.[2] Since, OpenHarmony 4.0 release on October 26, 2023, ArkTS APIs has been added to the open source community to contribute.[3]
Huawei intended ArkTS to support many core concepts associated with extended TypeScript (eTS) based on TypeScript and in turn JavaScript from previous versions of HarmonyOS 3.0 with ArkUI declarative UI app development and 2.0 imperative app development alongside Java. ArkTS was introduced at Huawei's Developer Conference (HDC) 2022 in November 2022 on HarmonyOS 3.1 release.[4][5]
It underwent an upgrade in HDC 2023 with HarmonyOS 4.0 API 10 and a major upgrade at January 18, 2024 HarmonyOS Ecology Developer Conference alongside, new Cangjie programming language announced by Huawei where both programming languages become the primary languages for the iterative HarmonyOS NEXT system version of HarmonyOS operating system.[6][7]
The current version of ArkTS, was released on October 26, 2023, for open source OpenHarmony 4.0 API 10 with new ArkTS APIs via DevEco Studio 4.0 Canary build after HarmonyOS 4.0 release on August 4, 2023.[8] Following current stable release, a preview released in January 2024, with OpenHarmony 4.1 Beta 1 API 11. Alongside, internal HarmonyOS NEXT Developer Preview 1 and 2 with latest API 11-12 preview based on latest version of OpenHarmony that features advanced syntax that is matured on the 5.0 version of the DevEco Studio IDE that is syntactically rigorous and provides more complete and rich capabilities compared to previous versions.[9][10]