<p>Hi All,</p>
<p>I have coded in Perl and Python(only below 100 lines). I always wanted to code in statically typed language i thought of trying out C but Go seems to be gaining popularity off-late. Can someone suggest a good book for someone who has not coded in any statically typed language and who has no idea about memory management.</p>
<hr/>**评论:**<br/><br/>seufert: <pre><p>Do the <a href="http://tour.golang.org/" rel="nofollow">Go-Tour</a>. Then Go by Example is quiet good. The Book by <a href="http://www.informit.com/store/programming-in-go-creating-applications-for-the-21st-9780321774637" rel="nofollow">Summerfield</a> is ok as an introduction. The upcoming <a href="http://www.manning.com/ketelsen/" rel="nofollow">Go in Action</a> is a clear recommendation, because it's by well known Go-Practioners. It's still early access, but already very helpful.</p>
<p>After that read:
Also the <a href="http://golang.org/ref/spec" rel="nofollow">Language Specification</a> and <a href="http://golang.org/doc/effective_go.html" rel="nofollow">Effective Go</a></p></pre>netzdamon: <pre><p><a href="http://www.golang-book.com/books/intro" rel="nofollow">This</a> is the best beginners book IMO.</p></pre>TurquoiseTurkey: <pre><blockquote>
<p>someone who has not coded in any statically typed language and who has no idea about memory management.</p>
</blockquote>
<p>You don't need to know anything about memory management in Go. It's handled by the language runtime, similar to Python or Perl.</p></pre>DeedleFake: <pre><p>Although, like in Python or Perl, you still <em>should</em> know how the memory management works so that you can write code that's nicer on the runtime. For example, just because there's a GC doesn't mean that you should allocate and then throw away large chunks of memory constantly; that will run badly no matter what you do.</p></pre>dericofilho: <pre><blockquote>
<p>You don't need to know anything about memory management in Go.</p>
</blockquote>
<p>Not entirely true - it is important to manage GC pressure if you aim for a smooth, high-perf app.</p></pre>p_p_r: <pre><p>Can you suggest any good material to start off ?</p></pre>TurquoiseTurkey: <pre><p>You've done this have you:</p>
<p><a href="http://tour.golang.org/welcome/1" rel="nofollow">http://tour.golang.org/welcome/1</a></p>
<p>I like this one too:</p>
<p><a href="https://gobyexample.com/" rel="nofollow">https://gobyexample.com/</a></p></pre>p_p_r: <pre><p>Thanks for the links. I'm doing the tour now. It's really good.</p></pre>calebdoxsey: <pre><p>For an introduction: golang-book.com</p></pre>p_p_r: <pre><p>I checked out it seems to be a good book to start-off. Thanks.</p></pre>dharanimo: <pre><p>I would wait for this one
<a href="http://www.amazon.com/Programming-Language-Addison-Wesley-Professional-Computing/dp/0134190440/ref=sr_1_1?ie=UTF8&qid=1440079776&sr=8-1&keywords=the+go+programming+language" rel="nofollow">http://www.amazon.com/Programming-Language-Addison-Wesley-Professional-Computing/dp/0134190440/ref=sr_1_1?ie=UTF8&qid=1440079776&sr=8-1&keywords=the+go+programming+language</a></p>
<p>I would use online resources until this book gets published</p></pre>p_p_r: <pre><p>Thank you i will wait for this one.</p></pre>nindalf: <pre><p>Good choice. Personally, I feel online resources are really great for learning Go. After the tour I would recommend checking out these two videos. They were my first exposure to Go and I learnt a lot from them.</p>
<ul>
<li><a href="https://www.youtube.com/watch?v=cN_DpYBzKso" rel="nofollow">Concurrency is not Parallelism</a> by Rob Pike</li>
<li><a href="https://vimeo.com/53221560" rel="nofollow">Go: code that grows with grace</a> - <a href="http://talks.golang.org/2012/chat.slide#1" rel="nofollow">slides</a> by Andrew Gerrand</li>
</ul>
<p>To address your concern about memory management - Go is a garbage-collected language so you don't need to worry about manually managing memory.</p>
<p>Hope that helps :)</p></pre>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传