[{"data":1,"prerenderedAt":207},["ShallowReactive",2],{"project-28302304":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":27,"sentiment":28,"stance_mix":29,"scored_comments":34,"aspects":35,"strip":39,"post_text":41,"what":42,"said":64,"maker_in_thread":120,"shape":130,"grid":133,"attempts":169,"same_week":170,"maker_shows":33,"maker_hidden":199,"reader_version":200,"card":201},"28302304","ReGit","A Tiny Git-Compatible Git Implementation","title","Show HN: ReGit – A Tiny Git-Compatible Git Implementation","https:\u002F\u002Fgithub.com\u002FWithGJR\u002Fregit-go","github.com","kevinhack",1629902651,2021,96,16,550,2533,22,"notable","dev_tools","version control","cli",[24,25,21,26],"git implementation","golang git","git internals","curious",0.071,{"positive":30,"neutral":31,"mixed":32,"critical":33},2,3,0,1,6,{"docs":36,"execution":37,"idea":38},{"positive":33,"critical":32},{"positive":33,"critical":32},{"positive":32,"critical":33},[32,40,32,40,33,31,32,31,32,31,32,32,32,32,32,32],5,null,{"problem":43,"audience":41,"pricing":41,"motivation":53,"time_to_build":41,"stack":57,"openness":62,"stage":63,"team_size":62},{"value":44,"source":45,"evidence":46},"Learning how Git works by building a minimal implementation","maker",[47,50],{"id":48,"by":11,"text":49},"28302305","ReGit is a tiny Git implementation written in Golang. It uses the same underlying file formats as Git. Therefore, all the changes made by ReGit can be checked by Git. This…",{"id":51,"by":11,"text":52},"28310525","The main purpose of this project is to write a minimal implementation of Git for me to understand how Git works. Yes, supporting it is under my plan.",{"value":54,"source":45,"evidence":55},"Written for the maker to understand how Git works",[56],{"id":51,"by":11,"text":52},[58],{"value":59,"source":45,"evidence":60},"Go",[61],{"id":48,"by":11,"text":49},"unknown","prototype",{"praise":65,"objections":78,"requests":97,"questions":111,"alternatives":119},[66],{"value":67,"source":68,"evidence":69},"Clear, concise naming and readable code","commenter",[70,74],{"id":71,"by":72,"text":73},"28309871","0des","I just want to chime in and say thanks for writing everything in a very clear and descriptive, yet concise style with regard to naming. That is something that I value a lot when…",{"id":75,"by":76,"text":77},"28311095","ABS","agreed! more often than not even interesting and well structured golang projects end up with i, j, k, m, f, mx, gh, and so forth variable names. I thought we had gotten over this…",[79,86],{"value":80,"source":68,"evidence":81},"Written in a garbage-collected language unlike the C original, and not truly tiny",[82],{"id":83,"by":84,"text":85},"28312008","pwdisswordfish8","> written in a garbage-collected language where the original implementation is written in C > ‘tiny’",{"value":87,"source":68,"evidence":88},"Language choice debate: C++ suggested as better for foundational tech",[89,93],{"id":90,"by":91,"text":92},"28313545","pharmakom","I actually think C++ would be a great implementation language for such a foundational technology. I'm sure this is appreciated by Go teams though.",{"id":94,"by":95,"text":96},"28315293","_ph_","C++ is actually a very bad choice for \"foundational\" technology, as it is quite difficult for other languages to link against C++ libraries. Plain C, or any language which out of…",[98,104],{"value":99,"source":68,"evidence":100},"Add a permissive license",[101],{"id":102,"by":95,"text":103},"28312517","Very nice! You should attach a (liberal) licence to your code, so others could use it.",{"value":105,"source":68,"evidence":106},"Support cloning from a remote",[107],{"id":108,"by":109,"text":110},"28309798","moondev","I like the idea - but does it support cloning from a remote? Or is the designed use-case to act on existing local repos",[112],{"value":113,"source":68,"evidence":114},"Can it be compiled with just cc without installing Go",[115],{"id":116,"by":117,"text":118},"28310884","forgotmypw17","Is there a way to somehow compile this with just cc, without installing go first? (On a machine with no admin rights, and no git, but cc is available.)",[],{"comments":121,"answered":33,"key":122},4,[123,124,127],{"id":48,"text":49},{"id":125,"text":126},"28310571","Thanks for your appreciation :)",{"id":128,"text":129},"28314522","Thanks for your friendly reminder :)",{"commenters":131,"max_depth":31,"maker_replies":121,"first_comment_mins":32,"lifespan_hours":132},11,59,[134,136,138,140,142,144,146,147,149,151,152,156,159,161,164,166],[48,32,32,135,11,33],"project\u002Fneutral\u002Fidea",[71,32,40,137,72,32],"maker\u002Fpositive\u002Fdocs",[125,32,32,139,11,33],"maker\u002Fpositive\u002Fnone",[75,32,40,141,76,32],"maker\u002Fpositive\u002Fexecution",[83,32,33,143,84,32],"project\u002Fcritical\u002Fidea",[102,32,31,145,95,32],"project\u002Fneutral\u002Fnone",[128,32,32,139,11,33],[108,33,31,148,109,32],"project\u002Fneutral\u002Fexecution",[51,33,32,150,11,33],"maker\u002Fneutral\u002Fidea",[116,30,31,148,117,32],[153,30,32,154,155,32],"28310952","other\u002Fneutral\u002Fnone","cglong",[157,30,32,158,117,32],"28334760","commenter\u002Fneutral\u002Fnone",[90,31,32,160,91,32],"other\u002Fcritical\u002Fidea",[162,31,32,158,163,32],"28314129","girishso",[94,31,32,165,95,32],"other\u002Fneutral\u002Fidea",[167,31,32,158,168,32],"28315532","asddubs",[],[171,176,180,185,189,194],{"id":172,"name":173,"points":174,"category":175},"28229291","Neural-hash-collider",623,"security_privacy",{"id":177,"name":178,"points":179,"category":175},"28305394","59a34eabe31910abfb06f308",339,{"id":181,"name":182,"points":183,"category":184},"28244744","Duedilly.io",181,"finance_crypto",{"id":186,"name":187,"points":188,"category":20},"28301374","Exatorrent",179,{"id":190,"name":191,"points":192,"category":193},"28286199","easyzoom.com",137,"ai",{"id":195,"name":196,"points":197,"category":198},"28301262","WebCrate",110,"productivity",false,"v2",{"id":202,"name":5,"line":6,"ai":199,"cat":20,"year":13,"points":14,"comments":15,"rec":27,"s":203,"top":18,"kw":204,"maker":11,"domain":10,"tier":19,"attempts":32,"strip":205,"url":9,"mix":206,"praise":67,"objection":80,"sub":21},28302304,0.07,[24,25,21,26],"0505130303000000",[30,31,32,33],1793991032335]