Skip to content
HomeVideos
AllLongsCategoriesPlaylists
BooksBlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K

    The Truth about Rust/WebAssembly Performance

    Greg Johnston

    2 HN recommenders · recommended in 7 months, 2023–2026

    YouTube

    29:47 · 218K views · Mar 17, 2023

    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.

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

    Software Engineering & LanguagesWeb developmentC, C++, Rust, Go & systems languagesSoftware performance & optimization
    1. 45:05
      Servo Architecture: Safety and Performancelinux conf au 2017 - Hobart, Australia12K views • 9 years ago
    2. 13:45
      A 10x faster TypeScriptMicrosoft Developer608K views • 1 year ago
    3. 35:42
      Progressive Performance (Chrome Dev Summit 2016)Chrome for Developers34K views • 9 years ago
    4. 52:54
      Rust at speed — building a fast concurrent databaseJon Gjengset225K views • 7 years ago
    5. 37:11
      CheerpX: a WebAssembly-based x86 virtual machine in the browser, Yuri IozzelliWebAssembly NA7K views • 6 years ago
    6. 1:13:41
      CppCon 2014: Chandler Carruth "Efficiency with Algorithms, Performance with Data Structures"CppCon235K views • 12 years ago
    7. 15:00
      Fastest browser engine by far at 500 FPS! Servo Webrender - CSS on the GPU part 1: Rust𝓖𝓷𝓸𝓶𝓮💫𝓢𝓪𝓷𝓮19K views • 10 years ago
    8. 56:23
      Speed Up Your JavaScriptGoogle TechTalks136K views • 17 years ago
    9. 0:14
      Chrome vs Firefox vs Safari vs Servo WebRenderJake Archibald121K views • 10 years ago
    10. 1:00:34
      High Performance Web Sites and YSlowGoogle TechTalks90K views • 18 years ago
    11. 36:16
      RustConf 2016 - A Modern Editor Built in Rust by Raph LevienConfreaks43K views • 10 years ago
    12. 29:51
      Keynote: What is a Component (and Why)? - Luke Wagner, Distinguished Engineer, FastlyThe Linux Foundation6.9K views • 3 years ago
    13. 42:15
      "Performance Matters" by Emery BergerStrange Loop Conference502K views • 7 years ago
    14. 13:39
      How is this Website so fast!?Wes Bos2.4M views • 2 years ago
    15. 1:16:58
      code::dive conference 2014 - Scott Meyers: Cpu Caches and Why You CareNOKIA Technology Center Wrocław231K views • 11 years ago
    16. 1:27:46
      CppCon 2014: Mike Acton "Data-Oriented Design and C++"CppCon863K views • 12 years ago
    17. 34:55
      "Outperforming Imperative with Pure Functional Languages" by Richard FeldmanStrange Loop Conference98K views • 5 years ago
    18. 40:34
      Charlie Marsh: uv: An Extremely Fast Python Package ManagerJane Street108K views • 2 years ago
    19. 1:00:58
      CppCon 2017: Chandler Carruth “Going Nowhere Faster”CppCon113K views • 9 years ago
    20. 48:46
      Rust's Journey to Async/AwaitInfoQ90K views • 6 years ago

    8 comments from Hacker News

    1. @theironhammerJul 2023· in “Ask HN: Real world Svelte speed difference compared to virtual DOM frameworks?”

      this 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 with the real DOM, whereas using the Signals model those frameworks make the change directly in the real DOM. I'm not sure how Svelte manipulates the DOM exactly but I it's similar to how it's done with Frameworks that use Signals such as Leptos and SolidJS. I would say Developer velocity is key if you're a developer. Svelte is a big winner here as it's mental model is easier to understand than React's.

      RecommendsView on HN
    2. @pdpiApr 2023· in “Can Rust Beat JavaScript in 2023?”

      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 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. this video

      RecommendsView on HN
    3. @rapnieAug 2023· in “Snappy UIs with WebAssembly and Web Workers”

      > if anyone tells you they need to use WebAssembly to make the UI snappy I'd advise you interrogate that assertion thoroughly. Get prepared to be blown away by Makepad [0]. I have no affiliation with them, but just watched their most recent conference presentation [1]. The slides were made with Makepad itself and included, embedded, a full-blown IDE, a synthesizer app, a Mandelbrot to zoom in endlessly, and more. All running at 120fps. The presentation is for the most part live-coding with this setup. What they want to do is bring coders and designers closer together, and while some code is in Rust they developed a DSL for the GUI parts that is close to how Figma works. These GUI's can run anywhere. And I couldn't help thinking "Why would people have complicated stacks to create Web 2.0 apps for the Google Web, when they have this?", in other words an opportunity to break out of the browser straitjacket. Btw. WebAssembly/WebGL isn't the only way in which Makepad is available. And while running well in the browser for a time, there were issues to be solved here (addressed in the presentation). And tbh this isn't a real answer to your assertion. Greg Johnston, creator of Leptos, has made a video with performance comparisons [2]. [0] [LINK] [1] [LINK] [2] this video

      CitesView on HN
    4. @tcfhgjMar 2026· in “Making WebAssembly a first-class language on the Web”

      > no DOM access meant the only viable use cases were compute-heavy workloads like codecs and crypto, no, it didn't mean that, because the overhead is not a deal breaker: 1) you don't have to do the glue code (libs can do it for you) 2) there's overhead due to glue, but the overhead is so small that WASM web frameworks easily can compete with fast JS frameworks in DOM heavy scenarios. Source: Analysis of the creator of Leptos (a web framework based on WASM): this video

      CitesView on HN
    5. @nanaianJan 2024· in “Web browser as GUI, with your preferred language in the backend”

      Wasm threads via SharedArrayBuffer have been a thing for like 5 years. In Rust you can use wasm-bindgen-rayon, for instance. DOM access is and has always been easily achieved through imports. It's performant, too: this video

      CitesView on HN