Sender/Receiver for embedded systems - The New C++ Event Framework
summary
Sender/Receiver is standardized for C++26 as a low-level asynchronous event framework with three completion channels (value, error, stopped), used internally at Meta/Nvidia but understood by only ~20 experts. It forces compile-time types and typically allocates state on the stack (examples show several hundred bytes per operation, problematic for ~400‑byte RTOS stacks), so embedded code often needs an environment allocator or coroutine wrappers that require a per-coroutine allocator. A proposed try_schedule prevents blocking in ISR-safe try operations.
AI-written summary · about
