
Golang
文章平均质量分 81
cszhouwei
志士嗟日短,愁人知夜长。我则异其趣,一闲对百忙。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
golang 与 duck typing
原文:http://floss.zoomquiet.io/data/20120904000006/index.html什么是 duck typing?在面向对象的编程语言中,当某个地方(比如某个函数的参数)需要符合某个条件的变量(比如要求这个变量实现了某种方法)时,什么是判断这个变量是否“符合条件”的标准?如果某种语言在这种情况下的标准是: 这个变量的类型是否实转载 2014-06-23 17:26:45 · 4020 阅读 · 1 评论 -
Is Go An Object Oriented Language?
To truly understand what it means to be ‘object-oriented’ you need to look back at the origination of the concept. The first object oriented language, simula, emerged in the 1960s. It introduced objec转载 2014-09-15 20:04:58 · 2393 阅读 · 0 评论 -
Five things that make Go fast
Anthony Starks has remixed my original Google Present based slides using his fantastic Deck presentation tool. You can check out his remix over on his blog,mindchunk.blogspot.com.au/2014/06/remixing-w转载 2014-09-28 17:03:41 · 2357 阅读 · 0 评论 -
Golang后台开发初体验
犹记得去年靠着微信后台的强势宣传,coroutine在我司的C/C++后台界着实火了一把,当时我也顺势对中心的后台网络框架做了coroutine化改造,详见《当C/C++后台开发遇上Coroutine》,当时在文末我也提到了该实现的一些局限性,包括但不限于:1. 所有的coroutine运行于同一线程空间,无法真正发挥CPU的多核性能2. 非抢占式调度模式,原创 2014-07-13 16:40:00 · 41997 阅读 · 4 评论