~/talk

Type-safety in low-level programming: Modern C++ in game console emulators

Talkat NDC Oslo 2018 · 2018-06-11..06-15· [rust]
slides:none on file

Modern C++ (C++11 with C++17 features) generates type-safe IPC glue for the Nintendo 3DS emulator, turning function signatures into runtime serializers that decode/encode command blocks without handwritten offsets. Using function traits, C++17 constexpr if and parameter pack expansion/fold expressions, the system handles ~40 services with ~30 commands each (≈1200 handlers), removes boilerplate, enforces input validation, compiles to optimal code and runs with no measurable performance penalty.

AI-written summary · about

  1. 0:00Introduction
  2. 0:47Who am I
  3. 2:35What is this about
  4. 6:38Emulation
  5. 10:25Examples
  6. 13:23Example
  7. 15:58Nintendo 3DS
  8. 19:39Process communication
  9. 20:17Clientserver architecture
  10. 21:41Read file example
  11. 24:34Read file implementation
  12. 28:50Active processes
  13. 33:21Advantages
  14. 34:04Implementation
  15. 36:08Recursion
  16. 37:15Generating the code
  17. 40:56Constant exper
  18. 43:18Decode
  19. 45:28Demo
  20. 48:43Encoding
  21. 50:16Oneliner
  22. 52:16Collaborative interface
  23. 54:30Template structure
  24. 55:58Generator structure
  25. 56:54What is this for
  26. 59:30Decouple
~/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.