~/talk

When Idioms Become Bottlenecks

Talkat Golang UK 2016 · on Thursday, 2016-08-18· [software-architecture]
links:none on file
slides:none on file

Explores concrete cases where Go idioms hurt performance: uses unsafe slice-to-string conversion and reverse conversion to avoid garbage, uses unsafe pointer for zero-allocation generic data to skip interface allocations, and replaces crypto paths with hand‑written assembly encryption to cut allocations ~200x and CPU ~7x. Builds a lock-free bounded MPMC queue with a custom blocking primitive, benchmarks on a 48‑core machine show much higher throughput but increased CPU use and wildly unpredictable tail latency.

AI-written summary · about

  1. 0:00Intro
  2. 0:50About me
  3. 3:15Slices to strings
  4. 5:12Unsafe
  5. 11:08Queues
  6. 13:59Sink Condition
  7. 14:52Alternative vs Channels
  8. 15:38Lets Bench
~/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.