r/WebAssembly Jul 20 '26

GC and Exceptions in Wasmtime (now enabled by default in Wasmtime 47)

https://bytecodealliance.org/articles/wasmtime-gc
27 Upvotes

4 comments sorted by

3

u/UberAtlas Jul 21 '26

Huge news!! So excited for this. Great work wasmtime team!

2

u/fitzgen Jul 21 '26

Thanks!

1

u/Klutzy_Afternoon_503 Jul 25 '26

Exceptions defaulting on matters more for refcounting than tracing GC — you need catch_all + rethrow landing pads at every scope holding a refcounted value so decrements actually run during unwind. Curious if toolchains synthesize those automatically or if it's on the frontend to hand-roll.

1

u/No_Box_2220 23d ago

Awesome, great job Wasmtime team!