HackerTube

THE VIDEO SHELF · rust webassembly performance

The Truth about Rust/WebAssembly Performance

Leptos creator Greg Johnston examines Rust/WebAssembly frontend frameworks against JavaScript frameworks using the JS framework benchmark. He argues that WASM is no longer too slow for DOM-heavy rendering.

Why HN readers recommended it

Cited as evidence that DOM access is not the bottleneck for WebAssembly, and as an explanation of signals-based updates versus virtual DOM.

This is a summary from the source dataset, not an endorsement by Hacker News or the video creator.

Video & recommendation details

Creator / channel
Greg Johnston
Topic
rust webassembly performance
Format
talk
Level
intermediate
HN recommenders in dataset
2
HN mentions in dataset
8
Recommendation years in dataset
2023–2026

These counts and years describe the included Hacker News records; they are not YouTube views or the video’s publication date.

From the original HN conversations

Excerpts from the recorded comments. Follow each source for the full comment and surrounding discussion.

  • Greg Johnston, author of the Leptos framework, did a pretty good video about this a few weeks ago[0]. The TLDR is (of course): it depends. WASM has no native access to the DOM, so all DOM manipulations from wasm-land have to go through JS bindings …

    pdpi on Hacker News · 2023-04
    In Can Rust Beat JavaScript in 2023?
  • [VIDEO] This video might be helpful. Leptos uses Signals, borrowing ideas from SolidJS to update the DOM. There's no VirtualDOM like React. Svelte also doesn't use a VDOM. When there's a state change React has to rerender the entire VDOM tree and the diff it …

    theironhammer on Hacker News · 2023-07
    In Ask HN: Real world Svelte speed difference compared to virtual DOM frameworks?

Summaries, classifications and recommendation records are from the HackerTube source dataset. Read about this library and its limitations.