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

This is great; looks like it's still fairly rough but interesting that GC languages are making due with what's there in the MVP of WebAssembly right now.

Wonder how it works? does it use the regular call stacks or construct it's own and so on?



From this: https://docs.google.com/document/d/131vjr4DH6JFnb-blm_uRdaC0...

> Go’s garbage collection is fully supported. WebAssembly is planning to add its own garbage collection, but it is hard to imagine that it would yield a better performance than Go’s own GC which is specifically tailored to Go’s needs.

Presumably a runtime will be compiled into the wasm output, including Go's garbage collector.


But Go's garbage collector can't traverse the DOM.


The design doc talks some about how this works: https://docs.google.com/document/d/131vjr4DH6JFnb-blm_uRdaC0...




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

Search: