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

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.

主站蜘蛛池模板: 盐亭县| 浮山县| 贺州市| 勐海县| 灵璧县| 搜索| 竹溪县| 柞水县| 辽阳市| 靖西县| 桃园县| 绥阳县| 长子县| 泗水县| 尉犁县| 自贡市| 鄂托克旗| 涟源市| 桑日县| 固原市| 康马县| 柯坪县| 大城县| 苗栗市| 长乐市| 云霄县| 磐安县| 浏阳市| 吴堡县| 隆德县| 洛川县| 类乌齐县| 灯塔市| 大城县| 永修县| 新津县| 林西县| 甘德县| 黑水县| 通河县| 固原市|