Rust at Volvo Cars
summary
Volvo Cars ships an ECU fully written in Rust for the SPA2 EV platform, developed by 6–10 engineers into production for Polestar 3 in 2024. Firmware runs on a Microchip ATSAME51 Cortex‑M4 with Arctic OS, about 90,000 lines of Rust in a ~170,000 line codebase plus ~70 third‑party crates, validated on custom PL2.0 hardware in CI, yielding 23 externally found issues (~0.25 bugs/KLOC) and a successful production rollout.
AI-written summary · about
chapters (16)
- 0:00Introduction
- 2:41Frustration to Rust adoption
- 8:06First Rust-based ECU
- 13:12Low-power processor in Rust
- 16:25Hardware for Rust firmware
- 19:40First UDS server in Rust
- 20:22Production readiness 2023
- 22:28Polestar 3 production release
- 24:15Results and productivity gains
- 27:29Bug rates and quality
- 30:01Challenges and learning curve
- 31:24Rust in automotive future
- 33:54Safety-critical Rust certification
- 37:31Correct by construction
- 40:23Safety versus security
- 43:36Q&A
related talks
27mRust at Volvo Cars
42mRust: Batteries Included — Inside Volvo Cars' EV Battery
07mLightning Talk: “How Rust Is Steering Automotive Software Toward Safety”
40mRust for large-scale automotive applications
17m"Rust in Legacy Regulated Industries"
35mAll aboard the Rust (electric freight) train!
56mRust for Safe and Scalable Automotive: Insights from
25mContinuous compliance with Rust in automotive software
