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

Semantic phases

The Core Specification describes the different phases an encoded module (.wasm file) undergoes when it is being utilized in a host environment (such as a web browser). This aspect of the specification represents how the output is handled and executed:

  • Decoding: The binary format is converted into a module
  • Validation: The decoded module undergoes validation checks (such as type checking) to ensure the module is well formed and safe
  • Execution, Part 1: Instantiation: A module instance, which is the dynamic representation of the module, is instantiated by initializing the Globals, Memories, and Tables, and invokes the module's start() function
  • Execution, Part 2: Invocation: Exported functions are called from the module instance:

 The following diagram provides a visual representation of the semantic phases:

Semantic phases of module use
主站蜘蛛池模板: 安阳县| 柳江县| 江北区| 孝昌县| 昌乐县| 郎溪县| 健康| 航空| 石楼县| 康马县| 葫芦岛市| 旬邑县| 新化县| 化隆| 咸丰县| 灵石县| 平远县| 东兰县| 襄垣县| 万安县| 昌宁县| 房产| 枝江市| 三台县| 栾城县| 芦溪县| 新宁县| 西宁市| 贵定县| 祁东县| 安宁市| 岐山县| 平谷区| 库伦旗| 阜新| 周至县| 花垣县| 夏邑县| 兰西县| 门头沟区| 当阳市|