~/talk

Building polyfills in WebAssembly

Talkat Future Frontend 2024 · 2024-06-13..06-14· [web-platform, webassembly]
github:sffc
slides:none on file

Claims that ECMA-402 features can ship early by packaging ICU4X as a WebAssembly ponyfill and show concrete results: a grapheme cluster segmenter compiled from Rust with Diplomat and C FFI runs in Node 22 and segments a 100,000‑character string in about 7 ms versus ~35 ms for a pure JS implementation, and swapping ICU for C to ICU4X halved a Skia wasm dependency that once consumed ~20% of the bundle, so the wasm ponyfill is small and fast.

AI-written summary · about

  1. 0:00Introduction
  2. 1:29Internationalization challenges
  3. 2:55i18n stack: Unicode, CLDR, ICU, ECMA 402
  4. 3:59ECMA 402 task group role
  5. 6:09ICU forx and design goals
  6. 7:14ICU forx performance benefits
  7. 8:59ICU forx on servers
  8. 9:42Polyfills vs ponyfills
  9. 10:46ICU forx as ponyfill
  10. 11:30ICU forx with WebAssembly
  11. 12:35WebAssembly bindings deep dive
  12. 13:40Live demo: ICU forx
  13. 16:52Performance vs native ECMA 402
  14. 17:58Live demo results
  15. 19:41WebAssembly pain points
  16. 20:42Conclusion
~/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.