WebAssembly with Emscripten Purpose Guide agents through compiling C/C++ to WebAssembly using Emscripten: emcc flag selection, function exports, memory model configuration, Asyncify for asynchronous C code, debugging WASM binaries, and targeting WASI vs browser. Triggers - "How do I compile C to WebAssembly with Emscripten?" - "How do I export a C function to JavaScript?" - "How does WebAssembly memory work with Emscripten?" - "How do I debug a .wasm file?" - "How do I use Asyncify to make synchronous C code async?" - "What's the difference between WASI and Emscripten browser target?" Workflo…