News for hackers. Stuff that matters.
Re:V8 release v6.9 by chinedufn on Tuesday August 07, 2018 @01:14PM (#17708495)
Check out Rust’s wasm-bindgen - https://github.com/rustwasm/wasm-bindgen if ya haven’t already.

Right now it you call into JS to interact with the DOM but when the host bindings proposal sees fruit it’ll replace the JS shims with direct DOM manipulation!

Re:V8 release v6.9 by seanmcdirmid on Tuesday August 07, 2018 @02:11PM (#17709044)
It isn’t clear how they will allow safe access to the DOM without GC. Maybe they’ll take an approach like Microsoft did with UWP and use reference counting?
Re:V8 release v6.9 by tjallingt on Tuesday August 07, 2018 @02:40PM (#17709348)
Would be interesting if it would be possible to take the Rust approach and guarantee at parse/compilation time that the DOM interactions are safe without runtime overhead. Probably a terrible idea for mobile devices though...
Re:V8 release v6.9 by seanmcdirmid on Tuesday August 07, 2018 @02:59PM (#17709524)
That would only work if it isn’t shared with unsafe code.