typeover
curriculum

Curriculum Concurrency Goroutines exercise 7 · fill-line

Goroutines


About this theme

go fn() runs fn concurrently with the caller. That's it. No promises, no async/await, no event loop — the runtime multiplexes goroutines over OS threads. Cheap to start (kilobytes of stack). And the discipline: never start a bare goroutine whose lifetime you can't reason about.