7 ms·
Why is Golang popular in China?
- k42030144 12y agoBecause they do not understand erlang
- laowushi 12y ago呵呵。
- waitingkuo 12y agoTranslation: laugh
- erikb 12y agoActual translation: haha ;)
- discoverfly 12y agoalibaba has a group of people user erlang.
- hooluupog 12y agoActually,erlang is being used in taobao.
- deleted 12y ago[deleted]
- higherpurpose 12y ago> Dave Cheney pointed out on Reddit that he is under the impression that Go is popular in China for its usefulness in writing programs for rooted Android phones. Interesting. It seems Go really is preferred to Java, if given the choice. I hope Google seriously considers making Go the main programming language for Android in the next few years. Other than having to rewrite all the old and new APIs (in parallel with the new releases) I assume it shouldn't cause too many backwards compatibility issues now that they made apps compile to the platform natively anyway, which I think should allow to rip out Java, once 95+ percent of the Android users are on Android 5 or later.
- desdiv 12y ago>Go 1.4 is released [0] >10 December 2014 >Today we announce Go 1.4, the fifth major stable release of Go... >The most notable new feature in this release is official support for Android. Using the support in the core and the libraries in the golang.org/x/mobile repository, it is now possible to write simple Android apps using only Go code. At this stage, the support libraries are _still nascent_ and _under heavy development_. Early adopters should expect a bumpy ride, but we welcome the community to get involved. Emphasis mine. I really don't think a beta feature that was released a month ago could have affected the statistics. [0] https://blog.golang.org/go1.4 https://blog.golang.org/go1.4
- jaekwon 12y agoWell, they do make the hardware over there -- maybe they're pretty comfortable with beta software. And besides, there was already some Android integration even before Google announced it.
- pjmlp 12y agoThat is no different than the limited NDK support for C and C++. Check the video from Google IO 2014, Android Developers Fireside, about their opinion on alternatives to Java on Android.
- zak_mc_kracken 12y ago> It seems Go really is preferred to Java You can only write all but trivial apps in Go on Android, it's very doubtful that Go is preferred to Java.
- tbg 12y agogoogle is working on a new compiler for android http://tools.android.com/tech-docs/jackandjill http://tools.android.com/tech-docs/jackandjill that will convert java code into dex. I don't see Go replacing Java for android anytime soon, if they had plans they would probably not invest in this new toolchain.
- erikb 12y agoIf you graduate from university and work in a real company you will see that APIs, especially if given to customers, are nearly impossible to kill. You can change them a little, but you can't get rid of them, ever. I bet there is even still a significant Android 2.3 community in China as well (as I guess in most other second/third world countries). If you don't replace Android, you won't replace the Java. And even then Android will be hard thread to your new project.
- Mr_P 12y agoCould it be because golang supports unicode identifiers? For non-native English speakers, it must be more difficult to program in ASCII-based languages, right?
- desdiv 12y agoAlmost every non-trivial programming language released after 2000 supports unicode identifiers[0]. Rust, Python, Ruby, C#, Scala, Clojure, just to name a few, all support unicode identifiers. [0] http://rosettacode.org/wiki/Unicode_variable_names http://rosettacode.org/wiki/Unicode_variable_names
- ahoge 12y agoDart doesn't, surprisingly. I don't really mind though. It just means that I can't use non-English identifiers which I shouldn't be using anyways. Non-English identifiers can be quite troublesome in international projects. Even if your project currently isn't, it might be in a few years. It's a maintenance nightmare waiting to happen.
- electrum 12y agoAnd older ones such as Java, released in 1995.
- Gurkenmaster 12y agoPython is actually older than Java and Ruby is roughly as old as Java
- deleted 12y ago[deleted]
- sacado2 12y agoExcept the one implementing hacker news, obviously ;)
- fs111 12y agoso does Java...
- baby 12y agoI have a theory that it might be because of the Chinese game "go" that it started to become popular in China.
- w1ntermute 12y ago"Go" is actually the Japanese name for the game. In Chinese, it's called "weiqi".
- baby 12y agoOh right... Well you just killed my theory.
- erikb 12y agoIf you just search for "go" it might still be true what you say. At least Google is able to understand synonyms. So searching "go" and something in Chinese might yield results with "weiqi" in it. What really kills your theory is that "golang" is certainly not easy to confuse with the board game.
- justinsb 12y agoPrevious discussion on Reddit: http://www.reddit.com/r/golang/comments/23c7y0/why_is_golang_popular_in_china/ http://www.reddit.com/r/golang/comments/23c7y0/why_is_golang...
- etnl 12y agopeople in china cannot visit google related site, include golang.org.LOL
- erikb 12y agoAnd still they form one of the biggest user groups. Quite interesting, right? If you have some Chinese programming friends it's probably not hard to get an interpreter binary and the documentation in Chinese for your system of choice. It's a good example that the public image and what actually happens is not even expected to be the same in China.
- deleted 12y ago[deleted]
- notemouse 12y agogolang.org is blocked by GFW in china, people must visit it through proxy server outside china, so I think the visit statistic is not accurate.
- notemouse 12y agogolang.org is blocked by GFW in china, people must visit it through proxy server outside china, so I think the visit statistic is not accurate.
- laowushi 12y ago文章还是没有解释为什么,只说了是什么。
- jaekwon 12y agoTranslated: "The article doesn't explain why, only that it is." So laowushi, why do you think it is?
- laowushi 12y ago可能是因为:一是Google在中国开发者心中的地位。二是Golang的语法与C有一定渊源,并且简单、面向对象。中国计算机专业学生的入门语言一般是C。三是Golang的库专业、强大。
- Immortalin 12y agoTranslation: This is probably because 1) Google has a special place in the hearts of Chinese developers. 2) Golang came from the same roots as C,is simple, has OOP features etc. Most Chinese computer science students' first language is C. 3) Golang has a large and specialized library.
- laowushi 12y ago谢谢。
- waitingkuo 12y agoTranslation: Thanks
- michaelx386 12y ago> Google has a special place in the hearts of Chinese developers Why is this? Is it because of Android or something else?
- changlin_zhou 12y agoMany, but not android. Android sucks. Google helped people in china to search content what the Chinese gov doesn't want them to know; and google's attitude of content censorship.
- seanmcdirmid 12y agoI live in china, and haven't heard anything about go being particularly popular. It hasn't shown up on any intern resumes for systems research positions yet.
- mc808 12y agoIt could be that 'golang' is not popular enough for statistical comparisons to be insightful. For a chuckle, look up 'golang' on Google Trends and then add the second term 'perl'.
- cnbuff410 12y agoSure, and you can draw the conclusion that Perl is declining and Go is rising. http://www.google.com/trends/explore#q=%2Fm%2F09gbxjr%2C%20%2Fm%2F05zrn&cmpt=q&tz= http://www.google.com/trends/explore#q=%2Fm%2F09gbxjr%2C%20%...
- bsdetector 12y agoOr you can conclude that the topics trends beta has a ton of work left to do on it. For instance there's no way golang has more interest than Objective C and Swift put together, but that's what trends beta claims.
- cnbuff410 12y agoHow can you be so sure about it. First of all, Go is not generating more interest than Obj-C[1]. Secondly, most searches regarding language still happens inside the GFW(like on Baidu). So ya, trend search certainly doesn't tell you the whole story about total usage, yet it still tells you part of the story, which is the "trend" IMO. 1. http://www.google.com/trends/explore#q=%2Fm%2F09gbxjr%2C%20%2Fm%2F05q31&cmpt=q&tz= http://www.google.com/trends/explore#q=%2Fm%2F09gbxjr%2C%20%...
- mc808 12y agoIt suggests that despite its recent growth, Go still has such a low search volume that it barely registers against a language that has practically disappeared from the radar. Combine that with Google's small presence in China and whatever unknown formula they use to normalize popularity in each country, and it could actually be that Go is not significantly more popular in China than in other places. Apparently HHVM is a huge hit in Belgium. http://www.google.com/trends/explore#q=hhvm&cmpt=q&tz= http://www.google.com/trends/explore#q=hhvm&cmpt=q&tz=
- liaoishere 12y agoI live in China, I think Go is becoming popular in China. Many Coders are talking about it and compare Go with Erlang or C++. In fact there are lots of debates in Chinese community about Go and Erlang such as this link http://www.zhihu.com/question/27465406 http://www.zhihu.com/question/27465406. Also many programmers are talking about Go and Erlang in weibo -- a chinese website that is similar to twitter. Finally, because of the Great Fire Wall has blocked Google in China, we can't direct visit websites related to Google include http://golang.org http://golang.org. So many programmers are tend to visit the chinese version Go communities.
- laowushi 12y ago是的。
- Kiro 12y agoIt means "Yes it is." according to Google Translate.
- digitalzombie 12y agoSo... which one is more popular? Go or Erlang? I hoping Erlang >___<.
- liaoishere 12y agoI live in China, I think Go is becoming popular in China. Many Coders are talking about it and compare Go with Erlang or C++. In fact there are lots of debates in Chinese community about Go and Erlang such as this link http://www.zhihu.com/question/27465406 http://www.zhihu.com/question/27465406. Also many programmers are talking about Go and Erlang in weibo -- a chinese website that is similar to twitter. Finally, because of the Great Fire Wall has blocked Google in China, we can't direct visit websites related to Google include http://golang.org http://golang.org. So many programmers are tend to visit the chinese version Go communities.
- justicezyx 12y agofor a niche language like go or nodejs, such difference in popularity is just a random results blessed by the rungessus... nothing too interesting anyway.
- bob917 12y agoBecause a well written go book was translated to Chinese.
- javajosh 12y agoWhoa wait a second, I feel like this is burying the lead: you can write native android apps in go[1]. I feel like that's a very big deal, especially for game companies wanting native speed, and a 'modern' language and toolkit. [1] E.g. http://talks.golang.org/2014/gothamgo-android.slide#1 http://talks.golang.org/2014/gothamgo-android.slide#1
- techtalsky 12y agoThought it might interest you that the term is "burying the lede". One of those weird terms like "champing at the bit" or "eke out a living" that uses a word that sounds like a modern English word but is actually a slightly arcane word. In this case lede is "the introductory section of a news story that is intended to entice the reader to read the full story".
- javajosh 12y agoMaybe? https://en.wikipedia.org/wiki/Lead_paragraph https://en.wikipedia.org/wiki/Lead_paragraph
- nvader 12y agoNow I'm curious. I've got 'lede' -> 'lead' and 'champing' -> 'chomping'. What's the "modern" term in "eke out a living"?
- nvader 12y agoOkay, I found it myself. Apparently the word confused for "eke" is "eek". But their meanings are so different to me that I'm having trouble seeing it!
- techtalsky 12y agoWell I always get a chuckle when I see people talking about 'eek'ing out a living, but I kind of get it. Eek! can be an exclamation of alarm, so eeking out a living would be just barely making it in a constant state of alarm. It changes the meaning of the term but lets you use it in a contextually similar way.
- yinhm 12y agoThe anwser is ECUG[1]: formerly Erlang China User Group to promoting Erlang programming, now days changed itself to 'Effective Cloud User Group' for a border definition. ECUG is a online community also it host an annual ECUG conference. Golang was first presented in ECUGConf2011 by xushiwei[2], he was building a dropbox clone(qbox.com) in Golang, now qbox become qiniu.com which is the most successful S3 clone in China. In all the tech & media hype, those success stories, and the most important reason: the Golang community itself, Golang passed its breaking point in China and getting really popular. [1] http://www.ecug.org/ http://www.ecug.org/ [2] http://ecug.googlecode.com/svn/trunk/ecug-con/2011/xushiwei/ http://ecug.googlecode.com/svn/trunk/ecug-con/2011/xushiwei/
- laowushi 12y agoupvote.
- deleted 12y ago[deleted]
- dusklight 12y agoI really wish the main findings had been summarised in one paragraph at the top of the article, instead of towards the end. All things considered it could have been written a lot shorter and a lot clearer.
- fshen 12y agoCome from china, a golang user, for 2 years now. golang.org and Google is blocked in china by government, so, Google trends and golang.org traffic from China maybe miss leading. Go is quite popular in china, the reasons can be: 1. A few companies is based on Golang, like qiniu.com. 2. More and more companies are adopting Golang, since it's very powerful for writing network servers. These companies are facing very fast traffic growth. Golang's efficiency and expressiveness are well known. It just fills the gap. 3. China has many software developers spread in a few cities(Beijing, Shanhai, Hangzhou, etc). News spread quite effective among them.
- samuell 12y agoAh, interesting! The rapid increase in traffic for Chinese sites easily makes a lot of sense, when thinking about it! With 1 billion users in a single language/culture, I guess successful sites might indeed grow quite fast, right? ... and there, a compiled fast language is paramount, no? :)
- fshen 12y agocompiled fast is quite helpful. The standard lib is a also +1, very useful for network services.
- risent 12y agoMaybe github is more convinced, search Go in github and filter by language use go: https://github.com/search?l=Go&o=desc&q=go&s=stars&type=Repositories&utf8=%E2%9C%93 https://github.com/search?l=Go&o=desc&q=go&s=stars&type=Repo... . You will find half of popular repos (stars>3000) are created by Chinese developer. And most of popular Go related project's document has complete Chinese translation.
- olalonde 12y agoI recall reading a similar post about Node.js a few years ago. For what it's worth, it might just be that China's programming community is growing (and interacting more with the West). The Alexa map is actually not too dissimilar from a population by country map. If I had to hypothesise about golang in particular, I'd say it might have something with Docker (Baidu is using Docker for its PaaS for example) although it's difficult to say if the relationship is the other way around.
- stevenspins 12y agoBecause chinese tends to use their stuff rather than what world shares!
- dschiptsov 12y agoPerhaps, because China doesn't have "enterprise" sweatshop industry and "Java mass hysteria" and Golang is, well, actually good enough?
- eksurfus 12y agoIt was mentioned at GopherCon that many developers use Windows in China. Golang's ability to compile on Windows makes it a natural choice. Most Chinese websites are built on the Windows platform [1]. Windows XP and Windows 7 have a 60.7 percent and 33.4 percent market share respectively (94% of the Chinese market) as of May 2014 [2]. [1] https://www.quora.com/Why-do-so-many-Chinese-developers-prefer-Microsoft-Visual-C++-even-when-writing-non-Windows-specific-code https://www.quora.com/Why-do-so-many-Chinese-developers-pref... [2] http://www.zdnet.com/article/windows-os-replaceable-by-chinese-counterparts/ http://www.zdnet.com/article/windows-os-replaceable-by-chine...
- Someone1234 12y agoIf it was primarily about Windows, wouldn't .Net or C++/Win32 be of more interest? Microsoft has no official Go support as far as I know.
- DominikR 12y agoOne possible explanation would be that China has such a gigantic population. Basically everything that is a niche there is a big community by our standards.
- deleted 12y ago[deleted]
- LiweiZ 12y agoPerhaps the large number of new graduates each year has something to do with this. Also, internet is the industry that is on fire these years, which attracts more and more young people. New workforce is always looking to a better position to enter the market. That means they may focus on new techs on upward trend more to try to have some kind of extra bonus to get into the job market.
- dilipray 12y agoWow, I saw India after US and China. Seriously, India? Never expected that they would be so interested in Go Lang.
- deleted 12y ago[deleted]
- deleted 12y ago[deleted]