- Learn WebAssembly
- Mike Rourke
- 131字
- 2021-08-13 15:38:48
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
推薦閱讀
- HTML5+CSS3王者歸來
- JavaScript高效圖形編程
- Manga Studio Ex 5 Cookbook
- 圖解Java數據結構與算法(微課視頻版)
- Mastering Articulate Storyline
- 機器人Python青少年編程開發實例
- FFmpeg入門詳解:音視頻原理及應用
- VMware虛擬化技術
- OpenStack Orchestration
- R語言與網絡輿情處理
- MongoDB,Express,Angular,and Node.js Fundamentals
- Creating Stunning Dashboards with QlikView
- Java程序設計案例教程
- Python計算機視覺和自然語言處理
- Java并發編程:核心方法與框架