• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Overview of ArkTS Common Library
2
3ArkTS is the preferred high-level programming language for application development in OpenHarmony. ArkTS provides capabilities such as declarative UI paradigm and status management, helping you develop applications in a simpler and more natural way.
4
5While maintaining the basic syntax style of TypeScript, ArkTS further enhances static check and analysis. In this way, more errors can be detected during development, improving code robustness and achieving better running performance. For details, see [Getting Started with ArkTS](../quick-start/arkts-get-started.md).
6
7ArkTS provides standard built-in objects, such as Array, Map, TypedArray, and Math, that you can directly use. It also provides a common library for basic capabilities, as shown in the figure below.
8
9
10**Figure 1** Capabilities of the ArkTS common library
11
12![arkts-commonlibrary](figures/arkts-commonlibrary.png)
13
14
15- [Asynchronous concurrency and multithread concurrency](concurrency-overview.md)
16  - Standard JavaScript asynchronous concurrency capabilities, such as Promise and async/await, are supported.
17  - **TaskPool** provides a multithread running environment for applications. The use of **TaskPool** helps reduce resource consumption and improve system performance. It also frees you from caring about the lifecycle of thread instances.
18  - **Worker** is provided for multithread concurrency. The worker thread can communicate with the host thread. You need to proactively create and close a worker thread.
19
20- [Adding, deleting, modifying, and querying elements in containers](container-overview.md)
21
22
23- Constructing and parsing XML files, URLs, and URIs
24  - [Extensible Markup Language (XML)](xml-overview.md) is designed for data transmission and storage.
25  - [URI](../reference/apis/js-apis-uri.md) is a uniform resource identifier that uniquely identifies a resource. [URL](../reference/apis/js-apis-url.md) is a uniform resource locator that provides a path for locating a resource.
26
27- [String and binary data processing](../reference/apis/js-apis-util.md) and [logging](../reference/apis/js-apis-logs.md)
28  - APIs for encoding and decoding strings
29  - APIs for encoding and decoding Base64-encoded bytes
30  - APIs for common rational number operations, including comparing rational numbers and obtaining numerators and denominators
31  - **Scope** APIs for defining the valid range of a field
32  - APIs for processing binary data in scenarios such as TCP flows or file system operations
33  - **Console** APIs for logging
34
35- [Obtaining process information and operating processes](../reference/apis/js-apis-process.md)
36