IoT in Standard C++ with C++OS on Raspberry Pico W
summary
Proposal shows a concrete C++ networking API with three implemented interfaces: synchronous, std::execution async, and coroutine-based async; C++OS implements all of them on a Raspberry Pi Pico W using a Pico W SPI driver, lwIP and Dietmar Kuehl’s sender/receiver model. Demonstrations include a working TCP echo server via coroutines and a two-core audio streamer with packet and PCM queues; networking now works (audio quality is poor), coroutine frames measure several kilobytes and scheduler tasks use tiny stacks (~300 bytes), revealing real memory tradeoffs.
AI-written summary · about
chapters (11)
- 0:00Introduction to C++29 networking
- 3:18Synchronous vs asynchronous networking
- 8:43Sender-receiver model explained
- 14:49C++OS and execution contexts
- 24:20Synchronous TCP echo server demo
- 29:45Asynchronous networking with sender-receiver
- 33:47Coroutines for simpler networking
- 38:53Audio streaming with networking
- 47:08Implementation details and libraries
- 51:17Future of C++ networking standards
- 57:04Q&A and closing remarks
