WebAssembly and DOM Access
Memory allocation in WebAssembly is granular, allowing developers to specify sizes for their buffers. Currently, direct access to the DOM from WebAssembly isn't available, but upcoming proposals aim to enable this functionality. While WebAssembly can reference DOM objects, it cannot overwrite their memory, maintaining a level of security akin to JavaScript's access.In this clip
From this podcast

Software Engineering Radio - the podcast for professional software developers
SE-Radio Episode 323: Lin Clark on WebAssembly
Related Questions