Skip to content

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

WebAssembly Remove topic WebAssembly Clear all 6 posts RSS

2023

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

The quest for software engineering knowledge.

Look:
Layout: