- 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.
推薦閱讀
- Mastering Adobe Captivate 2017(Fourth Edition)
- Visual FoxPro程序設計教程(第3版)
- FreeSWITCH 1.8
- 算法訓練營:入門篇(全彩版)
- React Native Cookbook
- 軟件測試項目實戰之性能測試篇
- 老“碼”識途
- Learning AndEngine
- 人人都是網站分析師:從分析師的視角理解網站和解讀數據
- Learn React with TypeScript 3
- 前端HTML+CSS修煉之道(視頻同步+直播)
- 運用后端技術處理業務邏輯(藍橋杯軟件大賽培訓教材-Java方向)
- 低代碼平臺開發實踐:基于React
- 機器學習微積分一本通(Python版)
- Arduino計算機視覺編程