News for hackers. Stuff that matters.
Re:Hello wasm-pack by austincheney on Wednesday April 18, 2018 @04:23PM (#16870834)
Issues have been opened for native DOM bindings in WASM, but I am not sure if that work ever started. As others have mentioned there is the hosting bindings API that is well underway, which provides web APIs to the WASM container so that code compiled to WASM can interact with the JavaScript outside it. This doesn't sound like what you are hoping for though.

At this time, and for the foreseeable future, there are no plans with active code in development to implement WASM as a JavaScript replacement, at least to my knowledge.

Re:Hello wasm-pack by IshKebab on Wednesday April 18, 2018 @06:04PM (#16871654)
Code compiled to WASM can already access Javascript outside it. Obviously. Otherwise how could it do anything at all??

> Issues have been opened for native DOM bindings in WASM, but I am not sure if that work ever started.

I didn't say work had started on it. I just said that it is planned. See here for proof: http://webassembly.org/docs/high-level-goals/

> access browser functionality through the same Web APIs that are accessible to JavaScript

Re:Hello wasm-pack by Nekorosu on Monday April 23, 2018 @04:31AM (#16901576)
> Otherwise how could it do anything at all??

By passing data.