How does WebAssembly choose DOM?

all kinds of articles, big V said that the era of WebAssembly is coming, Go, Rust, CPP languages can all write Web front end.
I also want to follow, but all the articles I found are desperately praising the performance of WebAssembly. I just want to ask: how do you write the sentence document.getElementById ("xx") in other programming languages?

Jan.08,2022

cannot be written. WebAssembly cannot operate dom now (and may not be able to do so in the future).
WebAssembly is used to solve the inefficiency of js (functions that require complex calculations can be written in WebAssembly), not an alternative to js

.
Menu