Figured this was worth a shout-out here -- due to huge amount of effort @Chris Fallin has put in the WebAssembly exceptions proposal is now supported in Wasmtime as of https://github.com/bytecodealliance/wasmtime/pull/11326. Support is only in the main branch and will be released as off-by-default in Wasmtime 37 for the first time. If anyone's been waiting to test out various use cases or see if things work, now's the time to test!
If anyone runs into anything please feel free to open an issue as well
Also worth noting: this only includes the "standard" exceptions proposal for WebAssembly. The legacy instructions implemented by browsers are not implement and there is no plan to implement them in Wasmtime.
@Chris Fallin up for writing a BA blog post to brag about this?
Alex Crichton said:
Also worth noting: this only includes the "standard" exceptions proposal for WebAssembly. The legacy instructions implemented by browsers are not implement and there is no plan to implement them in Wasmtime.
and you can translate legacy exceptions into standard exceptions via binaryen (I think via wasm-opt, but I haven't actually tested it myself)
Pat Hickey said:
Chris Fallin up for writing a BA blog post to brag about this?
Yep, that's the plan! Still sketching out how it might look (there will definitely be a deep dive through the twisty design question adventures)
\o/ Yay!
It works fine with a simple Kotlin/Wasm project. More tests coming...
JFTR: I've recently run a big chunk of our compiler tests (~8K) on wasmtime and all passed. Great job, folks!
@Zalim Bashorov (Kotlin_, JetBrains) that's fantastic to hear!
Indeed, thank you @Zalim Bashorov (Kotlin_, JetBrains) for that confirmation!
Last updated: Dec 06 2025 at 06:05 UTC