~/talk

Tier 3 Means Getting Your Hands Dirty

Talkat RustFest Global 2020 · 2020-11-07..11-08· [rust]
links:none on file
slides:none on file

A simple AVR blinky plus button example intermittently fails; swapping an unwrap for map_err(|_| ()), or toggling inlining, makes the bug appear or disappear. Reproduction uses cross-compile builds, rustc flags like emit llvm-ir, simavr traces and emitted assembler to inspect an unexpected alloca and a mismatched prologue/epilogue where the frame pointer restore bug runs after pops. The root is in LLVM, a patch is written, landed in LLVM and then cherry-picked into Rust, and the fix makes the example work.

AI-written summary · about

  1. 0:00Start
  2. 22:33DEBUGGING A MICROCONTROLLER
  3. 23:02NAIVE DEBUGGING
  4. 23:52SIMULATING A MICROCONTROLLER
  5. 26:56BLINKY W/ BUTTON
  6. 53:46NEXT STEPS
~/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.