typeover
curriculum

Curriculum Concurrency Goroutines exercise 8 · freeform

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.