Re:Firefox’s new streaming and tiering compiler
by logn on Thursday January 18, 2018 @01:11PM
(#16179638)
Rust -- https://github.com/koute/stdweb
C++ -- https://github.com/mbasso/asm-dom
I don't know exactly how these work but Emscripten allows interop both ways (embedding JS in native code and calling native code from JS) -- https://kripken.github.io/emscripten-site/docs/porting/conne...
Re:Firefox’s new streaming and tiering compiler
by steveklabnik on Thursday January 18, 2018 @08:46AM
(#16176969)
Via calling through JavaScript, yes. Wasm itself can't directly manipulate the DOM.
I'm not sure what your parent means.
What does that mean? Could you expand on that?
Can Rust code compiled to wasm manipulate the DOM?