~/talk

Codegen your problems away - device-driver toolkit

Talkat RustWeek 2025 · 2025-05-13..05-17· [rust, embedded-and-hardware]
slides:none on file

Codegen tool that converts a YAML/DSL input into a Rust driver via a compiler-like proc‑macro pipeline, producing about 18,000 lines generated from a 2,100‑line spec (≈9× code savings). It models registers, commands and buffers, supports endianness and field conversions, exposes platform IO via a read/write trait, and ships with 97 tests and a documented 1.0 released Dec. Missing: multi‑register batch ops and dynamic‑length commands blocked by current const‑generic limits.

AI-written summary · about

  1. 0:00Introduction
  2. 1:53C++ to Rust for embedded
  3. 6:54Writing device drivers in Rust
  4. 12:17First toolkit version
  5. 15:53Rewriting as procedural macro
  6. 18:44Compiler-inspired architecture
  7. 21:36Version 1.0 and scaling
  8. 24:03Future improvements
  9. 26:31Call to action
  10. 27:14Q&A
~/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.