Contemporary C++ in action
summary
Builds a working server/client that decodes directory video files with libav, streams frame-by-frame over ASIO-based sockets, and renders via SDL using coroutines and C++23 features; uses modules to cut full‑stdlib compilation from ~2 seconds to ~15 ms, composes async ops into awaitable tuples with ASIO executors, and models shutdown with stop tokens and a guard. Code is live‑coded, compiles, runs, and the demo succeeds; highlights C++23 deducing this and generator-based infinite frame pipelines.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 3:47Contemporary C++ context
- 6:15Project design
- 11:23Video handling with libav
- 15:53Video frames with C++23 coroutines
- 26:48Synchronous vs async networking
- 34:12ASIO and coroutines
- 40:04Executors framework
- 47:05Stop sources and guards
- 50:26Server/client with coroutines
- 56:15C++20 modules
- 58:02Demo and conclusion
related talks
57mContemporary C++ in Action
01h 16mApplied C++20 Coroutines
01h 27mPowerful Data Processing Pipelines with C++20 Coroutines
01h 03mA C++ journey from old to modern - Modernising ObjectiveFrame
05mPostmodern Meta C++
01h 02mC++20 - My Favourite Code Examples
01h 35mC++20 – My Favourite Code Examples
01h 09mCombining Modern C++ and Lua
