New Stack Maps for Wasmtime and Cranelift

Note: This post was originally published on the Bytecode Alliance blog . As part of implementing the WebAssembly garbage collection proposal in Wasmtime, which is an ongoing process, we’ve overhauled the stack map infrastructure in Cranelift. This post will explain what stack maps are, why we needed to change them, and how the new stack maps work. Wasmtime is a lightweight WebAssembly runtime that…