Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> having V8 as a backend also means supporting WebAssembly Exceptions and Garbage Collection under the hood. Stay tuned for more news on this front soon

Looking forward to this and languages that can make use of wasm-gc.

Does wasm-gc allow sharing of host data/strings across different modules in the same runtime, or is it contained to only single module with repeated calls/invocations? The scenario I am considering would invoke several different modules in a pipeline, pass data between each step in an efficient manner.



That's what reference types (the Wasm proposal) are for, GC builds on top of that.


Sharing GC data between wasm modules is supported, yes. You just need to define the types identically on both sides, and things work.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: