News for hackers. Stuff that matters.
Re:Can Rust Beat JavaScript in 2023? by mrighele on Friday April 21, 2023 @05:58PM (#35660795)
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."

There are no comments on this comment yet.