[{"data":1,"prerenderedAt":412},["ShallowReactive",2],{"project-40159278":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":29,"sentiment":30,"stance_mix":31,"scored_comments":36,"aspects":37,"strip":41,"post_text":43,"what":44,"said":64,"maker_in_thread":172,"shape":183,"grid":188,"attempts":373,"same_week":374,"maker_shows":42,"maker_hidden":404,"reader_version":405,"card":406},"40159278","NAND","A programmable computer from NAND gates","title","Show HN: I made a programmable computer from NAND gates","https:\u002F\u002Fgithub.com\u002FArhanChaudhary\u002FNAND","github.com","ArchAndStarch",1714061285,2024,420,73,102,3515,3,"legend","learning_science","computer architecture education","web_app",[24,25,26,27,28],"nand to tetris","nand gates","computer architecture","emulator","hardware simulation","mixed",0.417,{"positive":32,"neutral":33,"mixed":34,"critical":35},14,5,0,4,23,{"docs":38,"idea":39},{"positive":18,"critical":34},{"positive":18,"critical":40},2,[33,18,34,34,34,33,42,33,34,34,33,33,42,34,34,34,34,34,33,18,33,34,34,34,18,18,18,33,34,18,33,34,34,18,34,34,34,34,34,34],1,"I am proud to present my solo hobby project NAND. This year-long undertaking follows the completed Nand to Tetris course, but ported to the web with its own runtime, user interface, and IDE. Using the \"Load example program\" selector, you can try out some programs I wrote on NAND's emulated hardware such as 2048, a genetic algorithm, and a manual stack overflow to corrupt the screen.\n\nCheck out NAND at https:\u002F\u002Fnand.arhan.sh\n\nAdditionally, I've authored an extensive writeup about the project. Read about it on the GitHub repository's readme.",{"problem":45,"audience":51,"pricing":51,"motivation":52,"time_to_build":56,"stack":60,"openness":61,"stage":62,"team_size":63},{"value":46,"source":47,"evidence":48},"Lets people explore how a computer is built from NAND gates up, via an emulated machine with its own IDE.","maker",[49],{"id":50},"post",null,{"value":53,"source":47,"evidence":54},"Hobby project that follows the Nand to Tetris course, ported to the web.",[55],{"id":50},{"value":57,"source":47,"evidence":58},"Year-long undertaking.",[59],{"id":50},[],"unknown","launched","solo",{"praise":65,"objections":97,"requests":123,"questions":131,"alternatives":146},[66,86],{"value":67,"source":68,"evidence":69},"Impressive achievement and great README documentation.","commenter",[70,74,78,82],{"id":71,"by":72,"text":73},"40161202","rpmw","Wow that is a great side-project, and a great README to boot. I've been meaning on working through Nand to Tetris after playing around some with Ben Eater's 6502 Computer…",{"id":75,"by":76,"text":77},"40161224","fire_ball","this is fantastic! great work...",{"id":79,"by":80,"text":81},"40164776","greenavocado","Incredible achievement! Good job.",{"id":83,"by":84,"text":85},"40195731","BooleanMaestro","The readme is so detailed. God job.",{"value":87,"source":68,"evidence":88},"Good learning resource, deep understanding of abstraction levels.",[89,93],{"id":90,"by":91,"text":92},"40161232","kristopolous","I could make a few college classes out of this. Well done material.",{"id":94,"by":95,"text":96},"40165402","farhanhubble","Great work! You have seen the levels of abstraction that most programmers won't throughout their careers.",[98,109,116],{"value":99,"source":68,"evidence":100},"Seen as a clone of Nand2Tetris or existing gates project.",[101,105],{"id":102,"by":103,"text":104},"40174407","djmips","Isn't this just Nand2Tetris? I've done that course and at a glance this looks the same including the Jack language.",{"id":106,"by":107,"text":108},"40173933","alanjay","Isn't this just https:\u002F\u002Fgithub.com\u002FMarquisdeGeek\u002Fgates ?",{"value":110,"source":68,"evidence":111},"Claimed use of a clock with NAND gates was questioned.",[112],{"id":113,"by":114,"text":115},"40165768","IncreasePosts","Liar. You used NAND gates and a clock.",{"value":117,"source":68,"evidence":118},"E-waste concern if physical chips were used.",[119],{"id":120,"by":121,"text":122},"40180853","SomeoneFromCA","On one hand cool project, on the other - e-waste, unless made of recycled ics.",[124],{"value":125,"source":68,"evidence":126},"Physical or hardware version of the design.",[127],{"id":128,"by":129,"text":130},"40162109","laweijfmvo","Would it be at all feasible to build a physical NAND-to-tetris computer? Or is it purely a virtual exercise?",[132,139],{"value":133,"source":68,"evidence":134},"How many NAND gates are in total?",[135],{"id":136,"by":137,"text":138},"40162214","gmiller123456","Curious, how many NAND gates are there in total?",{"value":140,"source":68,"evidence":141},"Whether ring oscillator clocks converge to a single period.",[142],{"id":143,"by":144,"text":145},"40166077","schoen","How do we know that that will converge to a single constant period of oscillation? Could you have a few different-sized square waves continue to cycle through the circuit? (I've…",[147,154,161,168],{"value":148,"source":68,"evidence":149},"Nand to Tetris (nand2tetris.org)",[150],{"id":151,"by":152,"text":153},"40161492","cyanfrog","https:\u002F\u002Fwww.nand2tetris.org\u002F",{"value":155,"source":68,"evidence":156},"nandgame.com",[157],{"id":158,"by":159,"text":160},"40161524","cweagans","See also https:\u002F\u002Fnandgame.com",{"value":162,"source":68,"evidence":163},"Turing Complete (Steam game)",[164],{"id":165,"by":166,"text":167},"40161489","bramhaag","Turing Complete[0] is a fun game similar to this where you create your own computer from NAND gates, including your own assembly language. [0]…",{"value":169,"source":68,"evidence":170},"MarquisdeGeek\u002Fgates",[171],{"id":106,"by":107,"text":108},{"comments":33,"answered":18,"key":173},[174,177,180],{"id":175,"text":176},"40162205","A few nand2tetris fanatics have actually done this! And by a few, I mean quite a lot of people. Here's one such hardware project of nand2tetris:…",{"id":178,"text":179},"40165814","Oh wow, I didn't actually know that. Thanks for the interesting trivia",{"id":181,"text":182},"40162554","I've inspected my code closely. Every clock cycle, the NAND gate is used 3,234 times :)",{"commenters":184,"max_depth":185,"maker_replies":33,"first_comment_mins":186,"lifespan_hours":187},48,9,137,88,[189,191,193,197,198,201,205,207,210,212,213,215,218,220,224,227,229,232,235,239,242,246,249,252,253,254,257,259,261,263,265,267,269,273,275,276,280,284,286,288,291,294,297,299,300,302,304,308,310,313,316,319,322,324,328,331,334,336,340,343,346,348,351,353,354,358,361,364,367,369,371],[71,34,33,190,72,34],"project\u002Fpositive\u002Fdocs",[128,34,18,192,129,34],"project\u002Fneutral\u002Fidea",[194,34,34,195,196,34],"40162187","other\u002Fneutral\u002Fnone","dailykoder",[175,34,34,195,11,42],[199,34,34,195,200,34],"40162317","moefh",[202,34,34,203,204,34],"40162784","other\u002Fneutral\u002Fidea","dhosek",[206,34,34,195,200,34],"40162975",[208,34,34,195,209,34],"40168001","cellularmitosis",[211,34,34,195,103,34],"40174378",[90,42,33,190,91,34],[102,42,42,214,103,34],"project\u002Fcritical\u002Fidea",[216,42,34,217,91,34],"40175442","commenter\u002Fneutral\u002Fnone",[94,40,33,219,95,34],"maker\u002Fpositive\u002Fnone",[221,18,33,222,223,34],"40161952","project\u002Fpositive\u002Fnone","2OEH8eoCRo0",[225,18,34,195,226,34],"40162189","SilasX",[228,18,34,195,223,34],"40162518",[230,35,34,195,231,34],"40164635","not2b",[233,33,33,222,234,34],"40162604","ryeguy_24",[236,33,33,237,238,34],"40163066","project\u002Fpositive\u002Fidea","marai2",[240,33,34,195,241,34],"40171643","c0wb0yc0d3r",[243,244,33,222,245,34],"40181478",6,"bhasi",[113,247,42,248,114,34],7,"project\u002Fcritical\u002Fnone",[250,247,34,217,251,34],"40165803","userbinator",[178,247,34,217,11,42],[143,247,34,217,144,34],[255,247,34,217,256,34],"40166910","rational_indian",[258,247,34,217,144,34],"40167502",[260,247,34,217,256,34],"40168562",[262,247,34,217,251,34],"40169254",[264,247,34,217,256,34],"40171695",[266,247,34,217,114,34],"40171860",[268,247,34,217,256,34],"40178560",[270,271,33,222,272,34],"40162371",8,"mikestew",[136,185,18,274,137,34],"project\u002Fneutral\u002Fnone",[181,185,34,274,11,42],[277,278,33,237,279,34],"40161537",10,"apienx",[281,282,33,237,283,34],"40162114",11,"Animats",[285,282,34,195,204,34],"40162796",[287,282,34,195,283,34],"40162967",[289,282,34,195,290,34],"40169035","syockit",[292,293,34,195,80,34],"40164785",12,[295,293,34,195,296,34],"40165060","wayoverthecloud",[83,298,33,190,84,34],13,[106,32,42,214,107,34],[79,301,33,222,80,34],15,[120,303,42,248,121,34],16,[305,306,18,192,307,34],"40167489",17,"theanonymousone",[75,309,33,222,76,34],18,[311,312,34,195,251,34],"40164674",19,[314,312,34,195,315,34],"40165016","andai",[317,312,34,195,318,34],"40165026","ajross",[320,312,34,195,321,34],"40172307","a1369209993",[165,323,18,192,166,34],20,[325,326,33,222,327,34],"40162997",21,"elevatedastalt",[329,326,34,195,330,34],"40163099","naikrovek",[332,326,34,195,333,34],"40163281","brailsafe",[335,326,34,195,11,42],"40163520",[337,338,34,195,339,34],"40164933",22,"pyuser583",[341,338,34,342,11,42],"40164977","maker\u002Fneutral\u002Fidea",[344,338,18,345,339,34],"40165055","maker\u002Fneutral\u002Fnone",[347,338,34,195,144,34],"40166104",[349,338,34,217,350,34],"40165295","vitiral",[151,36,34,352,152,34],"other\u002Fneutral\u002Fdocs",[158,36,34,352,159,34],[355,356,34,203,357,34],"40162651",24,"cubefox",[359,356,34,217,360,34],"40163382","tomstuart",[362,356,34,217,363,34],"40166911","DEADMINCE",[365,356,34,217,366,34],"40172268","krallja",[368,356,34,217,357,34],"40168702",[370,356,34,217,360,34],"40171362",[372,356,34,217,357,34],"40180021",[],[375,380,385,389,394,399],{"id":376,"name":377,"points":378,"category":379},"40210627","Extension.js",381,"dev_tools",{"id":381,"name":382,"points":383,"category":384},"40213562","where to stream",335,"consumer_social",{"id":386,"name":387,"points":388,"category":379},"40191510","Dotenv",225,{"id":390,"name":391,"points":392,"category":393},"40222051","Factful",222,"ai",{"id":395,"name":396,"points":397,"category":398},"40173237","Lanki",206,"productivity",{"id":400,"name":401,"points":402,"category":403},"40175087","tscircuit",197,"hardware",false,"v2",{"id":407,"name":5,"line":6,"ai":404,"cat":20,"year":13,"points":14,"comments":15,"rec":29,"s":408,"top":18,"kw":409,"maker":11,"domain":10,"tier":19,"attempts":34,"strip":410,"url":9,"mix":411,"praise":67,"objection":99,"sub":21},40159278,0.42,[24,25,26,27,28],"5300051500551000005350003335035003000000",[32,33,34,35],1794036653742]