TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Announcing Building Git

291 pointsby griffinmbabout 6 years ago

13 comments

henry_boneabout 6 years ago
&quot;There’s a huge section of the tech ecosystem that’s constantly told they’re not smart enough to be here and that their work doesn’t matter. I spent a decade hearing C was beyond mere mortals, that you must be a genius to go anyway near low-level code, or algorithms, or distributed systems. The inventor of Git is notorious for pushing this narrative! But the truth is, anyone with enough brains and patience to learn how to do any kind of computing is “smart enough” to learn things like this.&quot;<p>As someone who spent the first decade or so as an embedded software developer, I wanted to move into web based systems because its a &quot;bigger world&quot;. I&#x27;m a couple of jobs into this bigger world now, and it just keeps getting bigger. I feel the need to keep my finger on the pulse of new tools and technologies, but I try to hold that in tension with the advice we get here to keep things simple, be pragmatic, don&#x27;t adopt technologies or techniques just because google does. I&#x27;ve always fancied myself as a generalist, but this bigger world makes me feel a bit like Bilbo Baggins, &quot;like butter spread over too much bread.&quot;<p>My point: I&#x27;ve been in both worlds and I feel more at sea working on internet based systems. I had more mastery over the embedded systems I worked on, than over the web based systems I work on now. So my experience is in support of the author&#x27;s point that ...<p>&quot;anyone with enough brains and patience to learn how to do any kind of computing is “smart enough” to learn things like this.&quot;<p>Moreover, I would suggest that the average full-stack web developer is probably over-qualified.
评论 #19622414 未加载
gvandabout 6 years ago
Since it seems that he used Ruby throughout the book, I wonder if that&#x27;s the right choice or it will limit the book&#x27;s audience.<p>I&#x27;m contemplating writing a long &quot;from scratch&quot; style book on another topic and I&#x27;m still not sure which language I should use. Using more than one (Java, Python,...) and generating multiple flavours of the book could be a good idea I think.
评论 #19618531 未加载
评论 #19617943 未加载
评论 #19620591 未加载
评论 #19617951 未加载
评论 #19618575 未加载
评论 #19621942 未加载
评论 #19618001 未加载
评论 #19618247 未加载
评论 #19618778 未加载
dansoabout 6 years ago
This likely will be just another book on the long list of books I&#x27;ve owned but don&#x27;t get through, but hard to ignore a 700-page book with a topic both esoteric and pragmatic (I use git daily but have very little knowledge of it beyond what commands to Google). And one in Ruby -- a language I almost never use today, or really see, but definitely grew up with.
评论 #19619071 未加载
评论 #19618824 未加载
评论 #19626518 未加载
评论 #19619867 未加载
hyperpalliumabout 6 years ago
There&#x27;s a post on HN of Linus&#x27;s first version of git (that I can&#x27;t find). It&#x27;s short.<p>There&#x27;s another reason git is a great choice as a large project to build: you can get <i>something</i> that works very quickly, and then just add to it. Because that is how git was developed. It&#x27;s like Gall&#x27;s Law, but evolving only additively. And although Linus was inspired by BitKeeper, it was stripped down to its nakednes, til no longer anything to take away (like Exupery).<p>Also why git&#x27;s UI design is so terrible.
评论 #19621785 未加载
评论 #19625332 未加载
rrishiabout 6 years ago
This book looks really awesome and I want to follow along with it in Java. I don&#x27;t have the money to buy the book currently being a university student. In the style of r&#x2F;RandomActsOfPizza, would it be possible for someone to do a RandomActsofBook and buy this book for me? I could pay the money back to them in a couple of months or pay it forward...whichever they would prefer.
评论 #19621802 未加载
评论 #19622628 未加载
评论 #19622549 未加载
royjacobsabout 6 years ago
This looks extremely interesting. It&#x27;s also one of those things I&#x27;d love to read as a physical book, but I can&#x27;t seem to find that option.<p>Oh well, e-readers are okay too I suppose.
localhostdotdevabout 6 years ago
the linked repository is amazing, I don&#x27;t think I ever saw such nice code and such neat organization: <a href="https:&#x2F;&#x2F;github.com&#x2F;jcoglan&#x2F;jit" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jcoglan&#x2F;jit</a> (everything uses standard ruby libraries or default gems like minitest)<p>I&#x27;m trying it out and doesn&#x27;t work very well on macOS (git add has issue with the lockfile, but all tests pass).<p>I might use it as it&#x27;s a very easily customizable implementation of git.
the_dukeabout 6 years ago
Hopefully this being on the front page will bump up that 320 books sold number a bit!<p>Looks very interesting.
评论 #19618985 未加载
sidcoolabout 6 years ago
Sounds pretty cool, a 708 page book detailing how to build Git from scratch in all its glory. I just wish I had time to go over the entire book.
mschaefabout 6 years ago
This looks really nice, both because it covers Git in a new way, and that it approaches solving a large problem with an eye towards explaining how to do it. It really reminds me of Donald Knuth&#x27;s work on literate programming, in both senses.
oldpatrickaabout 6 years ago
I have been working through this book in rust, and I have to say, the book is a real joy. Extremely clear writing, very good pacing, and excellent explanations of technical topics.<p>If you&#x27;re at all interested you should buy this.
black-teaabout 6 years ago
There is an article showing how to write git using python called &quot;Write yourself a Git&quot; [0] (HN post here: [1]).<p>This one shows the fundamentals of git in far less than 700 pages. In fact you can go through it and understand git in an hour or two. For me this seems much more worthwhile than seeing in depth how all the git porcelain commands are done.<p>[0] <a href="https:&#x2F;&#x2F;wyag.thb.lt&#x2F;" rel="nofollow">https:&#x2F;&#x2F;wyag.thb.lt&#x2F;</a> [1] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=19386141" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=19386141</a>
markmmabout 6 years ago
Git written in Ruby, it&#x27;s a no from me.
评论 #19619369 未加载