~/talk

C++ in Constrained Environments

Talkat CppCon 2022 · 2022-09-11..09-16· [rust]
slides:none on file

Argues that practical C++ for constrained systems means concrete techniques not slogans: applies C++ Core Guidelines, moves work to compile time (example: integer-sqrt computed at compile time), uses span and chrono for zero‑overhead safety, shows variant replacing unsafe unions, details resource management via RAII and move semantics (vectors reallocate invalidating pointers, moves often cost ≤ six word copies), reports modules speeding builds by 7–80×, and urges executors, pattern matching, static reflection and better packaging.

AI-written summary · about

  1. 0:00Introduction
  2. 2:50Constrained Environments
  3. 4:33Complementary Approaches
  4. 5:42Tools and Language
  5. 6:49Complexity Management
  6. 8:58Misconceptions
  7. 12:21Design Principles
  8. 14:11Optimization and Measurement
  9. 15:15Performance Metrics
  10. 16:35Users and Tools
  11. 17:48C++ Pillars
  12. 18:56Low-level Stuff
  13. 19:36Hardware Mapping
  14. 20:45Memory Layout
  15. 21:31Machine Model
  16. 22:38Expressing Intent
  17. 23:36Variants and Unions
  18. 25:06Const Usage
  19. 25:40Initialization
  20. 26:47Bit Manipulation
  21. 27:28Zero-Overhead Principle
  22. 28:59User-Defined Types
  23. 30:27Resource Management
  24. 31:49Vector Example
  25. 32:27RAII Goals
  26. 33:26Compile-Time Moves
  27. 34:59Compile-Time Computation
  28. 36:56Chrono Library
  29. 37:55Compile-Time Types
  30. 38:21Span Usage
  31. 40:29Core Guidelines
  32. 41:02Guideline Purpose
  33. 42:20Guideline Framework
  34. 44:00Safety Guarantee
  35. 45:05Lifetime Safety
  36. 46:21Dangling Pointers
  37. 47:46Pointer Invalidation
  38. 49:22Moves and Factory
  39. 50:45Dangling Prevention
  40. 51:30Invalidation Prevention
  41. 52:27Container Safety
  42. 53:30Safety Summary
  43. 54:31Logical Error Avoidance
  44. 55:01Concurrency Guidelines
  45. 55:31Safety Feasibility
  46. 56:27Error Handling Policy
  47. 58:29Exceptions vs Codes
  48. 1:07:11Error Handling Cost
  49. 1:08:55RAII and Catch
  50. 1:10:11Fundamentals Summary
  51. 1:10:35Future Directions
  52. 1:12:10Language Goals
  53. 1:13:17Package Management
  54. 1:13:58Analysis Deployment
  55. 1:14:25Code Transformation
  56. 1:15:26Learning Resources
  57. 1:23:20Memory Safety Analysis
  58. 1:23:42Code Generation
  59. 1:24:24Compile Times
  60. 1:25:24Embedded Standards
  61. 1:26:22Hardware Access
  62. 1:27:46Learning C++
~/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.