Beginner Go (Golang)
Q5 / 100

What is a goroutine?

Correct! Well done.

Incorrect.

The correct answer is B) A lightweight, independently-executing function managed by the Go runtime

B

Correct Answer

A lightweight, independently-executing function managed by the Go runtime

Explanation

go f() launches f as a goroutine. Goroutines are multiplexed onto OS threads by the Go scheduler and are extremely cheap (2-8KB initial stack).

Progress
5/100