Building Effective Embedded Systems in C++: Architectural Best Practices
Talkat CppCon 2023 · on Friday, 2023-10-06· at 13:30· Cottonwood 8/9, 6700 North Gaylord Rockies Boulevard·
summary
Argues concrete rules: choose an OS only for complex soft‑real‑time systems, avoid it when strict (<~5 ms) timing is required, keep threads to a minimum, and separate logic from drivers so unit tests avoid heavy mocking. Shows a CAN/UART/cellular communication unit that uses SQLite on SD as a persistent send queue, a light message format with prefix length CRC sequence id, and Python monitoring. Demonstrates a simulator reproduces 6k+ meters and an 850 msg/s bottleneck on the PC, then reaches ~10k meters with software fixes.
AI-written summary · about
chapters (11)
- 0:00Embedded systems best practices
- 1:45Operating systems in embedded
- 6:27Minimizing threads for reliability
- 12:29Separating logic from hardware
- 18:12Disconnecting logic from network
- 22:45Robust communication protocols
- 29:10Simulators for testing
- 38:31Logging strategies
- 42:49Error monitoring
- 47:46Architectural best practices summary
- 48:28Q&A
related talks
55mC++ in the World of Embedded Systems
51mBoosting Software Efficiency in C++: 100% Performance Improvement in a C++ Embedded System
57mDeeply Embedded C++
55mComprehensive Testing of Embedded Software
01h 38mEmbedded & C++
01h 01mC++ Sender Patterns to Wrangle C++ Concurrency in Embedded Devices
55mC++ on small micro controllers
01h 05mThe Speed Game: Automated Trading Systems in C++
