3 ms·
but once you blow away the layers you are left with a virtual machine with a number of low level APIs. Most people won't want to use them. Yes, I can see the a
by mrighele 4y ago
but once you blow away the layers you are left with a virtual machine with a number of low level APIs. Most people won't want to use them.
Yes, I can see the advantage of rewriting those layers in terms of the lower level APIs, for example if the DOM API were to implemented in WASM, you could keep it out of the browser, and download only when/where needed (with a number of caveats, of course)...
The main issue is that even if you do that, I don't expect an API designed with JS in mind to be a good fit for Rust, and vice versa. The risk is that you end up programming not against the "Web Platform", but "WebJS platform", "WebRust Platform" etc."