~/talk

To Make Code Fast, All You Need Is… ☠️

TalkinRussianat Golang Conf 2024 · 2024-12-02..12-03· [web-performance, compilers-and-language-design]
links:none on file
slides:none on file

Practical techniques for making Go programs faster by helping the compiler and avoiding common runtime pitfalls. Covers compiler-friendly code patterns, classic low-level optimization tricks that still apply to Go, and runtime nuances developers should account for to decide when and how to optimize.

AI-written summary · about

  1. 0:00Introduction
  2. 1:08Why optimize code
  3. 2:11Compiler flags
  4. 5:42String optimizations
  5. 7:48Unsafe and performance
  6. 9:35Function result location
  7. 11:21Using sync.Pools
  8. 13:27Matrix optimization
  9. 16:18Working with maps in Go
  10. 18:45Pointers to bools
  11. 20:33Calendar shift copy
  12. 21:38Loop unrolling
  13. 26:57Why inlining matters
  14. 33:41Struct alignment
  15. 37:11Quick quiz
  16. 38:59FlatBuffers vs Protobufs
  17. 39:19Q&A
~/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.