官术网_书友最值得收藏!

The JavaScript and Web APIs

The WebAssembly Working Group also released API specifications for interacting with JavaScript and the web, which qualifies them for inclusion in the WebAssembly technology space. The JavaScript API is scoped to the JavaScript language itself, without being specifically tied to an environment (for example, web browsers or Node.js). It defines classes, methods, and objects for interacting with WebAssembly and managing the compilation and instantiation processes. The Web API is an extension of the JavaScript API that defines functionality specific to web browsers. The Web API specification currently only defines two methods, compileStreaming and instantiateStreaming, which are convenience methods that simplify the use of Wasm modules in the browser. These will be covered in greater detail in Chapter 2, Elements of WebAssembly - Wat, Wasm, and the JavaScript API.

主站蜘蛛池模板: 铜山县| 平湖市| 东港市| 成安县| 方城县| 玛曲县| 西贡区| 历史| 汉中市| 平谷区| 寿阳县| 陇西县| 团风县| 乌什县| 卢氏县| 朝阳县| 汉源县| 吉林市| 扬中市| 绥化市| 富源县| 邹城市| 克拉玛依市| 宁河县| 黔西县| 辽阳县| 吴川市| 渝北区| 应用必备| 鹤山市| 密山市| 日照市| 凌云县| 临夏县| 珲春市| 平安县| 平乐县| 云安县| 滦平县| 尤溪县| 安顺市|