~/talk

“Almost Unlimited Modern C++ in Kernel-Mode Applications”

Talkat CppCon 2017 · 2017-09-24..09-29· [embedded-and-hardware]
links:none on file
slides:none on file

Describes running Modern C++ on RTX kernel-mode where Visual C++ lacks DLL support and standard headers yield unresolved externals; fixes include providing a rand_s shim, custom thread library and trimmed filesystem/path implementations. Thread stacks are tiny (8KB thread stacks on RTX), std::thread and condition variables often fail, and thread‑safe static init can crash. Exceptions work but allocating during throw forces Windows bookkeeping and breaks timing. Implements MSR reads to build a private MSR-based PMU and links Fortran and Lua runtimes successfully.

AI-written summary · about

  1. 0:00Introduction to C++ in kernel
  2. 3:58Real-time OS challenges
  3. 9:19Freestanding vs hosted C++
  4. 10:08Random number generation issues
  5. 12:42File system limitations
  6. 15:53Threading support problems
  7. 18:30Stack size constraints
  8. 20:19C++ concurrency summary
  9. 21:54Static initialization issues
  10. 22:15Clock synchronization challenges
  11. 24:01Kernel clock manipulation
  12. 25:08Exception handling in kernel
  13. 28:25Debugging and stack traces
  14. 29:11Runtime module dependencies
  15. 30:18Other languages in kernel
  16. 32:25Bounds checking and MPX
  17. 34:15Performance monitoring options
  18. 35:41Summary and key takeaways
  19. 36:23Q&A session
~/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.