OpenHarmony JSVM-API provides a set of stable APIs based on the standard JavaScript (JS) engine. It provides complete JS engine capabilities, including creating and destroying a JS engine, executing JS code, and implementing interaction between JS and C/C++ modules.
OpenHarmony JSVM-API provides a set of APIs written in C programming language that complies with C99.
JSVM-API allows dynamically loaded JS code segment to be directly run during application runtime. With JSVM-API, you can also use C/C++ to implement core functionalities that demand high performance or closely rely on underlying system invocation, register C++ methods in JS code, and directly call the JS code to improve the execution speed.
/arkcompiler/jsvm
├── interfaces
│ ├── innerkits # interface used in system component
│ └── kits # interface provided to app developer
├── src # jsvm source code
│ ├── inspector # source code about inspector
│ └── platform # source code related to platform
├── test # jsvm test suit
├── BUILD.gn # jsvm compile script
├── jsvm.gni # jsvm compile script
└── bundle.json # jsvm config file
./build.sh --product-name rk3568 --build-target make_all --target-cpu arm64 --gn-args enable_notice_collection=false --keep-ninja-going
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。