This covers the full pipeline from compiling C/C++ to WebAssembly with emcc through to debugging the binaries in browser devtools. It walks through exporting functions with EXPORTED_FUNCTIONS, managing the linear memory heap from both C and JavaScript, and using Asyncify to make synchronous C code work with async JS operations like fetch. The WASI versus browser targeting comparison is helpful if you're deciding between web and server-side deployments. The optimization flags and wasm-opt section will save you from shipping bloated binaries. Solid reference if you're doing anything beyond toy examples with Emscripten.
npx skills add https://github.com/mohitmishra786/low-level-dev-skills --skill wasm-emscripten