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

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.

主站蜘蛛池模板: 车致| 桐城市| 海原县| 兴宁市| 澎湖县| 土默特左旗| 桦甸市| 清水河县| 探索| 孟津县| 邵阳县| 连云港市| 上高县| 沭阳县| 潢川县| 双鸭山市| 大方县| 得荣县| 藁城市| 华宁县| 闸北区| 澜沧| 桐庐县| 甘孜| 宣威市| 资中县| 右玉县| 江津市| 霍林郭勒市| 罗平县| 广丰县| 辰溪县| 资源县| 左贡县| 吴忠市| 乌兰县| 八宿县| 临泽县| 景泰县| 拉萨市| 濉溪县|