Hi,
I am trying to write a program to execute arbitrary standalone wasm binaries using v8.
I followed this guide
https://v8.dev/blog/emscripten-standalone-wasm to create a hello.c that prints hello, world! when executed via wasmer.
Now I am trying to achieve the same thing using v8.
I am using v8 version 9.3.36 as suggested by the version guide
https://v8.dev/docs/version-numbers which is the latest version used in chrome as of the time I write this.
In this conversation
https://groups.google.com/g/v8-dev/c/jQMLH3EkCoM the function
v8::WasmModuleObject::DeserializeOrCompile
was used, however it seems this function was removed from v8.h.
Is there currently an effective way to read in wasm binary files and run them in v8 as an embedder besides copying the approach in the hello-world sample, where the wasm bytes are embedded into js source code?
Thanks in advance.