~/talk

Getting Something for Nothing

Talkat RustConf 2018 · on Friday, 2018-08-17· [rust]
slides:none on file

Rust uses the type system and borrow checker to push hardware safety to compile time, modeling memory-mapped peripherals as singletons and typed state transitions so mutable aliasing is impossible. Tools shown include svd2rust for auto-generating register bindings, cortex-m singletons/RTFM for safe ownership, and embedded-hal traits for reusable drivers. Examples target nRF52-class microcontrollers with ~20–64 KB RAM and tens–hundreds MHz CPUs; abstractions are zero-cost (via zero-size types), generate no runtime overhead, and are already working in the ecosystem.

AI-written summary · about

  1. 0:00Start
  2. 21:07ENFORCE DESIGN CONTRACTS
  3. 21:23"NO RUNTIME COST"?
  4. 27:27THE TYPE SYSTEM
  5. 28:22RUST, CARGO, COMMUNITY
~/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.