List any good links for a programmer new to Golang which might help in concurrent programming

agolangf · 2017-04-29 21:00:05 · 572 次点击    
这是一个分享于 2017-04-29 21:00:05 的资源,其中的信息可能已经有所发展或是发生改变。


评论:

cyrusol:

Concurrency is not Parallelism, a talk by Rob Pike. Very helpful for wrapping your mind around Go's concurrency concepts.

Which are actually very old ones envisioned by Tony Hoare. Related paper, if you want to dig deeper: Communicating Sequential Processes (PDF)

AzusaD:

I wanted to make sure someone didn't already post this before I did. OP should DEFINITELY begin learning about concurrency in Go here. Rob goes over some very nice patterns, with examples, about almost everything a programmer should know about concurrency in Go (e.g. goroutines, channels, switch, etc.)

nathankerr:

My tutorial Concurrency Slower? will take you through the process of taking a broken, slow concurrent program to a fast functional one.

You will see how to use Go's testing, benchmarks, and profiling tools as you follow along.

hdost:

This is a good general place for Go related resources and libraries. https://github.com/avelino/awesome-go/blob/master/README.md

However the only link talking about how to for concurrency states not to use it as a standard. Could still be useful https://github.com/rakyll/coop/blob/master/README.md

earthboundkid:

I wrote a blog post about how to think about shared memory in Go: https://blog.carlmjohnson.net/post/share-memory-by-communicating/

the_web_dev:

I sometimes sketch concurrency diagrams as a means of groking more complicated design patterns in go.

snippet2:

Here is a video where it's a guy from Google who moved to Microsoft and loves Linux, who somewhere kinda explains how he uses it to read and write files. I forget where in the video it is though but kinda an all around opinion from someone who is experienced in multiple platforms and companies. https://youtu.be/hsgkdMrEJPs

nevyn:

Most of the talk was about devops, and how you can build portably easily ... the parallel talk was a few minutes near the end and just talked about using channels to chain things together in an abstract way.


入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

572 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传