~/lightning

C++ Hardware Register Access

Lightningat CppCon 2014 · on Sunday, 2014-09-07· [rust]
name:Ken Smith
links:none on file
slides:none on file

Claims a safer replacement for volatile derefs by modelling registers as templates with a mutability policy and a compile-time mask that yields compile errors for illegal ops (read-only vs write-only). Shows actual code and disassembly, reports reads compile to about 2–3 instructions and writes to 4–5 instructions. Demonstrates logging and desktop mocking of MMIO, requires optimization so policy calls inline, and links source and slides on the listed GitHub.

AI-written summary · about

  1. 0:00Start
  2. 1:02Common approach 1: raw volatiles
  3. 2:12Common approach 2: bitfields
  4. 2:51Features
  5. 3:12The proposal
  6. 3:51read
  7. 4:13write
  8. 4:53Usage
  9. 6:44Moar
~/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.