Skip to content

Instantly share code, notes, and snippets.

@samueljoli
Created August 3, 2020 13:51
Show Gist options
  • Save samueljoli/a03af6128c88d3a4b807b9221efdc0bf to your computer and use it in GitHub Desktop.
Save samueljoli/a03af6128c88d3a4b807b9221efdc0bf to your computer and use it in GitHub Desktop.
Rob Pike - "Concurrency is not Parallelism"

Rob Pike - "Concurrency is not Parallelism"

Rob Pike - "Concurrency is not Parallelism"

source: https://www.youtube.com/watch?v=cN_DpYBzKso

Notes

  • the world is not object oriented, is actually parallel
  • concurrency is dealing with a lot of things at once, parallel is doing a lot of things at once, one is about structure, the other is about execution.
  • concurrency is a about by breaking down a program into pieces that can be executed independently.
  • communication is the means to coordinate the independent executions.
  • Paper Communicating Sequential Processes (1978)
  • Paper Communicating Sequential Processes (2015)
  • Performance improved by adding a concurrent procedure to a existing design.
  • There many ways to beak the process down.
  • That's concurrent design.
  • Once we have the breakdown, parallelization can take in and correctness is easy.

Go demo

Conclusion

  • Concurrency is powerful.
  • Concurrency is not parallelism.
  • Concurrency enables parallelism.
  • Concurrency makes parallelism easy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment