~/talk

Zero Install Embedded CC++ Development Running GDB in the Browser with WebAssembly

Talkat TheiaCon 2024 · 2024-11-13..11-14· [webassembly, embedded-and-hardware]
slides:none on file

Claim: a full GDB-based embedded debug stack runs inside the browser so users get true zero‑install debugging. Implementation uses GDB compiled to WebAssembly via Emscripten, moves the debug adapter into the browser (TypeScript), adds a target remote ws:// mode plus webify for TCP bridging, and exposes hardware with WebUSB direct board access. A lightweight runtime — the web kernel with IO buffers, RPC via web workers and shared array buffers — bridges synchronous C/C++ code and asynchronous browser APIs. Chromium-only WebUSB and occasional extra latency remain.

AI-written summary · about

  1. 0:00Zero install embedded C++
  2. 1:47IDE setup versus zero install
  3. 3:54Cloud IDE for debugging
  4. 8:52Cloud to local debug stack
  5. 11:05Less machine installs
  6. 15:04Debug adapter in browser
  7. 16:50GDB in browser with WASM
  8. 22:13Zero install with WebUSB
  9. 24:00Synchronous WASM via Web Kernel
  10. 26:29Zero install benefits
  11. 28:37Browser limits and cross-platform
  12. 29:42Live debug demo
  13. 30:03Conclusion and future
~/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.