Go
42 notes
Some notes are currently available only in Chinese. English translations are shown when available.
- Go Build Processhistorical
From parsing and type checking through SSA/optimization, code generation, linking, modules, and build cache.
- Go Memory Managementhistorical
Stacks, heap, allocation, escape analysis, garbage collection, and observable memory metrics.
- Go/Plan 9 Assemblyhistorical
Reading Go assembler syntax, ABI-sensitive registers, stack frames, and generated machine code.
- Memory Alignment in Gohistorical
Alignment, padding, struct layout, cache effects, and portable reasoning about field order.
- 3.7 Go Garbage Collectionhistorical
Go's concurrent tracing garbage collector, mark/sweep phases, write barriers, GC pacing, GOGC, memory limits, observability, and tuning priorities.
- Go Stack Managementhistorical
Small growable goroutine stacks, stack growth, copying, and escape-driven heap allocation.
- Go Heap Managementhistorical
Go runtime heap allocation, size classes, spans, per-P caches, sweeping, and GC interaction.
- Unit Testing in Gohistorical
Testing package conventions, table-driven tests, subtests, race checks, fuzzing, and maintainable boundaries.
- 4.2 pprofhistorical
Profiling Go programs with CPU, heap, allocation, goroutine, mutex, and block profiles, plus a measurement-first workflow for finding performance bottlenecks.
- Go Benchmarkshistorical
Writing repeatable Go benchmarks and interpreting time, allocations, variance, and compiler effects.