arthrop0d

Brief articles on varied topics.

golang

7 articles tagged golang.

  1. 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

  2. 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

  3. 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

  4. 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

  5. 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

  6. 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

  7. 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