2020/12/1423:22:02Comments Off on Ready,Set,Go!


推荐一本从入门到放弃的Go语言书籍《Head First Go》,这个系列的教程我相对比较喜欢,曾经Python我也是用它来入门的,书名叫《Head first Python》,建议大家可以看英文原版,难度不高,还有图文结合,非常形象。

反正只要是想学啥都可以用Head first开头,比如:设计模式也是如此。

花了快一个小时从一个国外网站下载到了它的英文版本,简直高清无码啊!!咳 咳!




所以谷歌的工程师Robert Griesemer, Rob Pike, 和Ken Thompson描绘出该语言要实现的目标为:

  1. 快速的编译。
  2. 更少的代码。
  3. 垃圾回收机制(大家都懂的)
  4. 易于同时执行多个操作(并发)
  5. 支持多核处理器




Back in 2007, the search engine Google had a problem. They had to maintain programs with millions of lines of code. Before they could test new changes, they had to compile the code into a runnable form, a process which at the time took the better part of an hour. Needless to say, this was bad for developer productivity.

So Google engineers Robert Griesemer, Rob Pike, and Ken Thompson sketched out some goals for a new language:

  1. Fast compilation
  2. Less cumbersome code
  3. Unused memory freed automatically (garbage collection)
  4. Easy-to-write software that does several operations simultaneously
  5. Good support for processors with multiple cores

After a couple years of work, Google had created Go: a language that was
fast to write code for and produced programs that were fast to compile and
run. The project switched to an open source license in 2009. It’s now free
for anyone to use. And you should use it! Go is rapidly gaining popularity
thanks to its simplicity and power.

If you’re writing a command-line tool, Go can produce executable files for
Windows, macOS, and Linux, all from the same source code. If you’re
writing a web server, it can help you handle many users connecting at once.
And no matter what you’re writing, it will help you ensure that your code is
easier to maintain and add to.

Ready to learn more? Let’s Go!


  • 微信扫码赞助
  • weinxin
  • 支付宝赞助
  • weinxin