Skip to content

Golang concurrency patterns from Rob Pike Google I/O 2012.

Notifications You must be signed in to change notification settings

kid1412z/go-concurrency-patterns

Repository files navigation

Go Concurrency Patterns

Golang concurrency patterns from Rob Pike Google I/O 2012.

Concurrency is NOT parallelism

Concurrency is not parallelism, although it enables parallelism. See golang.org/s/concurrency-is-not-parallelism

Distinction

Go is the latest on the Newsqueak-Alef-Limbo branch, distinguished by first-class channels.

Main Points

Point Files
Goroutine basics goroutine1 goroutine2
Channel basics channel1.go channel2.go
Generator and multiplexing generator2.go generator3.go generator4.go
Channel chain daisychain.go
Select basics select1.go select2 select3.go select4.go
Concurrent Requests google1.go google2 google3 google4

Resouces

About

Golang concurrency patterns from Rob Pike Google I/O 2012.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages