~/talk

The Right Amount of Abstraction

links:none on file
slides:none on file

Compares concrete C++ patterns—register wrappers, function wrappers, template static, template objects, constructors, and virtual interfaces—measures code size and shows optimized builds match the C baseline (about ~50 bytes in his tests) while unoptimized and global virtual setups blow up; global vs local instantiation changes whether the optimizer removes indirection, and ARMv6 often optimizes away virtual layers while ARMv5 sometimes does not. Uses UML/Rhapsody code generation to produce GPIO drivers and a stopwatch app that runs in simulation and on the LPC1768 target, proving the model-driven approach works.

AI-written summary · about

  1. 0:00Introduction
  2. 0:20Abstraction in C
  3. 3:10UML Code Generation
  4. 3:55Should I use C
  5. 4:24Arm Controllers
  6. 8:17Goals
  7. 11:40How to Abstract
  8. 13:31Code Samples
  9. 14:13Benchmarks
  10. 16:47Functions
  11. 19:06Digital IO
  12. 19:55Template IO
  13. 23:47No constructor
  14. 30:57The Digital IO
  15. 36:19Example
  16. 39:35Discussion Round
  17. 40:14Solutions
  18. 41:59Framework
  19. 46:28Scheduling
  20. 49:03UML Architecture
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.