~/talk

Embrace Modern Technology: Using HTML 5 for GUI in C++

Talkat CppCon 2019 · 2019-09-15..09-20· [web-platform]
links:none on file
slides:none on file

Argues that HTML5 can serve as a native C++ GUI and demonstrates three concrete approaches: a local HTTP server with WebSockets using libraries like Boost.Beast (demo: WebSocket echo and a localhost file browser that reconnects), embedding Chromium/WebKit via CEF/Electron with C++↔JavaScript bindings (uses jsbind; demo: single-binary file browser and remote devtools), and custom renderers (Ultralight/Coherent) including an off-screen OpenGL with HTML overlay example. Shows it works but notes sandboxing, IPC overhead, Chromium memory cost, and workflow tradeoffs.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 10:10HTML5 as GUI framework
  3. 17:53Local HTTP server approach
  4. 27:15Embedding browser in C++
  5. 42:54Custom rendering and WebGL
  6. 51:42Custom HTML renderers
  7. 54:54Q&A and demos
~/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.