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

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.

主站蜘蛛池模板: 山丹县| 阿荣旗| 依安县| 秦皇岛市| 玉林市| 辰溪县| 绥江县| 城固县| 顺义区| 嘉祥县| 巴南区| 阳泉市| 车险| 阿拉善右旗| 垫江县| 定襄县| 义乌市| 金昌市| 将乐县| 福安市| 将乐县| 黑河市| 介休市| 凉城县| 瓮安县| 米脂县| 宜良县| 南宁市| 章丘市| 宁波市| 汉沽区| 望谟县| 安义县| 太湖县| 罗山县| 常山县| 甘泉县| 福清市| 阜平县| 巨野县| 元江|