teavm
teavm copied to clipboard
WASM how to transfer Array
???
There's no way to transfer arrays between JavaScript and WebAssembly. So there's no way to transfer array between TeaVM/WebAssembly and JavaScript. If you want to transfer complex data structures between Java and JavaScript, you should prefer JavaScript target. Currently, targetting to WebAssembly gives no benefits, either in performance or memory consumption.
@konsoletyper is there a way to read & write from WebAssembly Memory(HEAP)
@konsoletyper is there a way to read & write from WebAssembly Memory(HEAP)
Hi panda, I want to transfer array in my project, can you give me some advices ? Thank very much!
@abhishek-panda Hi panda, I want to transfer array in my project, can you give me some advices ? Thank very much!