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

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.

主站蜘蛛池模板: 平塘县| 云霄县| 贵德县| 西乌珠穆沁旗| 富民县| 贡嘎县| 鸡东县| 天峻县| 松江区| 五寨县| 丰都县| 台东县| 大丰市| 江安县| 丽水市| 张家界市| 台安县| 长泰县| 苏尼特右旗| 林州市| 青田县| 盐津县| 晋宁县| 建始县| 江阴市| 车致| 防城港市| 达州市| 滨海县| 安庆市| 稻城县| 含山县| 宿州市| 久治县| 洪泽县| 武宣县| 福泉市| 云南省| 灯塔市| 江北区| 内乡县|