WebAssembly (WASM) allows code written in languages like C/C++ to run as web apps. It defines a binary format for fast execution across browsers. WASM code runs in the same sandbox as JavaScript, with JavaScript loading and executing WASM. Many languages can compile to WASM, including C/C++, Rust, Java, Kotlin, Go, and .NET languages. Frameworks like Emscripten and Rustwasm enable low-level WASM, while Blazor provides a complete solution for typical web app development.