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

The JavaScript and Web APIs

In addition to the WebAssembly Core Specification, there are two API specifications for interacting with WebAssembly modules: the WebAssembly JavaScript Interface (JavaScript API) and the WebAssembly Web API. In the previous sections, we covered pertinent aspects of the Core Specification to become familiar with the underlying technology. If you never read the Core Specification (or if you skipped the first few sections of this chapter), it wouldn't inhibit the use of WebAssembly in your application. That is not the case for the APIs, as they describe the methods and interface required to instantiate and interact with your compiled Wasm module. In this section, we will review the Web and JavaScript APIs and describe how to load and communicate with a Wasm module using JavaScript.

主站蜘蛛池模板: 樟树市| 天柱县| 昆山市| 巴塘县| 刚察县| 扶风县| 咸阳市| 边坝县| 广河县| 德保县| 阳城县| 土默特左旗| 嘉荫县| 和顺县| 太仓市| 垫江县| 嘉兴市| 淅川县| 梁河县| 安西县| 镇江市| 项城市| 道孚县| 资源县| 旬阳县| 庐江县| 稻城县| 桂阳县| 开阳县| 巍山| 同江市| 海盐县| 闸北区| 南丰县| 龙游县| 奎屯市| 车险| 石楼县| 长顺县| 江津市| 平谷区|