The Truth about Rust/WebAssembly Performance
Greg Johnston · 2 位 HN 用户推荐 · 2023–2023
WASM has no native access to the DOM, so all DOM manipulations from wasm-land have to go through JS bindings with all the (de)serialisation costs that go with crossing the language boundary. That eats up a lot of whatever performance gains you'd see from rust-on-wasm for pure compute. 0. [link]
— pdpi, 2023[1] [link] [2] [link]
— rapnie, 2023