Looking for concurrency exercises

agolangf · · 599 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>Hi , Theirs allot of good tutorial and videos about go concurrency ,but i can’t find any exercise with test . Any suggestion ? </p> <hr/>**评论:**<br/><br/>SerialMiller: <pre><p>Not sure if there are any. This might be different for you, but for me the best way to learn is just by encountering the problem and try to solve it when it occurs. Always has been, always will be.</p> <p>That&#39;s because you&#39;ve got a concrete understanding of the matter at hand.</p> <p>But you could make your own exercise, for example: Resize all images in a certain folder sequentially and write them to another folder. After that try to do this concurrent, utilizing the amount of CPUs your computer have. It should speed the process up.</p> <p>And if you need some feedback, you won&#39;t be the first, nor the last to ask some feedback on their github repo.</p> <p>Document it, and some people actually might have a use case for using a simple CLI tool that does this for you. Allow to set the input and ouput directories using flags for example.</p> <p>It&#39;s no exercise with tests, but I hope it helps :).</p></pre>

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

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