Migrating a an embedded C application to Rust
In this workshop we'll do a step of step migration of an embedded C application to Rust. Avoiding a full re-write, we'll show you how C and Rust can co-exist, and how to gradually migrate individual components from C to Rust.
- Sept 22Magazinet Kongsberg1 day07:00 - 15:00 UTCEivind Bergem-
Starting with an existing embedded C application, we'll convert the build system to cargo. We'll then see how to call C from Rust and vice versa. We'll look at several strategies for how to do the migration, including starting from main and working down, and starting from the drivers and working up. In addition, we will look into how to setup testing for embedded projects using Rust's built-in test framework.
At the end of this workshop you'll have a good overview over the steps required to perform a migration, as well as hands-on experience.
This workshops expects participants to have experience with embedded C, as well as some exposure to Rust.

Eivind Begem is an embedded software developer working at Inventas, where he is the annoying guy at the office who never stops talking about Rust.