~/talk

Running in Parallel: NgRx with WebAssembly, Web Workers and Worklets

Talkat ngVikings 2019 · 2019-05-27..05-28· [webassembly, reactive-programming]

UI freezes from heavy computation are framed as a concrete problem and solved with code: offload sorting and Fibonacci/primes to Web Workers, wire worker messages into NgRx effects dispatch mapping so results become actions, and use Worklets (Paint/Animation/Audio) for off-main-thread rendering like a live QR-code background demo that runs in Chrome. WebAssembly is used via assemblyscript -> .wasm build, with explicit notes on linear memory, numeric widths, and that threads ≠ CPU cores so speedups are use-case dependent.

AI-written summary · about

  1. 0:00Intro
  2. 0:47RUNNING IN PARALLEL
  3. 2:45Topics
  4. 3:48One Thread
  5. 4:26Async
  6. 6:10Multi Thread
  7. 7:02Worker / Worklet
  8. 7:59Complicate Code
  9. 9:32UI Blocking
  10. 9:55Disappointed User
  11. 10:31Full-Duplex Communication
  12. 11:49Web Worker with CLI v8+
  13. 12:42Worker implementation
  14. 14:02NgRx Effects
  15. 17:37Available Worklets
  16. 19:52Half-Duplex Communication
  17. 20:51Create Worklet
  18. 21:22Load Worklet
  19. 21:39Use Worklet
  20. 22:10QR Code
  21. 24:13Available Options
  22. 25:28Install
  23. 26:00Build
  24. 26:45Basic function
  25. 28:46Load WASM module
~/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.