~/talk

pin-init: Solving Address Stability in Rust

Talkat Linux Plumbers Conference 2023 · 2023-11-13..11-15· [rust]
links:none on file
slides:none on file

Explains a concrete API that lets kernel code initialize pinned Rust values without unsafe code, demonstrating a working pin-init API used in Rust-for-Linux, showing examples that remove four unsafe blocks down to zero, and proving the approach is a zero-cost abstraction by comparing generated code to C. Covers how pin interacts with initialization and proposes pin projections (and general field projections) to safely access or mutate individual fields while preserving address stability.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 2:36Address stability and pinning
  3. 5:01The pin initialization API
  4. 11:36Q&A: Pinning and traits
  5. 12:52Field projections
  6. 18:58Final discussion and Q&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.