方舟JS运行时(ARK JavaScript Runtime)是OpenHarmony上JS应用使用的运行时。包含JS对象的分配器以及垃圾回收器(GC)、符合ECMAScript规范的标准库、用于运行ARK前端组件生成的方舟字节码(ARK Bytecode,abc)的解释器、用于存储隐藏类的内联缓存、方舟JS运行时对外的函数接口(AFFI)等模块。
Ability management framework | 元能力框架
ability_runtime | 元能力框架
方舟JS运行时(ARK JavaScript Runtime)是OpenHarmony上JS应用使用的运行时。包含JS对象的分配器以及垃圾回收器(GC)、符合ECMAScript规范的标准库、用于运行ARK前端组件生成的方舟字节码(ARK Bytecode,abc)的解释器、用于存储隐藏类的内联缓存、方舟JS运行时对外的函数接口(AFFI)等模块。
Development framework for extending the JS Native Module | 原生模块扩展开发框架
JS UI framework | JS UI开发框架
Runtime Core组件是方舟运行时的公共组件,主要包括一些语言无关的基础运行库,包含承载字节码以及执行字节码所需要相关信息的ARK File、支持Debugger的Tooling、负责系统平台公共基础接口的ARK Base等
Development framework for extending the JS Native Module | 原生模块扩展开发框架
ts2abc组件是方舟平台的一个组件,其作为方舟编译器中JavaScript语言的前端工具,支持将JavaScript文件转换为方舟字节码文件
1、需求:内部转测试的双周非正式版本信息承载 2、目标:OH非正式版本的信息承载 3、意义:非官方开发转测试通道
js_sys_module, 提供系统基础能力查询API,包括进程信息,CPU负载信息等 | Provide system basic ability query API, including process information, CPU load information, etc.
Application compatibility test suite | acts应用兼容性测试套
js_util_module, 用于存放一些帮助类函数,比如字符串编解码,函数callback化、promise化,Base64编解码,Lru缓存等 | js_util_module, used to store some helper functions, such as string encoding and decoding, function callback, promise, Base
js_api_module, used to store the basic class library JSAPI, such as url, uri, etc.| 用于存放基础类库JSAPI,比如url、uri等
Storing declaration files for JavaScript APIs | JavaScript API 公共仓,存放 d.ts 声明文件
Third-party open-source software quickjs | 三方开源软件quickjs