~/talk

Windows linked lists in safe and idiomatic Rust

Talkat EuroRust 2022 · 2022-10-13..10-14· [rust]
slides:none on file

A Rust crate called nt-list crate implements Windows LIST_ENTRY/SINGLE_LIST_ENTRY with a safe high-level API and an unsafe fallback for multi-list ownership, using the moveit crate to initialize a pinned list head, proc-macros to derive offsets and element traits, iterator and retain helpers that replace error-prone C loops, and a boxed-attribute fast path for heap-owned single-list elements; code scans show 644 occurrences in ReactOS and the implementation debugs correctly with the Windows debugger, proving C compatibility.

AI-written summary · about

  1. 0:00Start
  2. 0:30SPEAKER INFO
  3. 4:06DON'T USE LINKED LISTS!
  4. 10:05WINDOWS LINKED LISTS
  5. 11:40BASIC EXAMPLE
  6. 11:51COMPLEX EXAMPLE
  7. 14:48CHALLENGES
  8. 24:38FINAL IMPLEMENTATION
  9. 25:52ITERATING
  10. 27:48REMOVING
~/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.