SommR time in automotive
summary
A purely rust based SOME/IP stack is implemented end-to-end: a daemon/proxy core that maps N-to-M connections and successfully runs as a demonstrator (not yet production). Serialization uses Serde with a custom proc macro-generated SomeIP trait that encodes field IDs, max lengths and generates const metadata at compile time; IO uses async Tokio with Tokio tasks per connection actor-style concurrency, cancellation tokens from tokio-util, and careful socket setup. A custom test attribute macro automates E2E tests and raises coverage to about 80%.
AI-written summary · about
chapters (10)
- 0:00SommR time in automotive
- 1:55SOME/IP basics
- 3:40SOME/IP payload serialization
- 6:51Serde-based serialization with proc macros
- 13:04IO proxy for SOME/IP
- 16:16Async IO and concurrency hurdles
- 23:20Cleaning connections with cancellation tokens
- 25:05SOME/IP testing challenges
- 26:49Test macros with proc macros
- 29:19Q&A
related talks
29mRust: Embedded, Async, All the Way
50mHigh Performance Network Programming in Rust
35mAll aboard the Rust (electric freight) train!
34mMove fast and don't break things: High-performance networking in Rust
34mWhoops! I Rewrote it in Rust
28mRust and Scala, Sitting in a Tree….
21m"Actors and Factories in Rust"
41mCap'n Proto and Rust: Type Systems for Sharing
