In this issue we’re going deep - with a couple of articles that explore the WebAssembly instruction set in more detail …
Writing WebAssembly by Hand
SCOTTLOGIC.COM
WebAssembly was designed as a compilation target / runtime for a wide range of higher-level programming languages. However, it is surprisingly easy to write by hand! This blog post explores the WAT text format and looks at implementing Conway’s Game of Life.
How does Dynamic Dispatch work in WebAssembly?
FITZGERALDNICK.COM
Dynamic dispatch is a technique that allows language to dynamically determine which implementation of an operation to invoke at runtime. It is a feature of most programming languages, although they differ in exactly how it is implemented.
This post explores the WebAssembly call_indirect instruction, which allows dynamic invocation of functions. It also compares how the same dynamic code (written in Rust) differs when compiled to WebAssembly and x86. Fascinating stuff!
And The Rest …
- The Web Assembles - a white paper that looks at why we need WebAssembly, and how it will effect the future of web development
- Blazor, Razor, WebAssembly, and Mono - How the pieces fit together - an interesting post that describes how the pieces in this complex puzzle all fit together!
- Code cartoons, Rust and WebAssembly - a podcast with Lin Clark
And Finally …
What if there were a physical CPU that executed WebAssembly? 😱😱😱