Stream: wit-bindgen

Topic: Go host runtime/generator


view this post on Zulip Marco Munizaga (May 05 2023 at 18:16):

@Ian Smith You mentioned you had some work here already. Could you send me some links please?

view this post on Zulip Ian Smith (May 05 2023 at 18:21):

https://github.com/bytecodealliance/wasmtime-go
Assuming I understand your desire correctly, this is what I use...

That lets you load wasm files from disk and then execute them, and do all that in go.

There are some tricky things about how to interact with runtimes/compilers... is there something specific you are looking to do?

Go WebAssembly runtime powered by Wasmtime. Contribute to bytecodealliance/wasmtime-go development by creating an account on GitHub.

view this post on Zulip Marco Munizaga (May 05 2023 at 18:23):

I'm talking about the host runtime for components as well as generating types for the Host runtime in Go (like what the bindgen! macro does in Rust).

A language binding generator for WebAssembly interface types - GitHub - bytecodealliance/wit-bindgen: A language binding generator for WebAssembly interface types

view this post on Zulip Marco Munizaga (May 05 2023 at 18:31):

Also if there has been any discussion around using components with Wazero, I'd be keen to learn more.

view this post on Zulip Ralph (May 05 2023 at 19:05):

@Mossaka (Joe) what do you know here? does the tinygo one only do guest side?

view this post on Zulip Mossaka (Joe) (May 05 2023 at 20:57):

Yeah my work on wit-bindgen-go is purely on the guest side of things.

view this post on Zulip DougAnderson444 | PeerPiper.io (Nov 18 2023 at 00:56):

Should the wit-bindgen README.md reflect this wasmtime-go host if it can run guest components?


Last updated: Dec 23 2024 at 12:05 UTC