Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

WebAssembly Remove topic WebAssembly 74 posts RSS

2026

Bytecode Alliance

GC and Exceptions in Wasmtime

Announcement 5 min +50 XP

Wasmtime 47 enables the WebAssembly GC and exceptions proposals by default, letting objects-and-references languages use the runtime's collector instead of shipping their own, and letting exception-using languages use zero-overhead unwinding instead of custom return-flag calling conventions.

Bytecode Alliance

The Road to Component Model 1.0

Deep dive 11 min +110 XP

Component Model 1.0 is planned around five workstreams: a lazy ABI that replaces cabi_realloc-based eager allocation with opaque value handles and inlinable built-ins, native implementation in at least two browser engines, simpler implementation via guest and host C ABIs plus a component-smashing tool, ecosystem and tooling growth, and WIT expressivity features such as optional imports, callbacks, resource subtyping and a map type.

2025

How we built a real-time, client-side noise suppression library without server dependencies

Case study 13 min +130 XP

dtln-rs is an open source Rust library that runs the DTLN (Dual-Signal Transformation LSTM Network) noise suppression model entirely on the client, with WebAssembly, Node.js and native C-ABI targets for WebRTC apps.

2024

Mozilla Hacks

Experimenting with local alt text generation in Firefox Nightly

Case study 9 min +90 XP

Firefox 130 adds experimental on-device alt text generation for images in the built-in PDF editor, using a 182M-parameter ViT image encoder paired with DistilGPT-2, fine-tuned on COCO, quantized to under 200MB and running in a few seconds on a laptop CPU.

2023

V8

A new way to bring garbage collected programming languages efficiently to WebAssembly · V8

Deep dive 20 min +200 XP

Garbage-collected languages like Java, Kotlin, Dart, Python and C# can reach WebAssembly in two ways: compile an existing language VM to linear-memory WasmMVP, or lower the language's objects onto WasmGC structs and arrays managed by the host VM's garbage collector.

Contributing support for a Wasm instruction to Winch

How-to 9 min +90 XP

Adding a WebAssembly instruction to Winch, Wasmtime's baseline non-optimizing compiler, touches several layers: the wasmparser VisitOperator visitor, the CodeGenContext that manages the value stack, register allocation and spilling, an ISA-independent MacroAssembler, and an x86_64 assembler built on Cranelift's ISLE-generated instruction definitions.

2022

2021

Mozilla Hacks

WebAssembly and Back Again: Fine-Grained Sandboxing in Firefox 95

Deep dive 4 min +40 XP

Firefox 95 ships RLBox, a fine-grained sandboxing technique that compiles third-party C/C++ libraries (Graphite, Hunspell, Ogg, with Expat and Woff2 following in 96) to WebAssembly and then back to native code, so untrusted code runs in-process but cannot jump to unexpected code or touch memory outside its region.

2018

Undated

The quest for software engineering knowledge.

Look:
Layout: