[{"data":1,"prerenderedAt":287},["ShallowReactive",2],{"project-41591449":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":35,"aspects":36,"strip":42,"post_text":43,"what":44,"said":66,"maker_in_thread":132,"shape":134,"grid":139,"attempts":250,"same_week":251,"maker_shows":38,"maker_hidden":280,"reader_version":281,"card":282},"41591449","Chili","Chili. Rust port of Spice, a low-overhead parallelization library","title","Show HN: Chili. Rust port of Spice, a low-overhead parallelization library","https:\u002F\u002Fgithub.com\u002Fdragostis\u002Fchili","github.com","dragostis",1726751061,2024,233,42,317,3515,10,"notable","languages","parallelization library","library",[24,25,26,27,28],"rust","parallelization","rayon","work stealing","low overhead","loved",0.27,{"positive":32,"neutral":33,"mixed":34,"critical":34},5,7,0,12,{"performance":37,"idea":39,"docs":41},{"positive":38,"critical":34},3,{"positive":40,"critical":34},1,{"positive":40,"critical":34},[32,34,32,34,34,34,34,34,34,34,34,38,32,38,34,38,32,32,34,38,38,38,38,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34],null,{"problem":45,"audience":43,"pricing":43,"motivation":43,"time_to_build":43,"stack":57,"openness":65,"stage":65,"team_size":65},{"value":46,"source":47,"evidence":48},"Parallelizing small or short workloads with less overhead than rayon","commenter",[49,53],{"id":50,"by":51,"text":52},"41591904","dangoodmanUT","I love this, the overhead of rayon always made it hard to gauge whether to use it for small operations (or could be small operations). This seems to solve that, at least for…",{"id":54,"by":55,"text":56},"41592787","nestorD","Rayon is known to have a higher overhead for the simple, and arguably most common case in numerical codes, static block size scheduling. Things get better, and you start to…",[58],{"value":59,"source":47,"evidence":60},"Rust",[61],{"id":62,"by":63,"text":64},"41595166","thayne","Well, for one thing OpenMP is a c\u002Fc++ library, and chili and rayon are rust libraries. It's probably possible to use openmp from rust, but the interface probably isn't as nice,…","unknown",{"praise":67,"objections":83,"requests":91,"questions":103,"alternatives":111},[68,76],{"value":69,"source":47,"evidence":70},"Low overhead makes it useful for small operations where rayon's overhead is a barrier",[71,72],{"id":50,"by":51,"text":52},{"id":73,"by":74,"text":75},"41594349","internetter","Relatively, Rayon is higher overhead",{"value":77,"source":47,"evidence":78},"Clever approach explained clearly in Spice README",[79],{"id":80,"by":81,"text":82},"41595950","bee_rider","Thanks. That’s some pretty clever stuff, with a nice intuitive description.",[84],{"value":85,"source":47,"evidence":86},"Low-overhead claim questioned as vague marketing",[87],{"id":88,"by":89,"text":90},"41594118","zbowling","> a \"low-overhead\" parallelization library Who is out here building high-overhead parallelization libraries?",[92],{"value":93,"source":47,"evidence":94},"Blog post or benchmark explaining how it beats rayon",[95,99],{"id":96,"by":97,"text":98},"41594313","gfs","I would love to see a blog post or more detail about how this implementation works and why it can beat rayon in some cases.",{"id":100,"by":101,"text":102},"41595601","marmaduke","That’s what I was wondering. Iiuc openmp uses work stealing and the spice readme talks about the inefficiency of that:…",[104],{"value":105,"source":47,"evidence":106},"How does it compare to OpenMP?",[107,110],{"id":108,"by":81,"text":109},"41592732","Out of curiosity, how do Spice\u002FChili\u002FRayon compare against the boring answer, OpenMP? I guess they must have some really neat capabilities.",{"id":62,"by":63,"text":64},[112,117,122],{"value":113,"source":47,"evidence":114},"Rayon",[115,116],{"id":54,"by":55,"text":56},{"id":73,"by":74,"text":75},{"value":118,"source":47,"evidence":119},"OpenMP",[120,121],{"id":108,"by":81,"text":109},{"id":62,"by":63,"text":64},{"value":123,"source":47,"evidence":124},"Ray (ray.io)",[125,129],{"id":126,"by":127,"text":128},"41594538","jmakov","Is there anything like ray.io in rust? Nobody running computations on clusters in rust?",{"id":130,"by":127,"text":131},"41596490","ray.io seems to be doing pretty well financially...",{"comments":34,"answered":34,"key":133},[],{"commenters":135,"max_depth":136,"maker_replies":34,"first_comment_mins":137,"lifespan_hours":138},35,6,29,31,[140,142,144,145,148,151,154,157,161,164,167,169,172,173,175,177,178,181,183,186,189,192,195,198,201,202,205,206,208,211,214,217,220,223,226,229,232,235,238,241,244,246],[50,34,32,141,51,34],"project\u002Fpositive\u002Fperformance",[88,40,34,143,89,34],"commenter\u002Fneutral\u002Fnone",[73,40,32,141,74,34],[146,40,34,143,147,34],"41594369","zamalek",[149,40,34,143,150,34],"41594986","andrepd",[152,40,34,143,153,34],"41597244","therein",[155,40,34,143,156,34],"41597492","bravetraveler",[158,40,34,159,160,34],"41599401","other\u002Fneutral\u002Fnone","bionsystem",[162,40,34,159,163,34],"41600507","tonyhart7",[165,40,34,159,166,34],"41600891","silon42",[168,40,34,159,156,34],"41596765",[108,170,38,171,81,34],2,"project\u002Fneutral\u002Fperformance",[54,170,32,141,55,34],[62,170,38,174,63,34],"project\u002Fneutral\u002Fnone",[176,170,34,159,81,34],"41595794",[100,170,38,171,101,34],[179,170,32,180,101,34],"41595650","project\u002Fpositive\u002Fidea",[80,170,32,182,81,34],"project\u002Fpositive\u002Fdocs",[184,170,34,159,185,34],"41604966","jgtrosh",[187,38,34,159,188,34],"41597035","aspensmonster",[96,190,38,191,97,34],4,"project\u002Fneutral\u002Fdocs",[193,190,38,191,194,34],"41594721","judofyr",[196,190,38,191,197,34],"41597472","memco",[199,32,38,174,200,34],"41598769","clarkmcc",[126,136,34,159,127,34],[203,136,34,159,204,34],"41596330","aidanhs",[130,136,34,159,127,34],[207,136,34,159,204,34],"41596574",[209,33,34,159,210,34],"41591683","n8henrie",[212,33,34,159,213,34],"41591707","skipkey",[215,33,34,159,216,34],"41591847","andyferris",[218,33,34,159,219,34],"41591887","anamexis",[221,33,34,159,222,34],"41594281","ithkuil",[224,33,34,159,225,34],"41594312","darby_nine",[227,33,34,159,228,34],"41591956","saghm",[230,33,34,159,231,34],"41592273","aidenn0",[233,33,34,159,234,34],"41592574","ralegh",[236,33,34,159,237,34],"41595985","twic",[239,33,34,159,240,34],"41592359","hombre_fatal",[242,33,34,159,243,34],"41593939","beepbooptheory",[245,33,34,159,63,34],"41595207",[247,248,34,159,249,34],"41594339",8,"jnordwick",[],[252,257,262,266,271,276],{"id":253,"name":254,"points":255,"category":256},"41635592","OpenFreeMap",848,"infrastructure",{"id":258,"name":259,"points":260,"category":261},"41604262","Container Desktop",464,"dev_tools",{"id":263,"name":264,"points":265,"category":261},"41591018","Sidekick",452,{"id":267,"name":268,"points":269,"category":270},"41609947","Time Flies",401,"creative",{"id":272,"name":273,"points":274,"category":275},"41603865","AnySkin",390,"hardware",{"id":277,"name":278,"points":279,"category":256},"41642151","blogtech",303,false,"v2",{"id":283,"name":5,"line":6,"ai":280,"cat":20,"year":13,"points":14,"comments":15,"rec":29,"s":30,"top":18,"kw":284,"maker":11,"domain":10,"tier":19,"attempts":34,"strip":285,"url":9,"mix":286,"praise":69,"objection":85,"sub":21},41591449,[24,25,26,27,28],"5050000000035303550333300000000000000000",[32,33,34,34],1793991100656]