It can perform a lot of computational work, but yeah it can't yet interface directly with the DOM. I'm not sure about whether it can access the network or other things, but I don't believe that it can.
The Spritely folks are doing DOM manipulation from Scheme in Wasm, is there something beyond this that you're referring to? https://spritely.institute/news/building-interactive-web-pag...
Scheme.load_main("hello.wasm", {}, {
document: {
body() { return document.body; },
createTextNode: Document.prototype.createTextNode.bind(document)
This requires boilerplate and adds overhead that would not exist if it were able to be done "directly."It's not even that slow to interface with JS from WASM if you do it right (i.e. you aren't passing strings back and forth).