~/talk

Scalable Coding—Find the Error

links:none on file
slides:none on file

Shows concrete failures and fixes: regex backtracking can explode latency (a hand-rolled split is ~8× faster than the regex example), throwing an exception costs about 7 µs (~200k CPU cycles) and at scale turns microcosts into outages, and a million-run comparison yields ~2 ms vs ~70 s for error-code vs expensive path in the demo. Recommends measurable fixes: use enums/constants instead of hardcoded strings, make operations idempotent or queue-based for creates, prefer SLO-embedded alerts, and always benchmark libraries and error paths.

AI-written summary · about

  1. 0:00Start
  2. 3:21Code Reviews
  3. 4:48Regular Expressions
  4. 9:05Exceptions vs Error Codes
~/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.