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

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.

主站蜘蛛池模板: 天门市| 仙居县| 九龙县| 芒康县| 彭泽县| 宁化县| 固安县| 阳东县| 怀来县| 万年县| 靖远县| 苍梧县| 临夏市| 潢川县| 桐柏县| 鹤壁市| 内黄县| 宜阳县| 周宁县| 洪江市| 比如县| 田东县| 建始县| 宿迁市| 黄龙县| 旬阳县| 密山市| 泸定县| 邢台市| 田东县| 屏边| 湘潭市| 滁州市| 休宁县| 灌云县| 洪泽县| 吴桥县| 顺平县| 吴桥县| 讷河市| 阳原县|