Series

Building ch: Small Channel Helpers From First Principles

A practical series on building a small Go utility library around channels, controlled communication, cancellation-aware helpers, and concurrency helpers that stay honest about what they are solving.

6 articles

Building ch: Why Small Channel Helpers Matter in Go

An introduction to the Building ch series: why small channel helpers are worth building, which repeated coordination problems they solve, and why the goal is not to hide Go behind a framework.

Read article →

Building ch.Send: Controlled Communication Between Goroutines

A practical look at why a small helper like ch.Send exists at all: not to hide channels, but to make blocking sends cancellable and explicit.

Read article →

Building ch.Receive: Cancellation-Aware Reads

A practical look at why a helper like ch.Receive exists: not to hide channel reads, but to make blocking receives cancellable and explicit.

Read article →

Building ch.Read: Context-Aware Channel Reading in Go

A practical look at how a helper like ch.Read emerges from repeated context-aware receive loops and turns them back into normal rangeable channels.

Read article →

Building ch.Merge: Fan-In Coordination in Go

A practical look at how a helper like ch.Merge emerges from repeated fan-in coordination code, closed-channel handling, cancellation, and producer/consumer ownership rules.

Read article →

Building ch.Broadcast: One Event, Multiple Consumers in Go

A practical look at how a helper like ch.Broadcast emerges from one input, many outputs, blocking sends, backpressure, and cancellation-aware channel coordination.

Read article →