~/lightning

Lightning Talk: Migrating from JS to WASM in production and living to tell the ta...

Lightningat Cloud Native Wasm Day Europe 2021 · on Tuesday, 2021-05-04· [webassembly, web-performance]
links:none on file
slides:none on file

Company migrates a client-side CDN load balancer from JavaScript to C++ compiled with Emscripten and deploys the WASM build to production, keeping one codebase for web, iOS, and Android. Design uses an actor/task scheduler so small tasks run on the browser event loop and on native threads, avoiding data races. Highlights: Emscripten flags: -Os, --profiling, --memory-profiler, --closure 1, Syncify doubles binary size and adds overhead, single-threaded browser constraints and web worker/SharedArrayBuffer limits.

AI-written summary · about

  1. 0:00Introduction
  2. 0:13Context
  3. 0:43History
  4. 1:24Motivations
  5. 4:14Project Architecture
  6. 5:21Code Based General Design
  7. 6:01Actor Model
  8. 7:22Debugging
  9. 7:57Useful flags
  10. 8:48Conclusion
~/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.