Go - the Chrome of Programming Languages?

agolangf · · 563 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>Recently I decided to use Go for a pet project which I have prototyped in C++. My decision was based on many factors. As I was doing the re-write, I find myself questioning the language decision at many levels. The two areas which I didn&#39;t expect were compilation speed and executable size - it takes time to compile, and the executable is not of a size to brag about. It might be faster, but the advertised 3X (or any X for that matter) compilation times certainly looks like total BS at least for this project.</p> <p>I can&#39;t avoid making the parallel to Chrome - it used to be fast and furious, until all features arrived. Now it&#39;s THE memory hog. I am wondering, is this something specific to my project, or others have noticed the same?</p> <hr/>**评论:**<br/><br/>shovelpost: <pre><p>Are you using any non Go code in your project? Maybe C/C++ code with cgo?</p></pre>dlsniper: <pre><p>Use go install not go build. Also why do you care about the binary size? Is it in the realm of hundred of megabytes? Before jumping to conclusions have you read the manual or asked a Gopher? </p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

563 次点击  
加入收藏 微博
0 回复
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传