~/talk

"Discovery of Worst Case Go Sort Inputs"

Talkat Gopherpalooza 2019 · on Friday, 2019-11-08· [go, testing]
slides:none on file

Implements a genetic algorithm in Go that treats each input array as a genotype = array and measures fitness by how poorly sort performs (swap count / runtime), evolves populations with crossover and mutation, and avoids contention by using random per goroutine RNGs and preallocated result slots to eliminate mutex bottlenecks. Builds and ships via Docker on AWS (Batch / ECS), stores results in DynamoDB, and successfully discovers pathological inputs that force Go’s sorter into its worst-case fallback behaviors.

AI-written summary · about

  1. 0:00Introduction
  2. 1:15What would you do
  3. 1:47Genetic Algorithms
  4. 5:07Sorting and Go
  5. 7:30Building a Genetic Algorithm
  6. 14:32AWS Components
  7. 15:51VPC Components
  8. 18:34AWS Documentation
  9. 20:33AWS Permissions
  10. 22:05AWS CLI
~/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.