WebAssembly outside the browser: what the component model actually is
WebAssembly modules are portable but awkward to connect. The component model adds typed interfaces so modules written in different languages can talk to each other.
Tag
Every story tagged #rust.
WebAssembly modules are portable but awkward to connect. The component model adds typed interfaces so modules written in different languages can talk to each other.
Ownership and borrowing are why Rust needs no garbage collector. Three rules, a few examples, and the mental model that makes the borrow checker click.
Pattern matching has spread from functional languages into the mainstream. The syntax differs, but the idea — destructure and branch on shape — is the same.
Generics let you write code once for many types without giving up type safety. TypeScript, Go and Rust each approach them differently.
Some languages throw errors up the stack; others return them as values. Each approach makes different mistakes easy or hard.