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

How does GC help with that?


GC feature in wasm extends to having opaque references outside linear memory (which may reference objects controlled by host system's gc) avoiding need for js caller to handle resource being freed by wasm code with a pool or something keyed by handles (integers) passed to wasm


I think it would enable WASM code to hold references to DOM objects that have been designed around garbage collection.




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

Search: