Shrinking WebAssembly and JavaScript code sizes in Emscripten Emscripten is a compiler toolchain for asm.js and WebAssembly which lets you run C and C++ on the web at near-native speed. Emscripten output sizes have decreased a lot recently, especially for smaller programs. For example, here’s a little C code: #include <emscripten.h> EMSCRIPTEN_KEEPALIVE int add(int x, int y) { return x + y; } This
![Shrinking WebAssembly and JavaScript code sizes in Emscripten – Mozilla Hacks - the Web developer blog](https://cdn-ak-scissors.b.st-hatena.com/image/square/6b2af619fd507eccd2b2d76474ca52fd80e6ed42/height=288;version=1;width=512/https%3A%2F%2Fhacks.mozilla.org%2Fwp-content%2Fuploads%2F2018%2F01%2Fdomains.png)