~/talk

Craig's Angular/Rust Spectacular

Talkat ng-conf 2023 · 2023-06-14..06-15· [angular, rust]
slides:none on file

An Angular canvas lattice Boltzmann simulation is rewritten in Rust, compiled with cargo and wasm-pack and exposed via wasm-bindgen, replacing a 32 ms TypeScript step with roughly 600 microseconds per step in native Rust and sub‑16 ms frames in the browser via Rust + WASM, hitting 60 fps. Code uses typed arrays to avoid copies, a terminal renderer for benchmarks and a canvas bridge for the Angular app; result is concretely faster in practice for Radiator Springs style aerodynamic updates.

AI-written summary · about

  1. 0:00Angular and Rust intro
  2. 5:40Moving sim to Rust
  3. 13:02Rust memory management
  4. 17:38Rust vs TypeScript rendering
  5. 20:07WebAssembly for performance
  6. 22:32Summary
~/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.