~/talk

Unwrap()Ing Rust on Embedded Linux

Talkat Embedded Open Source Summit 2024 · 2024-04-16..04-18· [rust]
links:none on file
slides:none on file

Company migrates C to Rust progressively one file at a time, using C FFI via build.rs and the cc crate and keeping reproducible cross builds with cross (cross-rs). For Yocto use either meta-rust (builds compiler from source) or meta-rust-bin (prebuilt toolchain) depending on speed and distro. Measure size with cargo-bloat: initial hello world drops from ~4.4 MB to ~372 KB with stripping and size opts, going no_std can yield ~16 KB binary or 1.2 KB code section. Tests run from unit to qemu integration.

AI-written summary · about

  1. 0:00Rust on embedded Linux
  2. 3:37Toolchain and compiler support
  3. 7:51Building Rust with Yocto
  4. 14:18Adopting Rust in projects
  5. 18:52Rust learning resources
  6. 21:19Rust borrow checker
  7. 24:51Errors and panics in Rust
  8. 27:39Rust concurrency patterns
  9. 30:07Optimizing Rust binary size
  10. 37:11Choosing size-efficient libraries
  11. 39:1418 months of Rust lessons
  12. 40:00Q&A on dynamic linking
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.