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. -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/3d97083f-d959-46e8-adb4-6a4f8e9425e7n%40googlegroups.com.