Why is the first commit to the Go repo B code from 1972?

xuanbao · · 592 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p><a href="https://github.com/golang/go/commit/7d7c6a97f815e9279d08cfaea7d5efb5e90695a8">This is the first commit in the Go repository</a>. What is this?</p> <hr/>**评论:**<br/><br/>NotTheKyros: <pre><p>Looks like a homage to me.</p></pre>funny_falcon: <pre><p>It is a sign, that Go is successor of C. Go is created by same people, who have been involved in Unix and C creation. Go compiler is successor of first C compiler (through Plan9 C compiler).</p></pre>PaulCapestany: <pre><p><code>▸ git log --reverse</code></p> <pre><code>commit 7d7c6a97f815e9279d08cfaea7d5efb5e90695a8 Author: Brian Kernighan &lt;bwk&gt; Date: Tue Jul 18 19:05:45 1972 -0500 hello, world R=ken DELTA=7 (7 added, 0 deleted, 0 changed) commit 0bb0b61d6a85b2a1a33dcbc418089656f2754d32 Author: Brian Kernighan &lt;bwk&gt; Date: Sun Jan 20 01:02:03 1974 -0400 convert to C R=dmr DELTA=6 (0 added, 3 deleted, 3 changed) commit 0744ac969119db8a0ad3253951d375eb77cfce9e Author: Brian Kernighan &lt;research!bwk&gt; Date: Fri Apr 1 02:02:04 1988 -0500 convert to Draft-Proposed ANSI C R=dmr DELTA=5 (2 added, 0 deleted, 3 changed) commit d82b11e4a46307f1f1415024f33263e819c222b8 Author: Brian Kernighan &lt;bwk@research.att.com&gt; Date: Fri Apr 1 02:03:04 1988 -0500 last-minute fix: convert to ANSI C R=dmr DELTA=3 (2 added, 0 deleted, 1 changed) commit 18c5b488a3b2e218c0e0cf2a7d4820d9da93a554 Author: Robert Griesemer &lt;gri@golang.org&gt; Date: Sun Mar 2 20:47:34 2008 -0800 Go spec starting point. SVN=111041 </code></pre></pre>m9dhatter: <pre><p>It says &#34;<a href="https://en.wikipedia.org/wiki/Brian_Kernighan">Brian Kernighan</a> committed on Jul 19, 1972&#34;. He co-wrote the book on C. Also wrote the first documented &#34;Hello world&#34; program in 1972. Not sure about the date though. </p></pre>Orange_Tux: <pre><p>And it probably refers to <a href="https://en.wikipedia.org/wiki/Ken_Thompson">Ken Thompson</a>, the guy who invented the B programming language.</p></pre>epiris: <pre><p>It&#39;s humbling to know that it will be another forty years before I&#39;m as experienced as one of the creators of my favorite language, furthered by the fact I&#39;ll spend the entire time being half as good. Well, half is probably untrue, but let&#39;s not let me die thinking I&#39;m a total idiot please.</p></pre>YEPHENAS: <pre><blockquote> <p>He co-wrote the book on C</p> </blockquote> <p>And the <a href="http://www.gopl.io">book on Go</a> :)</p></pre>YEPHENAS: <pre><p>The hello world program is from his B tutorial (section &#34;7. External Variables&#34;): <a href="https://www.bell-labs.com/usr/dmr/www/btut.html" rel="nofollow">https://www.bell-labs.com/usr/dmr/www/btut.html</a></p></pre>veritasserum: <pre><p>OK - tangential question - What does this mean in a git log entry:</p> <p>R=ken</p></pre>YEPHENAS: <pre><p>&#34;Reviewed by Ken Thompson&#34;</p></pre>veritasserum: <pre><p>Sorry, one followup - is the is gerrit thing only? I&#39;m not seeing reviewing as a feature of base git.</p> <p>Thanks,</p></pre>tv64738: <pre><p>Well, it&#39;s not a git thing, it&#39;s just a convention for text content. Gerrit, but maybe other review tools too.</p></pre>veritasserum: <pre><p>gotcha - I use git from the CLI and had never seen this. I believe Gerrit knows about this though...</p> <p>Thanks,</p></pre>veritasserum: <pre><p>Thanks.</p></pre>dlsniper: <pre><blockquote> <p>What is this? </p> </blockquote> <p>A test for people to see the skills of &#34;searching before asking questions&#34; each person has</p></pre>

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

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