~/talk

Web | C++

Talkat CppCon 2017 · 2017-09-24..09-29· [web-platform, c-and-cpp]
slides:none on file

Compares three C++ WebSocket stacks by building a working straw‑poll service that uses FlatBuffers for zero‑copy messages and a static HTML/JS client; measures code size (uWebSockets ~1.6 KB, IncludeOS ~3 KB, Beast ~9 KB; uWebSockets <100 LOC, Beast >400 LOC), compile/iteration times, and memory under load. Shows uWebSockets handling 10,000 concurrent connections with only ~2 MB extra RAM, IncludeOS as a bootable ~1 MB unikernel option, and Beast as a low‑level, multi‑threaded but template‑heavy solution. Gives concrete APIs, lifetime and async write strategies, and microbenchmark numbers.

AI-written summary · about

  1. 0:00Intro
  2. 1:17ROADMAP
  3. 2:57ADVANTAGES
  4. 3:41CHALLENGES
  5. 6:33EXAMPLE SERVICE
  6. 11:16VALIDATION
  7. 11:49SCHEMA
  8. 13:52CLIENT
  9. 17:02IMPLICIT CONVERSIONS
  10. 22:12CYCLIC CALL GRAPH
  11. 30:45EXAMPLE CODE SIZE
  12. 31:25EXAMPLE COMPILE TIME
  13. 35:01MEMORY USAGE USER SPACE
  14. 36:01KEY STRENGTH
  15. 37:43FUTURE
~/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.