當前位置:
首頁 > 最新 > Gopher China 2018 講師專訪-Marcel van Lohuizen

Gopher China 2018 講師專訪-Marcel van Lohuizen

Most of China Gopher know you from your blog, Please introduce yourself briefly?(What is the reason and when to start with Go?)

I"m Marcel van Lohuizen. I"ve been working at Google on various projects, including on Borg (and its predecessor) and the search engine. Early 2011 I joined the Go team. I didn"t know much about the language back then, but I quickly learned to love it.

我是Marcel van Lohuizen。我一直在谷歌的各種項目上工作,包括Borg (以及它的前身)和搜索引擎。2011年初,我加入了Go團隊。當時我對這門語言不太了解,但是我很快地就學會了它。現在很喜歡這份工作。

Why do you like Golang so much? What are your favorite features?

I love its simplicity. But more importantly, it is one of the most productive languages I have worked with. This productivity comes from a combination of the language, tooling, and the quality of the standard library.

我喜歡它的簡單性。但更重要的是,它是我所使用過的最有效率的語言之一。這種生產力來自於語言、工具和標準庫的質量的組合。

We all know Golang boasts many successful projects such as Docker and Kubernetes, and also dgraph choose Golang too. Could you explain why do they all choose Golang?

Aside from Go being a suitable language for such projects, there is another often overlooked reason. Many projects come together with a command line tool. At the moment Go is particularly well-suited for writing command line tools compared to its peers. Having GC and all makes it easier to write tools in than C or C++. Then both deployment is easier and startup times are reduced compared to other peers like Python and Java. The ease of cross-compilation helps here too. This may be not the main reason to pick Go for these projects, but it may certainly help tip the balance.

除了為這些項目GO提供合適的語言之外,還有一個經常被忽視的原因。許多項目與一個命令行工具一起出現。目前,比起其它的Go特別適合編寫命令行工具。有了GC,所有這些都使得編寫工具比C或c++更容易。然後,與其他類似Python和Java的對等點相比,兩個部署都更容易,啟動時間也減少了,對交叉編譯的便利性也有很大的幫助。這可能不是選擇這些項目的主要原因,但它肯定有助於打破平衡。

For all the silicon valley startups you know, how many of them are using Golang?

Most startups will use a mix of languages, I reckon. I don"t know the specific stats of how many use predominantly Go. I do know this number has been growing.

我認為大多數創業公司都會使用多種語言。雖然我不知道主要使用GO的具體統計數據有多少。我只知道這個數字一直在增長。

From your experience, how to master a new programming language quickly? What would you like to suggest for new Gopher?What is the best practice to learn Go and any book recommendation?

One nice way to learn Go is to start using it instead of using Bash or Python scripts.

As for a book recommendation I would recommend The Go Programming Language by Donovan and Kernighan (https://www.gopl.io/).

學習Go的一個好方法是開始使用它,而不是使用Bash或Python腳本。

至於書的推薦,我推薦 Donovan 和Kernighan寫的The Go Programming Language這本書(https://www.gopl.io/)。

GopherChina is the most popular in the world. What』s your opinion when you know that?

It doesn"t surprise me. We know Go has been particularly popular in China and China is also the most populous country.

我並不感到吃驚。我們知道GO在中國很受歡迎,還有中國也是人口最多的國家。

It』s your first time to attend GopherChina, What is the expectation of the first GopherChina conference?

Not my first time. I expect it to be at least at lively and exciting as last time. :)

不是我的第一次。我希望它至少能像上次一樣生動有趣。:)

What do you think about the future of Go?

Go has a bright future as long Go is able to keep up with developments and address concerns from the community. Go 2 is a part of this.

Go有一個光明的未來,因為隨著時間的推移,GO能夠跟上形勢的發展並解決社區的擔憂。GO 2是這個的一部分。

第四屆Gopher China大會4月將在上海舉辦,今年也是第一次增加了會前的培訓。本屆的大會無論從規模,內容都將更有值得大家期待的!


喜歡這篇文章嗎?立刻分享出去讓更多人知道吧!

本站內容充實豐富,博大精深,小編精選每日熱門資訊,隨時更新,點擊「搶先收到最新資訊」瀏覽吧!


請您繼續閱讀更多來自 Go中國 的精彩文章:

AI演算法實現與雲平台應用

TAG:Go中國 |