~/talk

Go-ing Further

Talkat Developer Summit 2020 · 2020-11-21..11-22· [go]
links:none on file
slides:none on file

A small pipeline reads a file of ~50 common passwords (demo trimmed to 20) and uses the bcrypt-like generateFromPassword call to hash each. Early code deadlocks when the main goroutine both writes and reads a channel; moving the producer to another go routines and adding a WaitGroup fixes it. Replacing the single processor with 10 worker goroutines cuts runtime from ~7s to ~4s (and under 1s locally), showing practical scaling and closure/close pitfalls.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 2:21Go routines and concurrency model
  3. 9:14Problem setup and first attempt
  4. 18:35Debugging the deadlock issue
  5. 26:53Fixing with WaitGroup
  6. 32:48Scaling with multiple processors
  7. 37:36Splitting read and process steps
  8. 46:17Refactoring into functions
  9. 51:42Key takeaways and summary
~/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.