[HN Gopher] Watgo - A WebAssembly Toolkit for Go
___________________________________________________________________
Watgo - A WebAssembly Toolkit for Go
Author : ibobev
Score : 60 points
Date : 2026-04-10 19:03 UTC (3 hours ago)
(HTM) web link (eli.thegreenplace.net)
(TXT) w3m dump (eli.thegreenplace.net)
| ncruces wrote:
| I need to check their harness, compare it to wazero's and my own
| (wasm2go)
|
| Btw, if Eli reads this: thanks for the WAT samples, they were
| very helpful working on wasm2go!
| eliben wrote:
| You're welcome :)
|
| The harnesses are documented here:
| https://github.com/eliben/watgo/tree/main/tests
|
| Note that I had to switch the harness from wazero to Node
| (unfortunately!) when it turned out wazero doesn't support gc
| and other new proposals (e.g. your comment here
| https://github.com/wazero/wazero/issues/2483)
|
| Thank you very much for maintaining wazero - I love that
| project, and am looking forward to being able to use it for
| this in the future.
| evacchi wrote:
| I'm working on EH right now! Slowly walking towards GC!!
| ncruces wrote:
| You're welcome :)
|
| evacchi does most of the maintaining these days, but I'll
| keep helping as best as I can.
|
| Your harness looks interesting to replace wast2json with
| watgo in wasm2go. Though my current problem is that I
| _should_ be using the JSON to decide which tests to run
| (manual process so far), and to generate the more complicated
| test files (e.g. the ones that link modules together).
| igtumt wrote:
| This looks really useful for pre-runtime inspection of WASM
| modules. Are you using it for any security or sandboxing use
| cases?
___________________________________________________________________
(page generated 2026-04-10 23:00 UTC)