Davidson Golang – David Norton – March 27, 2014



Davidson Golang – David Norton – March 27, 2014

1 0


davgoConcurrency

Concurrency in Go

On Github davgolang / davgoConcurrency

Davidson Golang

David Norton

March 27, 2014

The source for this presentation is available at...

https://github.com/davgolang/davgoConcurrency

Concurrency

Go is good at it!

Difference between concurrent and parallel?

Parallel - simultaneous execution

Concurrent - composition of independently executing tasks

Concurrency is about structure and Go provides good tools to express concurrent structures.

Go tools for structuring independent concurrent tasks?

  • go routines - to initiate a concurrent task
  • channels - to communicate between go routines
  • select - to wait on multiple channels until one is ready