- 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.
推薦閱讀
- AngularJS Testing Cookbook
- C程序設計簡明教程(第二版)
- Learning SQLite for iOS
- Oracle Database 12c Security Cookbook
- Mastering Ext JS
- Raspberry Pi Home Automation with Arduino(Second Edition)
- Regression Analysis with Python
- CRYENGINE Game Development Blueprints
- Unity Character Animation with Mecanim
- Training Systems Using Python Statistical Modeling
- PyQt編程快速上手
- Moodle 3 Administration(Third Edition)
- Isomorphic Go
- TypeScript High Performance
- Node.js核心技術教程