WebAssembly brings .NET to the Web
summary
WebAssembly compiles C/C++ and other statically typed languages into a browser binary that decodes faster than parsing JavaScript and avoids many JIT type checks, reusing the JS sandbox and web APIs. Toolchain specifics: LLVM front end, Emscripten producing asm.js and wasm, plus Binaryen/wabt to generate/optimize binaries. Working demos include a Unity tank game, a video editor comparison, console HelloWorld and Fibonacci, and a client‑side ASCII‑art converter using a virtual FS and a Mono/dotnet wasm runtime; DOM and WebSocket access still go through JavaScript.
AI-written summary · about
chapters (15)
- 0:00Introduction and audience poll
- 1:05JavaScript limitations and dynamic typing
- 4:16Why WebAssembly was created
- 5:59WebAssembly architecture and sandboxing
- 7:00WebAssembly vs JavaScript performance
- 8:50WebAssembly applications and demos
- 10:39Compiling to WebAssembly with Emscripten
- 15:18WebAssembly in the browser
- 18:31Generating WebAssembly with .NET
- 21:06.NET and WebAssembly integration
- 23:52Demo: .NET console app in browser
- 25:59Demo: ASCII art converter
- 28:08WebAssembly as .NET Core target
- 30:38Future of WebAssembly and .NET
- 32:27Q&A: Debugging and browser APIs
