arthrop0d

Brief articles on varied topics.

golang

12 articles tagged golang.

  1. Go Map Buckets, Tophash, and Incremental Growth

    How Go maps use bucket arrays, one-byte tophash metadata, overflow buckets, and incremental evacuation to grow without stopping lookups.

    golangalgorithmsperformance

  2. Go’s G-M-P Scheduler Model

    How Go maps goroutines onto threads and processors, balances run queues, and keeps other goroutines running during blocking system calls.

    golangconcurrency

  3. Go Interface Values, Method Sets, and Typed Nil Pointers

    Understand the type-and-value pair inside Go interfaces, how method sets provide satisfaction, and why a typed nil pointer can make an interface non-nil.

    golangsoftware engineering

  4. How Go’s G-M-P Scheduler Runs Goroutines

    How Go maps goroutines onto threads and processors using local queues, work stealing, preemption, and syscall handoff.

    golangconcurrency

  5. Go Escape Analysis and Stack versus Heap Allocation

    How Go’s compiler tracks references to place values on goroutine stacks or the heap, and why the choice affects allocations, garbage collection, and speed.

    golangcompilersperformance

  6. Go’s G-M-P Scheduler Explained

    How Go’s scheduler maps goroutines onto OS threads, uses processors, and steals work when blocking would otherwise stop progress.

    golangconcurrency

  7. Go’s Concurrent Garbage Collector

    How Go combines tri-color marking, write barriers, and brief pauses to reclaim unreachable heap objects while goroutines keep running.

    golangperformance

  8. Go Interface Values: Dynamic Types, Values, and Typed Nil

    Understand the type-and-value pair inside every Go interface and why an interface holding a typed nil is not itself nil.

    golangcomputer science

  9. The Go Scheduler’s G-M-P Model

    How goroutines, OS threads, processors, parking, wake-ups, and work stealing cooperate to keep Go code running efficiently.

    golangconcurrency

  10. Go Interface Values: Dynamic Types, Values, and Nil Pointers

    Go interfaces pair a dynamic type with a value, enabling method dispatch while making typed nil pointers different from nil interfaces.

    golangcomputer science

  11. Go’s Garbage-Collector Pacer and Mutator Assists

    How Go’s GC pacer budgets marking CPU and makes allocating goroutines help when concurrent collection falls behind.

    golangperformance

  12. Go’s G-M-P Scheduler

    How Go’s goroutines, OS threads, processors, run queues, and work stealing determine concurrency, latency, and throughput.

    golangconcurrencyperformance

← All tags