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

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.

主站蜘蛛池模板: 大化| 深圳市| 南澳县| 太仆寺旗| 新干县| 平南县| 辽源市| 翼城县| 都匀市| 呼图壁县| 板桥市| 咸丰县| 城固县| 内丘县| 乌鲁木齐市| 安徽省| 沙湾县| 云阳县| 宣威市| 新和县| 平凉市| 泾源县| 景宁| 奉新县| 祥云县| 青州市| 古蔺县| 房产| 炎陵县| 电白县| 宝坻区| 麻城市| 永靖县| 永泰县| 平阳县| 和林格尔县| 沅江市| 来凤县| 民和| 开化县| 定日县|