~/talk

Keeping it Simple With Go

Talkat NDC Oslo 2017 · 2017-06-14..06-16· [go]
links:none on file
slides:none on file

Argues Go trades expressiveness for simplicity and explicitness, giving concrete advantages: arrays are value types and slices are lightweight views, methods can attach to base types, and structural typing plus embedding replaces fragile inheritance. Shows fast builds with go get/go build and demonstrates an arena allocator implemented in Go to keep nodes contiguous; contiguous layout reduces cache misses (example: fragmented layout yields ~4 misses vs 1–2 for packed data), so manual memory layout control measurably improves CPU-bound performance.

AI-written summary · about

  1. 0:00Intro
  2. 1:13Main Topics
  3. 4:26Simple as a Philosophy
  4. 7:07Parsing and Tools
  5. 14:38Creating an Empty Slice
  6. 17:11Defining new Types
  7. 19:09Inheritance Hierarchies
  8. 21:27Fragile Base Class
  9. 26:31Defining and Implementing an Interface in Go
  10. 28:15Structural Typing
  11. 29:14Versatility of Structures
  12. 31:39Embedding vs Inheritance
  13. 38:40Dependency Analysis in Go
  14. 41:06Memory Layout Matters
  15. 41:59Overhead Imposed by Classes
  16. 44:03Fragmented Memory
  17. 49:06Arena Allocator for Binary Tree
  18. 56:31Building and dependencies
~/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.