~/talk

JavaScript Won the Web, Rust Is Taking the Critical Path

Talkat CascadiaJS 2026 · 2026-06-01..06-02· [rust, javascript]
slides:none on file

Argues that JavaScript stays dominant for UIs while Rust moves onto the real bottlenecks: latency, memory, safety, and predictability. Cites Cloudflare’s Pingora proxy handling over 1 trillion requests per day at one third the CPU and memory, Discord’s Rust rewrite to eliminate GC latency spikes for read states, Shopify using WebAssembly sandboxes, and compile-time DB checks with SQLx. Describes the runtime model with Tokio, where futures are polled and resumed, and recommends a hybrid TypeScript frontend plus Rust core for critical paths.

AI-written summary · about

  1. 0:00Introduction & A Rust Talk at CascadiaJS
  2. 1:41JavaScript Won the Web
  3. 3:04When Web Development Becomes Infrastructure
  4. 5:34The Modern Web Stack Has Different Priorities
  5. 6:33Why Rust Excels on the Critical Path
  6. 8:35Cloudflare's Pingora: Rust at Massive Scale
  7. 9:35Discord's Rewrite for Predictable Latency
  8. 10:59Shopify, WebAssembly, and Safe Sandboxes
  9. 12:14The Rust Web Stack Explained
  10. 14:18Tokio and Rust's Async Runtime
  11. 15:59How a Rust Web Request Flows
  12. 16:47SQLx and Compile-Time Database Validation
  13. 18:07Where Rust Wins (and Where It Doesn't)
  14. 19:35The Real Cost of Adopting Rust
  15. 20:24Rust vs JavaScript, Go, and Java
  16. 22:07A Practical Hybrid Architecture
  17. 24:46Rust Owns the Critical Path
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.