Linux

Unwrap()Ing Rust on Embedded Linux – Thomas Sarlandie, Memfault



Unwrap()Ing Rust on Embedded Linux – Thomas Sarlandie, Memfault

In late 2022, we began migrating our embedded codebase from C to Rust, aiming to enhance feature development speed, code confidence, and coding enjoyment. This talk shares key lessons from this transition, aiding developers considering or adopting Rust. Highlights: Learning Curve: Insights into our experienced engineers mastering Rust, including time investment and key resources. Progressive Migration: Strategies for simultaneous C and Rust codebases. Rust Compilers & Yocto: Challenges of Rust integration into Yocto, ensuring compatibility across versions and architectures. Cross-Compiling Rust: Techniques for creating Rust binaries outside Yocto. Testing Practices: Evolved testing methods in Rust, from unit tests to qemu-based integration tests. Code Size Analysis: Comparing Rust and C code sizes, with strategies for optimization. The general availability of Rust represents a formidable opportunity for embedded developers. Join us to discover effective strategies for navigating this change, set new standards in the field and have more fun doing it!

[ad_2]

source

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button