typeover
curriculum

Curriculum Concurrency Goroutines exercise 2 · mcq

Goroutines

Pick the statement that is TRUE about goroutines.

TypeScript reference
Pick the idiomatic Go translation

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.