News for hackers. Stuff that matters.
Re:CPython's main branch running in the browser with WebAsse... by ethanhsmith on Monday November 29, 2021 @01:48AM (#29377120)
If I'm not mistaken, once interface types are added, the DOM can be made accessible to WASM.
Re:CPython's main branch running in the browser with WebAsse... by flohofwoe on Monday November 29, 2021 @07:11AM (#29378902)
WASM can already access the DOM by calling out into Javascript. AFAIK interface types wouldn't change that approach much, except that the mapping between numeric ids and Javascript object references doesn't need to be handled by the JS shim anymore.

So the answer to the question "Can WASM access the DOM?" is both yes and no, always has been, and probably always will be ;)