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

By giving it dom support


Which meant having garbage collection working accross the WASM/JS barrier. This is now possible, but was not exactly trivial to design. It's a good thing that this was not rushed out.


Check the context of the quote. DOM support is unrelated, it was about the Rust/TypeScript interface.


What I got from gp is that interface is necessary because the wasm environment itself is limited. Quote:

> You need a lot of inherently slow and unsafe glue code to make anything work.

Idea being that with dom support you’d need less unsafe glue code.

Of course I was being glib but it is the point of TFA after all.




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

Search: