[{"data":1,"prerenderedAt":374},["ShallowReactive",2],{"project-14587669":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":42,"what":43,"said":75,"maker_in_thread":139,"shape":148,"grid":153,"attempts":336,"same_week":337,"maker_shows":31,"maker_hidden":367,"reader_version":368,"card":369},"14587669","rust-algorithms","Algorithm Cookbook in Rust","title","Show HN: Algorithm Cookbook in Rust","https:\u002F\u002Fgithub.com\u002FEbTech\u002Frust-algorithms","github.com","EbTech",1497886170,2017,320,71,66,2242,3,"legend","learning_science","algorithm cookbook","library",[24,25,26,27],"rust","algorithms","data structures","competitive programming","mixed",-0.24,{"positive":31,"neutral":32,"mixed":31,"critical":33},1,4,5,11,{"execution":36,"docs":38,"idea":40},{"positive":37,"critical":31},0,{"positive":37,"critical":39},2,{"positive":31,"critical":37},[18,37,37,37,18,37,37,37,37,37,37,37,37,31,31,37,37,37,37,37,31,37,37,31,18,37,37,37,37,37,37,37,37,33,37,18,31,37,37,37],null,{"problem":44,"audience":55,"pricing":42,"motivation":63,"time_to_build":42,"stack":68,"openness":73,"stage":74,"team_size":74},{"value":45,"source":46,"evidence":47},"Implementing data structures and algorithms in Rust is hard for newcomers","commenter",[48,52],{"id":49,"by":50,"text":51},"14588002","rustacean","Thank you. But it seems not finished? I am trying to implement some basic data structures and algorithms in Rust, but the compiler nearly kills me. Is there any data structure &…",{"id":53,"by":11,"text":54},"14590348","I made this cookbook specifically to show it doesn't have to be so hard. While designing an industrial-strength data structure library is an advanced skill, there are easier ways…",{"value":56,"source":57,"evidence":58},"Contest programmers and coursework students learning Rust","maker",[59,60],{"id":53,"by":11,"text":54},{"id":61,"by":11,"text":62},"14591543","Suggestions are welcome; I'm still learning Rust. To put context around my provocative comment earlier: I write C++ professionally. C++ is the right choice for my organization,…",{"value":64,"source":57,"evidence":65},"Show that Rust makes data structures and algorithms practical, not just hard",[66,67],{"id":53,"by":11,"text":54},{"id":61,"by":11,"text":62},[69],{"value":70,"source":57,"evidence":71},"Rust",[72],{"id":53,"by":11,"text":54},"open_source","unknown",{"praise":76,"objections":88,"requests":107,"questions":122,"alternatives":134},[77],{"value":78,"source":46,"evidence":79},"Useful learning resource for Rust newcomers",[80,84],{"id":81,"by":82,"text":83},"14588176","bogomipz","This is great. I am curious if anyone else knows of a similar cookbook for Golang.",{"id":85,"by":86,"text":87},"14588957","sjroot","Thanks for sharing this. I did a deep dive into Rust when I was tasked with implementing an interpreter[0] for school, and found the language to be very enjoyable to work in.…",[89,93,100],{"value":90,"source":46,"evidence":91},"Project seems unfinished",[92],{"id":49,"by":50,"text":51},{"value":94,"source":46,"evidence":95},"Code could be more idiomatic and better organized",[96],{"id":97,"by":98,"text":99},"14591033","partycoder","It's not achieving it though. The code could be more idiomatic and the project could have a better file organization.",{"value":101,"source":46,"evidence":102},"Graph representation is not self-explanatory and lacks docs",[103],{"id":104,"by":105,"text":106},"14588508","zeotroph","A graph with the members first, next, and endpoints is not exactly self explanatory, something better than a \"A compact graph representation\" comment would be nice. Especially…",[108,115],{"value":109,"source":46,"evidence":110},"Permissive license such as CC0 for sample code",[111],{"id":112,"by":113,"text":114},"14588092","rectang","MIT license is good, but I always wish that sample code was available under CC0 -- and presented with explicit permission to copy and paste without preservation of notices. (A…",{"value":116,"source":46,"evidence":117},"Add GitHub tags",[118],{"id":119,"by":120,"text":121},"14591582","simplehuman","Just a heads up: please put github tags",[123,127],{"value":124,"source":46,"evidence":125},"Are there Rust data structure tutorials for newbies",[126],{"id":49,"by":50,"text":51},{"value":128,"source":46,"evidence":129},"Why is Rust hard for data structures",[130],{"id":131,"by":132,"text":133},"14590295","freeordead","So what is the point of a language in which things are hard to implement?",[135],{"value":136,"source":46,"evidence":137},"Too Many Linked Lists book",[138],{"id":49,"by":50,"text":51},{"comments":32,"answered":37,"key":140},[141,142,145],{"id":53,"text":54},{"id":143,"text":144},"14590029","Fair point, it's fixed now.",{"id":146,"text":147},"14590300","What's their philosophy? I think Petr was using C# at some point.",{"commenters":149,"max_depth":150,"maker_replies":32,"first_comment_mins":151,"lifespan_hours":152},45,9,41,105,[154,156,160,163,165,167,170,172,174,177,178,181,184,187,190,192,195,199,202,204,207,210,213,216,220,223,226,228,230,232,233,235,238,241,244,246,248,250,251,253,255,257,260,263,266,269,272,275,277,279,282,285,287,289,292,294,296,298,300,302,305,307,310,312,315,320,323,325,328,331,334],[112,37,18,155,113,37],"project\u002Fneutral\u002Fnone",[157,37,37,158,159,37],"14588690","commenter\u002Fneutral\u002Fnone","jay-anderson",[161,37,37,158,162,37],"14588738","peternicky",[164,37,37,158,113,37],"14588869",[166,37,37,158,113,37],"14588809",[168,37,37,158,169,37],"14589575","guelo",[171,37,37,158,159,37],"14589781",[49,31,18,173,50,37],"project\u002Fmixed\u002Fexecution",[175,31,37,158,176,37],"14590234","kazagistar",[131,31,37,158,132,37],[179,31,37,158,180,37],"14590482","tomjakubowski",[182,31,37,158,183,37],"14591134","Groxx",[185,31,37,158,186,37],"14592405","wuch",[188,31,37,158,189,37],"14592614","baq",[191,31,37,158,186,37],"14592823",[193,31,37,158,194,37],"14594885","whyever",[196,31,37,197,198,37],"14590623","other\u002Fneutral\u002Fnone","TuringTest",[200,31,37,197,201,37],"14590839","derefr",[53,31,37,203,11,31],"maker\u002Fneutral\u002Fidea",[205,31,37,158,206,37],"14591155","lgas",[208,31,37,158,209,37],"14591192","Paul-ish",[211,31,37,158,212,37],"14591234","jeeyoungk",[214,31,37,197,215,37],"14593918","geodel",[217,39,31,218,219,37],"14589341","maker\u002Fcritical\u002Fnone","cyber1",[221,39,31,218,222,37],"14589421","sidlls",[224,39,37,158,225,37],"14589540","Buttons840",[227,39,37,158,222,37],"14589622",[143,39,37,229,11,31],"maker\u002Fneutral\u002Fnone",[231,39,37,158,132,37],"14590246",[146,39,37,158,11,31],[234,39,37,158,132,37],"14590361",[236,39,37,158,237,37],"14590644","tormeh",[239,39,37,158,240,37],"14594376","dsacco",[242,39,37,158,243,37],"14594461","steveklabnik",[245,39,37,158,240,37],"14594502",[247,39,37,158,237,37],"14595659",[97,39,31,249,98,37],"project\u002Fcritical\u002Fexecution",[61,39,37,229,11,31],[252,39,37,158,132,37],"14592148",[254,39,37,197,212,37],"14591251",[104,18,31,256,105,37],"project\u002Fcritical\u002Fdocs",[258,18,37,158,259,37],"14590769","fpoling",[261,32,18,155,262,37],"14588986","gerty",[264,32,18,155,265,37],"14590479","daniel_rh",[267,32,37,158,268,37],"14590903","cyphar",[270,32,37,158,271,37],"14593876","adrianN",[273,32,37,158,274,37],"14594523","legulere",[276,32,37,158,268,37],"14594730",[278,32,37,158,262,37],"14591124",[280,32,37,158,281,37],"14592501","int_19h",[283,32,37,158,284,37],"14593850","Santosh83",[286,32,37,158,274,37],"14594537",[288,32,37,158,268,37],"14593301",[290,32,37,158,291,37],"14593583","burntsushi",[293,32,37,158,268,37],"14594608",[295,32,37,158,291,37],"14611688",[297,32,37,158,268,37],"14617834",[299,32,37,158,291,37],"14623700",[81,33,33,301,82,37],"project\u002Fpositive\u002Fidea",[303,33,37,197,304,37],"14589755","peferron",[306,33,37,158,82,37],"14591078",[308,33,37,197,309,37],"14590690","urethrafranklin",[85,311,18,155,86,37],6,[119,313,31,314,120,37],7,"maker\u002Fcritical\u002Fdocs",[316,317,37,318,319,37],"14590026",8,"other\u002Fneutral\u002Fidea","amelius",[321,317,37,322,132,37],"14590286","commenter\u002Fcritical\u002Fidea",[324,317,37,318,183,37],"14590497",[326,317,37,197,327,37],"14593380","lmm",[329,317,37,318,330,37],"14591147","chc",[332,317,37,318,333,37],"14591183","Retra",[335,317,37,197,271,37],"14593895",[],[338,343,348,353,358,362],{"id":339,"name":340,"points":341,"category":342},"14558582","Snips",372,"ai",{"id":344,"name":345,"points":346,"category":347},"14583882","Decaffeinate",361,"languages",{"id":349,"name":350,"points":351,"category":352},"14593906","Copyfish",292,"productivity",{"id":354,"name":355,"points":356,"category":357},"14597485","NBox",286,"security_privacy",{"id":359,"name":360,"points":361,"category":347},"14588333","html5-parser",169,{"id":363,"name":364,"points":365,"category":366},"14597544","Upstart.me",168,"web_saas",false,"v2",{"id":370,"name":5,"line":6,"ai":367,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":29,"top":18,"kw":371,"maker":11,"domain":10,"tier":19,"attempts":37,"strip":372,"url":9,"mix":373,"praise":78,"objection":90,"sub":21},14587669,[24,25,26,27],"3000300000000110000010013000000005031000",[31,32,31,33],1794036556433]