You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, the way to pass-in complex data is to serialize it to the linear memory from the host and then read it back from the guest. Essentially you will still pass in integer pairs <index, len> to the guest code, and then decode it from there. There are a few projects that you can pick to do that for you; from the top of my head https://github.com/loopholelabs/polyglot and https://wapc.io/
Hello,
I am wondering if it's possible to pass more complex types into WASM exported functions. Like structs or even nested structs from Go.
If this is supported i think this would make for a nice example.
The text was updated successfully, but these errors were encountered: