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

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.

主站蜘蛛池模板: 年辖:市辖区| 周宁县| 潮安县| 金门县| 罗山县| 南澳县| 许昌县| 高邮市| 周宁县| 安仁县| 永泰县| 务川| 东丽区| 昂仁县| 津南区| 江城| 孝义市| 神木县| 株洲县| 清河县| 正阳县| 洞头县| 黑水县| 宁安市| 桂平市| 靖远县| 巴彦淖尔市| 手机| 米脂县| 临沭县| 云安县| 大姚县| 塔城市| 如皋市| 句容市| 衢州市| 乐陵市| 荆州市| 和平县| 富锦市| 慈溪市|