Watgo – A WebAssembly Toolkit for Go

(eli.thegreenplace.net)

52 points | by ibobev 3 hours ago

2 comments

  • igtumt 44 minutes ago
    This looks really useful for pre-runtime inspection of WASM modules. Are you using it for any security or sandboxing use cases?
  • ncruces 1 hour ago
    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 1 hour ago
      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 1 hour ago
        I'm working on EH right now! Slowly walking towards GC!!