Rewriting a Component from C to Rust
summary
A developer describes rewriting a small ~2000-line C component in Rust after hunting a compilation-dependent bug for days; the talk covers the original C implementation’s issues, the rewrite process done in a single afternoon, and how Rust fixed the bug, improved test ergonomics, and reduced CPU usage. The presentation mentions embedded/bare-metal context and compares benefits of using Rust versus C for firmware/driver-like code.
AI-written summary · about
chapters (6)
- 0:00Introduction
- 1:04Industrial context
- 3:13Rewriting reasons
- 7:50Rust vs C
- 11:21Bugs fixed
- 14:35Rust adoption tips
related talks
42mRewrite It In Rust: Can We RIIR Everything?
39mFrom C to Rust: Bringing Rust Abstractions to Embedded Linux
05mOxidize Lightning Talks – Massimiliano Mantione
21m“Fearless Refactoring & the Art of Argument-Free Rust”
54mUnwrap()Ing Rust on Embedded Linux
41mWe can have nice things
26mIntroducing Rust into a Legacy Embedded System
22mFearless Refactoring
