~/talk

Craig's Amazing Rust Spectacular

Talkat NDC Sydney 2024 · 2024-02-12..02-16· [rust]
slides:none on file

TypeScript lattice Boltzmann fluid sim is ported to Rust, built with cargo and measured: JS sim runs ~32 ms/frame, Rust native runs ~13 ms/frame, so about 3x faster. Renderer prototype targets terminal for raw speed, then Rust compiles to WebAssembly using wasm-pack and exposes memory; the browser reads the Rust heap via a Uint8Array memory buffer and paints a canvas, achieving sub‑16 ms frames and real‑time 60 fps.

AI-written summary · about

  1. 0:00Welcome and speaker introduction
  2. 1:30Sponsor message and Lightning McQueen setup
  3. 2:36Aerodynamic simulation challenge for Lightning
  4. 4:44Current TypeScript simulation performance issues
  5. 9:02Why Rust could solve the performance problem
  6. 11:55Key differences between TypeScript and Rust
  7. 18:34Converting simulation code from TypeScript to Rust
  8. 23:29Understanding Rust’s ownership and borrowing
  9. 26:40Rendering simulation results in Rust
  10. 29:51Performance comparison Rust vs TypeScript
  11. 30:35Compiling Rust to WebAssembly for the browser
  12. 34:36Live demo of Rust WebAssembly simulation
  13. 36:03Summary and Lightning McQueen’s success
~/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.