~/talk

Abstraction Patterns for Cross Platform Development Using C++

Talkat CppCon 2023 · on Friday, 2023-10-06· at 10:30· Cottonwood 2/3, 6700 North Gaylord Rockies Boulevard· [rust]
links:none on file
slides:none on file

Compares concrete abstraction techniques and shows working examples: uses Vulkan vs DirectX12 backends, demonstrates preprocessor macros, runtime polymorphism, and a pimpl + handles approach, then solves ODR by selecting per-platform CPPs with a metabuild system (Cake/CMake style) and finally packages implementations as shared libraries loaded from a JSON config. Claims macros are fragile, virtual calls cost a vtable lookup, pimpl avoids header leaks but breaks ODR, and the demo successfully launches windows for DX12 or Vulkan by loading the chosen DLL at runtime.

AI-written summary · about

  1. 0:00Introduction and background
  2. 4:03Overview of topics
  3. 6:24Defining cross-platform
  4. 9:29Why use abstraction layers
  5. 12:07Preprocessor macros
  6. 19:45Runtime polymorphism
  7. 29:35Pimpl and handles
  8. 40:27Meta-build systems
  9. 47:13Runtime implementation swapping
  10. 58:00Tips, tricks, and conclusion
~/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.