paulgorman.org

< ^ txt

Wed Mar 29 08:07:24 EDT 2017 Slept from eleven to seven. Woke briefly around four. Mostly sunny today. High of fifty-one. Work: - Meet Comcast tech after hours Done. Finished a little after eight PM. Half hour walk at lunch. Very pleasant out. Saw a turkey vulture, robins, and a crow. Home: https://astaxie.gitbooks.io/build-web-application-with-golang/en/preface.html Rob Pike - 'Concurrency Is Not Parallelism' https://www.youtube.com/watch?v=cN_DpYBzKso Parallelism (doing things at the same time) can result from concurrency, but concurrency is more generally about composing/organizing independently executing things in a useful way (e.g. so they communicate/coordinate/synchronize with each other). With parallelism, the things need not be related to each other. Parallelism is about execution/time/simultaneity, while concurrency is about structure/organization/cooperation. The examples in Pike's video are instructive. Don't think about how to run things in parallel; instead, think about how to break the problem into independent parts, then coordinate workers to address each of the parts. Breakfast: carrots, spinach, yogurt, coffee Lunch: nuts Dinner: pizza

< ^ txt