CC++EmscriptenTutorial
Compiling C/C++ to WebAssembly with Emscripten
Emscripten is the most powerful toolchain for bringing C and C++ code to the web. This practical tutorial walks you from installation through porting a real native library, covering the tricky parts along the way.