导读:从问题本身出发,不局限于 Go 语言,探讨服务器中常常遇到的问题,最后回到 Go 如何解决这些问题,为大家提供 Go 开发的关键技术指南 。我们将以系列文章的形式推出《Go 开发的关键技术指南》,共有 4 篇文章,本文为第 1 篇 。
Go 开发指南大图

文章插图
Overview该指南主要讨论了服务器领域常见的并发问题,也涉及到了工程化相关的问题,还整理了 C 背景程序员对于 Go 的 GC 以及性能的疑问,探讨了 Go 的错误处理和类型系统最佳实践,以及依赖管理的难处、接口设计的正交性,当然也包含我们在服务器开发中对于 Go 实践的总结,有时候也会对一些有趣的问题做深度的挖掘,列出了 Go 重要的事件和资料集合,以及 Go2 的进展和思考 。
以下是各个章节以及简介:
The Go Programming Language 到底是该叫 GO 还是 GOLANG?Google 搜 Why Go is called Golang 能搜到几篇经典帖子 。
Rob Pike 在 Twitter 上特意说明是 Go,可以看这个 The language is called Go:
Neither. The language is called Go, not Golang. http://golang.org is just the the web site address, not the name of the language.
在另外一个地方也说明了是 Go,可以看这个 The name of our language is go:
The name of our language is GoRuby is called Ruby, not Rubylang.Python is called Python, not Pythonlang.C is called C, not Clang. No. Wait. That was a bad example.Go is called Go, not Golang.Yes, yes, I know all about the searching and meta tags. Sure, whatever, but that doesn\'t change the fact that the name of the language is Go.Thank you for your consideration.这里举了各种例子说明为何不加 lang 的后缀,当然有个典型的语言是加的,就是 Erlang 。于是就有回复说“Erlang Erlang, Let\'s just call it Er.”那么为什么大多时候 Go 和 Golang 都很常用呢?在 Why is the Go programming language usually called Golang 中说的比较清楚:
It’s because “go domain” has been registered by Walt Disney and so Go creators couldn’t use it. So, they have decided to use golang for the domain name. Then the rest came.Also, it’s harder to search things on search engines just using the word Go. Although, Rob Pike is against this idea but I disagree. Most of the time, for the correct results you need to search for golang.It’s just Go, not golang but it sticked to it.讲个笑话先,用百度搜下为何 Go 叫做 Golang,一大片都是类似本文的鸡汤煲,告诉你为何 Go 才是天地间最合适你的语言,当然本文要成为鸡汤煲中的战斗煲,告诉你全家都应该选择 Go 语言 。为何 Go 语言名字是 Go,但是经常说成是 Golang 呢?有以下理由:
- go.org 被注册了,正在卖,也不贵才 1698 万 。所以 Go 只能用 golang.org;
- 想要搜点啥信息时,如果搜 go 太宽泛了,特别是 go 还没有这么多用户时,搜 golang 能更精确的找到答案 。
考虑一个商用的快速发展的业务后端服务器,最重要的是什么?当然是稳定性了,如果崩溃可能会造成用户服务中断,崩溃的问题在 C/C++ 服务器中几乎是必然的:
- 稳定是一种假象;
- westworld app下载 westworld官网
- 京东双11活动如何参加?双11有哪些玩法?
- 包子花样包法大全带图解 包子包法视频教程全集
- 时空裂痕玩的人多吗 为什么都玩时空裂痕
- 苹果手机怎么下载软件 苹果电脑游戏下载在哪里
- 魔兽争霸3圣骑士技能 魔兽世界圣骑士技能玩法
- 好玩儿的网游 好玩的休闲网络游戏
- dnf日服关闭 dnf关闭
- 反恐精英online还有人玩吗 反恐精英online手机版
- 广州正佳广场好玩吗 正佳广场位置
特别声明:本站内容均来自网友提供或互联网,仅供参考,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
