[{"data":1,"prerenderedAt":241},["ShallowReactive",2],{"project-14395087":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":28,"sentiment":29,"stance_mix":30,"scored_comments":34,"aspects":35,"strip":41,"post_text":43,"what":44,"said":72,"maker_in_thread":135,"shape":145,"grid":149,"attempts":203,"same_week":204,"maker_shows":39,"maker_hidden":233,"reader_version":234,"card":235},"14395087","wireworld-nim","Wireworld written in Nim","title","Show HN: Wireworld written in Nim","https:\u002F\u002Fgithub.com\u002FJHonaker\u002Fwireworld-nim","github.com","JHonaker",1495471950,2017,115,24,377,2242,17,"notable","languages","cellular automaton implementation","desktop_app",[24,25,26,27],"wireworld","nim","cellular automaton","sdl2","loved",0.357,{"positive":31,"neutral":32,"mixed":33,"critical":33},4,2,0,6,{"execution":36,"idea":38,"docs":40},{"positive":37,"critical":33},3,{"positive":39,"critical":33},1,{"positive":33,"critical":33},[33,33,33,42,42,33,33,42,33,37,33,33,33,33,42,33,33,33,33,33,33,37,33,33],5,null,{"problem":43,"audience":43,"pricing":43,"motivation":45,"time_to_build":56,"stack":60,"openness":69,"stage":70,"team_size":71},{"value":46,"source":47,"evidence":48},"Learning the Nim language by building something other than Conway's Game of Life","maker",[49,53],{"id":50,"by":51,"text":52},"14395665","blaze33","> Everyone knows the classic example of cellular automata, Conway’s Game of Life. Instead of rehashing an implementation of that, I wanted to build something just a little bit…",{"id":54,"by":11,"text":55},"14395584","Author here, I spent this weekend making an implementation of a lesser known (to me at least) cellular automaton, Wireworld. It was my first non-trivial project in Nim. I had a…",{"value":57,"source":47,"evidence":58},"A weekend",[59],{"id":54,"by":11,"text":55},[61,65],{"value":62,"source":47,"evidence":63},"Nim",[64],{"id":54,"by":11,"text":55},{"value":66,"source":47,"evidence":67},"SDL 2",[68],{"id":54,"by":11,"text":55},"open_source","unknown","solo",{"praise":73,"objections":101,"requests":113,"questions":125,"alternatives":130},[74,90],{"value":75,"source":76,"evidence":77},"Nim is a pleasant, fast language with small native executables","commenter",[78,82,86],{"id":79,"by":80,"text":81},"14395458","cookiecaper","It's cool to see Nim getting more visibility. It's a cutting-edge language that gets overshadowed just because it doesn't have MegaTechCo's name behind it.",{"id":83,"by":84,"text":85},"14395549","throwaway7645","It's really nice for the small hobby projects I do. Small native executables is great.",{"id":87,"by":88,"text":89},"14396710","rwbt","Nim is probably the most easiest language I've picked up. It's a delight to program in Nim and the performance is stellar (beats hand coded C in many cases). It's a rare feat…",{"value":91,"source":76,"evidence":92},"Code is brief and well written",[93,97],{"id":94,"by":95,"text":96},"14395671","sevensor","284 lines! I'm impressed by the brevity. Were the SDL bindings as straightforward to use as they appear?",{"id":98,"by":99,"text":100},"14395941","dom96","This is really well written, thank you for taking the time to post it to HN to give Nim a bit of visibility. Have you considered using Nim's JS back end to make it work in the…",[102],{"value":103,"source":76,"evidence":104},"Garbage collection raises performance concerns versus C",[105,109],{"id":106,"by":107,"text":108},"14397557","swah","Be very careful about stating that GC'ed languages beat C - jblow might appear suddenly to correct you... with pure common sense.",{"id":110,"by":111,"text":112},"14402772","captainmuon","Common sense says that non-GC languages should beat GC languages, but there are actually cases where GCs can be faster. In particular, allocating memory can be just incrementing…",[114,118],{"value":115,"source":76,"evidence":116},"Browser version via Nim's JS backend",[117],{"id":98,"by":99,"text":100},{"value":119,"source":76,"evidence":120},"Implement loading logic for complex circuits such as the computer file",[121],{"id":122,"by":123,"text":124},"14419902","dested","https:\u002F\u002Fgithub.com\u002Fdested\u002FWireWorld\u002Fblob\u002Fmaster\u002FWireWorldWindows\u002Fshoes%2037.txt This is the file for the computer, shoot me an email if you ever get around to implementing it.…",[126],{"value":127,"source":76,"evidence":128},"Were the SDL bindings easy to use?",[129],{"id":94,"by":95,"text":96},[131],{"value":132,"source":76,"evidence":133},"Game of Life implementations posted in the other thread",[134],{"id":50,"by":51,"text":52},{"comments":136,"answered":37,"key":137},7,[138,139,142],{"id":54,"text":55},{"id":140,"text":141},"14396035","It was complete coincidence. I was trying to think of something fun, and slightly more complicated than hello world or the simple dice roller I whipped up. Your GoL…",{"id":143,"text":144},"14396000","I actually used a few snippets of this tutorial to figure out how to use the SDL bindings. I'd never used SDL before.",{"commenters":146,"max_depth":31,"maker_replies":136,"first_comment_mins":147,"lifespan_hours":148},15,44,76,[150,152,154,155,157,160,162,164,167,169,170,172,173,176,180,181,184,186,188,190,193,194,198,201],[54,33,33,151,11,39],"project\u002Fneutral\u002Fidea",[50,33,33,153,51,33],"commenter\u002Fneutral\u002Fnone",[140,33,33,153,11,39],[94,33,42,156,95,33],"project\u002Fpositive\u002Fexecution",[158,33,42,156,159,33],"14395814","Jach",[143,33,33,161,11,39],"maker\u002Fneutral\u002Fnone",[163,33,33,156,11,39],"14396018",[165,33,42,166,123,33],"14397633","project\u002Fpositive\u002Fidea",[168,33,33,161,11,39],"14397885",[122,33,37,161,123,33],[79,39,33,171,80,33],"other\u002Fpositive\u002Fnone",[83,39,33,171,84,33],[174,39,33,171,175,33],"14396751","squarefoot",[177,39,33,178,179,33],"14398201","other\u002Fneutral\u002Fnone","kevin_thibedeau",[98,32,42,156,99,33],[182,32,33,183,11,39],"14396580","project\u002Fneutral\u002Fnone",[87,37,33,185,88,33],"other\u002Fpositive\u002Fperformance",[106,37,33,187,107,33],"commenter\u002Fneutral\u002Fperformance",[189,37,33,185,88,33],"14397931",[191,37,33,187,192,33],"14399160","pjmlp",[110,37,33,187,111,33],[195,31,37,196,197,33],"14397197","project\u002Fneutral\u002Fdocs","Cieplak",[199,31,33,200,11,39],"14397415","maker\u002Fneutral\u002Fdocs",[202,42,33,171,84,33],"14395468",[],[205,210,215,220,224,229],{"id":206,"name":207,"points":208,"category":209},"14409760","Notational",257,"productivity",{"id":211,"name":212,"points":213,"category":214},"14411328","Funky Karts",251,"games",{"id":216,"name":217,"points":218,"category":219},"14402738","Triplebyte quiz",227,"learning_science",{"id":221,"name":222,"points":223,"category":20},"14409553","browseemall.com",129,{"id":225,"name":226,"points":227,"category":228},"14409255","fontjoy",121,"creative",{"id":230,"name":231,"points":232,"category":228},"14376821","mjmdavis.com",109,false,"v2",{"id":236,"name":5,"line":6,"ai":233,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":237,"top":18,"kw":238,"maker":11,"domain":10,"tier":19,"attempts":33,"strip":239,"url":9,"mix":240,"praise":75,"objection":103,"sub":21},14395087,0.36,[24,25,26,27],"000550050300005000000300",[31,32,33,33],1794036555467]