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

  • Learn WebAssembly
  • Mike Rourke
  • 131字
  • 2021-08-13 15:38:53

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.

主站蜘蛛池模板: 彭山县| 洛南县| 富锦市| 连南| 偃师市| 蓝田县| 新沂市| 洛宁县| 九龙县| 庆城县| 唐海县| 岳西县| 平湖市| 连城县| 公主岭市| 泉州市| 池州市| 无锡市| 阳江市| 揭东县| 四会市| 广饶县| 博白县| 昌乐县| 航空| 庄浪县| 兰考县| 阜康市| 奉新县| 阜平县| 海南省| 大兴区| 灌云县| 池州市| 同德县| 玉环县| 九寨沟县| 漳平市| 荥经县| 望江县| 慈利县|