~/talk

Service Workers + WebAssembly

Talkat JSCamp 2018 · on Friday, 2018-07-20· [webassembly]

Concrete demo: a service worker fetches .webp, runs a compiled WebAssembly decoder (via Emscripten), copies decoded RGBA out of the WASM heap and returns a generated BMP/PNG blob so browsers without native WebP render the image. Problems: off‑screen canvas APIs differ and crash in Firefox, many memory copies add overhead, and workers can be killed so modules must be reloaded. The prototype works in Chrome and in Firefox with caveats.

AI-written summary · about

  1. 0:00Start
  2. 3:21Webassembly
  3. 4:05Common Misconceptions about Web Assembly
  4. 6:57Google Earth
  5. 8:30What Is Web P
  6. 9:46M Script
  7. 10:58First Javascript Code
  8. 14:12Approach
  9. 15:03Off-Screen Canvas
  10. 24:37Serviceworker
  11. 25:50Generate a Library in C
~/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.