To Make Code Fast, All You Need Is… ☠️
summary
Talk examines optimizing Go programs by helping the compiler and using classic low-level tricks; it covers compiler-assisted optimizations, Golang runtime nuances to consider during development, and practical techniques to avoid premature or ineffective optimizations.
AI-written summary · about
chapters (18)
- 0:00Welcome
- 1:11Why optimize code
- 2:55Compiler flags
- 6:04String optimizations
- 8:59Pointer speedups
- 10:00Memory locality
- 11:30Object pools
- 16:04Go map types
- 18:52Boolean field packing
- 20:39Calendar array shift
- 21:42Loop unrolling
- 27:01Function call overhead
- 33:37Struct alignment
- 37:09Quick listener poll
- 38:13Protobuf benefits
- 45:37Real optimization examples
- 49:31I/O optimization
- 52:57Q&A
related talks
40mSqueezing Maximum Performance Out of Go
34mGolang: Specific Performance Issues
29mOptimizing Go Code Without a Blindfold
39mIs Go A Good Language to Build Compilers?
01h 02mKeeping it Simple With Go
26mGo is Boring... And That's Fantastic!
48mClear Is Better Than Clever - What Makes Go Stand Out
25mThings in Go I Never Use
