~/talk

webpack and the Challenge of WebAssembly

Talkat RuhrJS 2018 · on Saturday, 2018-10-13· [webassembly, frontend-architecture]
github:sokra
slides:none on file

webpack integrates WebAssembly by treating .wasm modules as part of its JavaScript module graph, but faces concrete interoperability and lifecycle issues: timing of the imports object (imports are only available after instantiation), engine-specific differences in compilation/instantiation order, and lack of support for exporting memory/tables in some browsers. The talk describes race conditions for globals and function bindings when modules load, trade‑offs between synchronous and asynchronous instantiation for performance, and the need for wrappers, fallbacks, parallel compilation orchestration, and feature‑flagged workarounds while implementation remains work‑in‑progress with partial browser support.

AI-written summary · about

  1. 0:00Webpack and WASM intro
  2. 8:34Early WASM challenges
  3. 14:02Import/export compatibility
  4. 20:14Global scope issues
  5. 25:48Memory management
  6. 30:26Integration and performance
  7. 35:16Shared memory security
  8. 41:01Usability and caching
  9. 47:16GSoC contributions
  10. 49:58Conclusion
~/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.