~/talk

Applied WebAssembly: Compiling and Running C++ in Your Web Browser

Talkat CppCon 2019 · 2019-09-15..09-20· [webassembly, c-and-cpp]
slides:none on file

Ported Clang and LLD to WebAssembly so a full C++ compile+link pipeline runs client-side in the browser, using a WASI-like capability layer, an in-memory filesystem and JavaScript shims plus wasm-time for native testing. Building touches about 12 source files and stubs ~28 POSIX functions, produces a clang binary ~50 MB (reduced to ~35 MB after optimization) and an lld ~28 MB, and only uses ~25 of the 45 WASI calls; the demo compiles and runs real C++ in-page via a worker and service worker caching.

AI-written summary · about

  1. 0:00Introduction
  2. 13:58What is WebAssembly
  3. 27:37WebAssembly capabilities
  4. 33:46WASI and toolchains
  5. 45:14Compiling Clang to WebAssembly
  6. 1:00:17Live demos
  7. 1:14:35Technical limitations
  8. 1:17:30Q&A
~/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.