-
Book Overview & Buying
-
Table Of Contents
Practical Systems Programming in Go
By :
In this chapter, we shift from learning the language to understanding it. The novice asks what a language can do; the experienced developer begins to ask why it behaves the way it does. Advanced Go is about common Go misconceptions, the Go garbage collector and scheduler, GOGC, GOMAXPROCS, profile-guided optimization, reflection, interfaces, and generics. In this chapter, we also discuss dates, times, workspaces, modules, and packages. These topics are not merely a collection of features but the essential machinery that governs how Go programs interact with the OS and memory. By exploring why the scheduler distributes work across processors or why a specific interface implementation incurs overhead, we transform our intuition into a precise engineering discipline. Understanding the why behind these components allows a developer to predict how a system will behave under load, turning the runtime from a black box into a controllable environment. So, this chapter covers the...