~/talk

Web | C++

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

Small voting webservice is implemented with WebSockets and FlatBuffers, showing end-to-end code and benchmarks: uWebSockets: ~2 MB memory for 10,000 concurrent connections, FlatBuffers: about three orders of magnitude faster and far less memory-hungry than JSON, and implementation sizes differ (uWebSockets under 100 LOC, Beast ~400+ LOC, IncludeOS ~3 KB source). Compilation and iteration times favor uWebSockets (fast static link), Beast is template-heavy and slower, IncludeOS targets unikernel security but lacked a debug build in these tests.

AI-written summary · about

  1. 0:00Introduction to web and C++
  2. 2:12Web development cycle
  3. 6:33Example service showcase
  4. 8:31uWebSockets library
  5. 10:46Serialization with FlatBuffers
  6. 13:51Client-side implementation
  7. 15:31JavaScript pitfalls
  8. 17:54IncludeOS library
  9. 19:44Boost.Beast library
  10. 25:12Managing asynchronous state
  11. 30:45Library comparison
  12. 34:15Performance benchmarking
  13. 35:42Conclusion and Q&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.