Why Go?

Knowledge Videos

Short animated explainers, organised by subject.

Why Go?

Why Go exists: single-binary deploys, goroutines scheduled onto a few threads, and channels.

Transcript

Go was built at Google for fast servers that handle many things at once.

It compiles to a single binary, so deploying means copying one file.

A goroutine is a function running on its own, and it costs only a few kilobytes.

The runtime schedules thousands of goroutines onto a few operating system threads.

Goroutines talk to each other through channels.

The Go proverb: do not communicate by sharing memory; share memory by communicating.

Simple. Fast. Concurrent.

More in this series