4 ms·
Not really. From that very page: "Since only numeric values can be exchanged between the WASM module and the JS host, any JS native objects the WASM side might
by lenkite 3y ago
Not really. From that very page:
"Since only numeric values can be exchanged between the WASM module and the JS host, any JS native objects the WASM side might want to be working with must be managed manually in JS. "
- davexunit 3y agoThat's out of date. You can share GC managed references between host and guest now. Here's an example of Scheme compiled to Wasm that uses DOM APIs: https://spritely.institute/news/building-interactive-web-pages-with-guile-hoot.html https://spritely.institute/news/building-interactive-web-pag...