- Learn WebAssembly
- Mike Rourke
- 120字
- 2021-08-13 15:38:50
The EMSDK and Binaryen
In Chapter 4, Installing the Required Dependencies, we'll install the EMSDK and use it to manage the dependencies required to compile C and C++ to Wasm modules. Emscripten uses Binaryen's asm2wasm tool to compile the asm.js output by Emscripten to a .wasm file. Binaryen is a compiler and toolchain infrastructure library that includes tools to compile various formats to WebAssembly modules and vice versa. Understanding the inner workings of Binaryen isn't required to use WebAssembly, but it is important to be aware of the underlying technologies and how they work together. By passing certain flags into the compile command for Emscripten (emcc), we can pipe the resultant asm.js code to Binaryen to output our .wasm file.
推薦閱讀
- Modular Programming with Python
- LabVIEW2018中文版 虛擬儀器程序設計自學手冊
- PyTorch自然語言處理入門與實戰
- Functional Programming in JavaScript
- Windows Server 2012 Unified Remote Access Planning and Deployment
- Redis Essentials
- 深入理解Android:Wi-Fi、NFC和GPS卷
- 從零開始學C語言
- Cybersecurity Attacks:Red Team Strategies
- Unity&VR游戲美術設計實戰
- C++編程兵書
- Kotlin極簡教程
- Java程序設計基礎(第6版)
- 深入淺出 HTTPS:從原理到實戰
- Spring Boot從入門到實戰