Abstract
Go is designed to be simple, but the runtime is complex. To write truly high-performance code, you need Mechanical Sympathy—an understanding of how your code actually hits the metal.
This hands-on workshop pulls back the curtain on the Go compiler and runtime. We will move beyond "tips and tricks" to explore the underlying mechanics of Memory Allocations, Stack vs. Heap, and Goroutine Scheduling.
What we will do:
Analyze: Use Benchmarking and Profiling (pprof) to find real bottlenecks.
Understand: Deep dive into how the compiler handles escape analysis and inlining.
Optimize: Refactor code to work with the scheduler and memory allocator, not against them.
Stop guessing and start measuring. Leave with a mental model of how Go executes under the hood and the tools to prove it.