1e41f4b71Sopenharmony_ci# Programming Language Runtime
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ci## Introduction
4e41f4b71Sopenharmony_ci
5e41f4b71Sopenharmony_ciThe programming language runtime subsystem provides the compilation and execution environment for programs developed with JavaScript and C/C++. It also provides basic libraries that support the runtime, and runtime-associated APIs, compilers, and auxiliary tools. Modules in this subsystem are classified based on the currently supported programming languages: JavaScript and C/C++. Each module can be compiled independently and can be combined and separated based on development scenarios.
6e41f4b71Sopenharmony_ci
7e41f4b71Sopenharmony_ciThis subsystem consists of the runtime, libraries, and compilers that support the running of  JavaScript and C/C++ programs, and provides the basic libraries, APIs, JavaScript engine, and a toolchain that supports language compilation.
8e41f4b71Sopenharmony_ci
9e41f4b71Sopenharmony_ci**Figure  1**  Subsystem architecture
10e41f4b71Sopenharmony_ci
11e41f4b71Sopenharmony_ci![](figures/subsystem-architecture-1.png "subsystem-architecture-1")
12e41f4b71Sopenharmony_ci
13e41f4b71Sopenharmony_ci## Directory Structure
14e41f4b71Sopenharmony_ci
15e41f4b71Sopenharmony_ci```
16e41f4b71Sopenharmony_ci/prebuilts/mingw-w64/ohos/linux-x86_64     # Cross-compilation toolchain for Linux platform
17e41f4b71Sopenharmony_ci    └── clang-mingw
18e41f4b71Sopenharmony_ci        ├── bin
19e41f4b71Sopenharmony_ci        ├── lib
20e41f4b71Sopenharmony_ci        ├── libexec
21e41f4b71Sopenharmony_ci        ├── NOTICE
22e41f4b71Sopenharmony_ci        ├── share
23e41f4b71Sopenharmony_ci        └── x86_64-w64-mingw32
24e41f4b71Sopenharmony_ci```
25e41f4b71Sopenharmony_ci
26e41f4b71Sopenharmony_ci## Constraints
27e41f4b71Sopenharmony_ci
28e41f4b71Sopenharmony_ci1.  You are not allowed to add or modify the APIs without permission.
29e41f4b71Sopenharmony_ci2.  The implementation of the JavaScript engine is restricted by the subsystem. There is no configuration item for external systems.
30e41f4b71Sopenharmony_ci
31e41f4b71Sopenharmony_ci## Usage
32e41f4b71Sopenharmony_ci
33e41f4b71Sopenharmony_ciBasic language capabilities are supported through library files. Some capabilities are integrated into Native, and JavaScript SDKs and integrated into DevEco Studio releases. For details about the usage, see the readme file of each module.
34e41f4b71Sopenharmony_ci
35e41f4b71Sopenharmony_ci## Repositories Involved
36e41f4b71Sopenharmony_ci
37e41f4b71Sopenharmony_ciThe following list shows the repositories of third-party software and precompilation toolchains that are referenced:
38e41f4b71Sopenharmony_ci
39e41f4b71Sopenharmony_ci[/third\_party/jerryscript](https://gitee.com/openharmony/third_party_jerryscript)
40e41f4b71Sopenharmony_ci
41e41f4b71Sopenharmony_ci[/third\_party/mingw-w64](https://gitee.com/openharmony/third_party_mingw-w64)