Curriculum Concurrency Goroutines exercise 4 · fill-word
Goroutines
Type the keyword that launches a function call as a goroutine.
TypeScript has no single-keyword equivalent — closest is
queueMicrotask(fn) or setTimeout(fn, 0), neither of which
produces true parallelism. Go's keyword is two letters.
TypeScript reference
Fill the blanks →
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.