The Road to Winch
Talkat Cloud Native Wasm Day Europe 2023 · on Tuesday, 2023-04-18· at 10:20· Hall 7, Room C | Ground Floor | Europe Complex·
summary
Winch is a one-pass baseline compiler integrated into Wasmtime (available under a feature flag in Wasmtime v9) that emits machine code immediately per function using a Wasm parser, a naive register allocator with spilling to stack, a shadow value stack, and a target macro-assembler (x86_64 and aarch64). Early results show functions that need no Cranelift optimizations compile twice as fast, baseline approaches promise 10–15× faster compile times, and the plan is background Cranelift compilation for hot code.
AI-written summary · about
chapters (7)
- 0:00Start
- 1:36Baseline, single-pass or one-pass compiler for Wasmtime
- 3:44A winch is to a cable what a cranelift is to a crane boom
- 7:22Dealing with machine code
- 7:53Maintenance of machine code
- 13:41Can I get the best of both worlds?
- 17:17Performance Sneak Peek
related talks
29mThe Return of Write Once, Run Anywhere
22mEfficient Concolic Execution of WebAssembly by Compilation and Snapshot Reuse
45mWebAssembly's Post-MVP Futurer
21mHit the Ground Running with WebAssembly
23mBringing Together Cross-ISA Checkpoint/Restoration and AOT Compilation of WebAssembly(…)
22m[Keynote] Wasm GC and the Future of High-Level Language Compilation
29mNew Adventures for WASM
25mFast future with WebAssembly
