[{"data":1,"prerenderedAt":183},["ShallowReactive",2],{"project-18954890":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":9,"maker":10,"posted_at":11,"year":12,"points":13,"comments":14,"rank_in_year":15,"shown_in_year":16,"top":17,"tier":18,"category":19,"subcategory":20,"format":21,"keywords":22,"reception":27,"sentiment":9,"stance_mix":28,"scored_comments":32,"aspects":33,"strip":36,"post_text":38,"what":39,"said":66,"maker_in_thread":108,"shape":117,"grid":121,"attempts":144,"same_week":145,"maker_shows":29,"maker_hidden":175,"reader_version":176,"card":177},"18954890","mini-async-log","Nanosecond C message logger","title","Show HN: Nanosecond C message logger",null,"RafaGC",1548011230,2019,131,9,348,2195,16,"notable","dev_tools","logging library","library",[23,24,25,26],"c logger","wait-free logging","mpsc queue","low latency logging","quiet",{"positive":29,"neutral":30,"mixed":31,"critical":31},1,3,0,4,{"docs":34,"performance":35},{"positive":31,"critical":31},{"positive":31,"critical":31},[30,31,30,31,37,31,30,31,31],5,"Hello,\n\nSome time ago I did a data logger for fun, just to check if I could beat the performance\nof an old C++ project of mine (mini-async-log) and to avoid letting my multithreading-C\nskills rust when on a non-programming gig (using Yocto\u002FOE, very little programming).\n\nThis project is a BSD licensed, producer-wait-free (when using thread-local storage) generic\nmessage logger with high performance, decent test coverage, and type-safe C\nstrings (requires C11 or C++ compiler).\n\nIt was a shame to let this project to die unknown, as I think that it has\npotential to be used on some niches as networ",{"problem":40,"audience":46,"pricing":9,"motivation":50,"time_to_build":9,"stack":54,"openness":63,"stage":64,"team_size":65},{"value":41,"source":42,"evidence":43},"Fast, low-overhead message logging for C programs","maker",[44],{"id":45},"post",{"value":47,"source":42,"evidence":48},"Network programs, HFT, and game developers",[49],{"id":45},{"value":51,"source":42,"evidence":52},"Built for fun to test performance against an older C++ logger and reuse multithreading skills",[53],{"id":45},[55,59],{"value":56,"source":42,"evidence":57},"C11",[58],{"id":45},{"value":60,"source":42,"evidence":61},"C++",[62],{"id":45},"open_source","launched","unknown",{"praise":67,"objections":68,"requests":84,"questions":92,"alternatives":103},[],[69,77],{"value":70,"source":71,"evidence":72},"Unclear what 'nanosecond' in the title means","commenter",[73],{"id":74,"by":75,"text":76},"18955684","alecco","Can you expand a bit? What do you mean by nanosecond? (1,10,100?)",{"value":78,"source":71,"evidence":79},"Benchmarks compare against glog at ERROR severity, which flushes synchronously",[80],{"id":81,"by":82,"text":83},"18955729","shereadsthenews","looking at your benchmarks, I see that you think glog is synchronous. This would be because you are logging at ERROR severity which does indeed flush. Logging at INFO would not…",[85],{"value":86,"source":71,"evidence":87},"Link to the C version, not only the C++ repo",[88],{"id":89,"by":90,"text":91},"18955163","dinglejungle","You seemed to have linked to the C++ version only. The C repo: https:\u002F\u002Fgithub.com\u002FRafaGago\u002Fmini-async-log-c",[93,99],{"value":94,"source":42,"evidence":95},"What machine were the benchmarks run on?",[96],{"id":97,"by":10,"text":98},"18958482","On which machine?",{"value":100,"source":71,"evidence":101},"What does nanosecond refer to in the title?",[102],{"id":74,"by":75,"text":76},[104],{"value":105,"source":71,"evidence":106},"glog",[107],{"id":81,"by":82,"text":83},{"comments":30,"answered":29,"key":109},[110,113,116],{"id":111,"text":112},"18958463","Thank you. It's a shame that I can't edit the original post.",{"id":114,"text":115},"18958466","Oh, I wasn't aware of that.",{"id":97,"text":98},{"commenters":118,"max_depth":119,"maker_replies":30,"first_comment_mins":120,"lifespan_hours":17},7,2,40,[122,124,126,128,130,134,138,139,142],[89,31,30,123,90,31],"project\u002Fneutral\u002Fdocs",[111,31,31,125,10,29],"maker\u002Fneutral\u002Fnone",[81,29,30,127,82,31],"project\u002Fneutral\u002Fperformance",[114,29,31,129,10,29],"commenter\u002Fneutral\u002Fnone",[131,119,37,132,133,31],"18957391","maker\u002Fpositive\u002Fnone","vkaku",[135,119,31,136,137,31],"18959409","other\u002Fneutral\u002Fnone","iampims",[74,30,30,127,75,31],[140,30,31,136,141,31],"18956431","a1369209993",[97,30,31,143,10,29],"maker\u002Fneutral\u002Fperformance",[],[146,151,156,161,166,170],{"id":147,"name":148,"points":149,"category":150},"18975189","Simple Opt Out",233,"security_privacy",{"id":152,"name":153,"points":154,"category":155},"18965729","2read",198,"productivity",{"id":157,"name":158,"points":159,"category":160},"18939145","indigo-player",151,"creative",{"id":162,"name":163,"points":164,"category":165},"18940407","Musish",141,"consumer_social",{"id":167,"name":168,"points":169,"category":19},"18967693","Esy",134,{"id":171,"name":172,"points":173,"category":174},"18929742","Json2graphql",120,"infrastructure",false,"v2",{"id":178,"name":5,"line":6,"ai":175,"cat":19,"year":12,"points":13,"comments":14,"rec":27,"s":9,"top":17,"kw":179,"maker":10,"domain":180,"tier":18,"attempts":31,"strip":181,"url":-1,"mix":182,"praise":-1,"objection":70,"sub":20},18954890,[23,24,25,26],"","303050300",[29,30,31,31],1794036574158]