~/talk

Developing Kernel Drivers with Modern C++

Talkat NDC Oslo 2019 · 2019-06-17..06-21· [rust]
slides:none on file

Argues that modern C++ is practical for Windows kernel drivers and shows working patterns: override new/delete using ExAllocatePoolWithTag and placement new to run constructors, RAII wrappers (auto-lock, generic handle) to avoid leaks in nonpaged pool, a KString/KVector library, linked-list wrappers around LIST_ENTRY, and a component base with variadic templates implementing QueryInterface and refcounting with Interlocked; demonstrates PoolTagging, FAST_MUTEX, PoolMon, and that debugging requires a second machine.

AI-written summary · about

  1. 0:00Introduction
  2. 0:44Pavels background
  3. 1:29What is it about
  4. 5:05Memory Compression
  5. 7:32User Mode vs Kernel Mode
  6. 11:32Interrupt Request Level
  7. 16:38No Runtime
  8. 17:29Kernel Space
  9. 18:22Resource Acquisition
  10. 21:22Mutex
  11. 22:03Implement Mutex
  12. 25:46Memory Allocations
  13. 31:15Overrides
  14. 33:35PlacementNew
  15. 36:25String Types
  16. 38:55String Classes
  17. 41:13Vector Classes
  18. 44:56Examples
  19. 47:24Components
  20. 50:50Example
~/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.