~/talk

Type safe C++? LOL!

Talkat NDC TechTown 2018 · 2018-09-27..09-30· [typescript]
slides:none on file

A bug mixes two uint32 IDs and fails to compile until each becomes a distinct strong type, so code prevents using a request ID vs receiver ID bug at compile time; a simple safe_type template (tagged typedefs / CRTP macro) proves practical. The talk demos github libraries typesafe::strong_type and named_type, shows 24‑bit slot‑count serialization, and measures zero overhead — sometimes faster due to aliasing rules.

AI-written summary · about

  1. 0:00Start
  2. 1:54Type Safety the Extent to Which a Programming Language Discourages or Prevents Type Errors
  3. 15:01Typesafe Library
  4. 22:02Questions
  5. 23:44Slot Ranges
  6. 27:10Encapsulation
  7. 28:04Overload Functions
  8. 33:50Pointer Arithmetic
  9. 34:26Affine Space
  10. 35:30Test Code
  11. 43:39Aliasing
~/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.