~/talk

Adopting JavaScript on WebAssembly at Shopify

links:none on file
slides:none on file

Shopify ported JavaScript to server-side WebAssembly by bundling TypeScript with webpack and javi into index.wasm, pre-initializing the QuickJS runtime with Wizer to snapshot engine and app state, then running modules under Wasmtime. Startup time improves roughly 50%; complex scripts meet a 5 ms SLO, though JavaScript runs ~400–600 μs slower than AssemblyScript in some numeric/string benchmarks and regex runs about twice as fast. The pipeline produces reproducible wasm artifacts and works in production.

AI-written summary · about

  1. 0:00Start
  2. 3:16Exclusively for WebAssembly
  3. 3:44Runtime dependency
  4. 4:21The Road to JavaScript
  5. 10:53How does this apply to JavaScript
  6. 16:43Trade-offs (performance)
~/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.