WasmEdge-go
WasmEdge-go copied to clipboard
Examples for calling languages other than Rust and TinyGo?
I've been trying to get WasmEdge to be able to invoke a WASM function compiled in AssemblyScript. I can get it to work by passing simple types (int32, int64) but trying to get it to work with more complex types (e.g. string) is more difficult.
As I understand it the memory for the string argument would need to be allocated/deallocated from within the compiled AssemblyScript - I see this technique is used for the Rust/GoLang examples, but its not clear to me what those allocate/deallocate functions would look like for AssemblyScript, or for other languages (e.g. Python? Java?). Do you have any plans to create some examples for languages other then GoLang and Rust?