[{"data":1,"prerenderedAt":336},["ShallowReactive",2],{"project-4725210":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":27,"sentiment":28,"stance_mix":29,"scored_comments":34,"aspects":35,"strip":43,"post_text":46,"what":47,"said":64,"maker_in_thread":154,"shape":161,"grid":165,"attempts":300,"same_week":301,"maker_shows":32,"maker_hidden":328,"reader_version":329,"card":330},"4725210","Introducting C+","This is correct.","maker","Show HN: Introducting C+","https:\u002F\u002Fgithub.com\u002Forangeduck\u002FCPlus","github.com","orangeduck",1351721991,2012,148,47,131,1677,8,"notable","languages","c library","library",[21,24,25,26],"gnu99","generic containers","c preprocessor","mixed",-0.154,{"positive":30,"neutral":31,"mixed":32,"critical":33},4,9,2,7,22,{"design":36,"idea":39,"performance":40,"execution":41,"docs":42},{"positive":37,"critical":38},1,0,{"positive":38,"critical":32},{"positive":38,"critical":38},{"positive":32,"critical":37},{"positive":38,"critical":37},[44,44,38,38,38,37,44,38,44,38,38,45,38,37,38,38,37,38,38,44,37,38,45,38,44,38,44,38,44,38,45,44,45,37,38,38,37,37,38,44],3,5,null,{"problem":46,"audience":46,"pricing":46,"motivation":48,"time_to_build":46,"stack":54,"openness":61,"stage":62,"team_size":63},{"value":49,"source":7,"evidence":50},"A student's interesting project being played with",[51],{"id":52,"by":11,"text":53},"4725546","That's a lot of questions. I will do my best to answer them but note I am not trying to sell a language here. I'm just a student and wanted to show an interesting project I'd…",[55],{"value":56,"source":7,"evidence":57},"C (GNU99)",[58],{"id":59,"by":11,"text":60},"4725456","Well Objective C is a separate language entirely. This is just a library for GNU99 C. Point about name noted, open to suggestions :)","open_source","prototype","solo",{"praise":65,"objections":82,"requests":111,"questions":126,"alternatives":138},[66],{"value":67,"source":68,"evidence":69},"Clever use of typedef void pointer and it works","commenter",[70,74,78],{"id":71,"by":72,"text":73},"4725470","eungyu","A+ for clever use of typedef void star",{"id":75,"by":76,"text":77},"4725742","shadowmint","Had a play with it; few oddities, but this is pretty cool. The use of the $ function is totally not portable though, which is a bit of a pity. Doesn't compile on a mac either;…",{"id":79,"by":80,"text":81},"4727044","inoop","On the other hand, this language appears to be working.",[83,98,103],{"value":84,"source":68,"evidence":85},"Name is confusing and not searchable",[86,90,94],{"id":87,"by":88,"text":89},"4725409","codewright","How is this different from Obj-C? Seems mostly like syntax sugar on top of what already exists in C. The call and call_with are intriguing though. Please change the name to…",{"id":91,"by":92,"text":93},"4725442","nthitz","You probably could have chosen a less confusing name..",{"id":95,"by":96,"text":97},"4726013","codgercoder","bad name",{"value":99,"source":68,"evidence":100},"Not type-safe and uses non-portable $ function",[101,102],{"id":52,"by":11,"text":53},{"id":75,"by":76,"text":77},{"value":104,"source":68,"evidence":105},"Fails to compile on Mac with 64-bit pointer warnings",[106,107],{"id":75,"by":76,"text":77},{"id":108,"by":109,"text":110},"4725992","aeroevan","I think that's actually an issue with 64bit pointers :\u002F",[112,120],{"value":113,"source":68,"evidence":114},"Better name",[115,116],{"id":87,"by":88,"text":89},{"id":117,"by":118,"text":119},"4725573","chm","What about \"C&\"? C and Short and easily searchable.",{"value":121,"source":68,"evidence":122},"Documentation of performance and trade-offs",[123],{"id":124,"by":88,"text":125},"4725483","\"Bluegoose C runtime\" What are the performance implications of these features? How do they compare with similar C++ functionality, especially things they do at compile-time? Can…",[127],{"value":128,"source":68,"evidence":129},"Whether stack-allocated values are copied into tables",[130,134],{"id":131,"by":132,"text":133},"4725655","meta","Cool idea. I am confused by the implication of this code ``` var prices = new(Table, String, Int); put(prices, $(String, \"Apple\"), $(Int, 12)); ``` Stack objects are created with…",{"id":135,"by":136,"text":137},"4726417","MetallicCloud","I'm just guessing here, but I assume the variables are created on the stack, then copied into the table object, rather than references being passed to the table. So when the…",[139,147],{"value":140,"source":68,"evidence":141},"Objective-C",[142,143],{"id":87,"by":88,"text":89},{"id":144,"by":145,"text":146},"4725692","jspthrowaway","> Well Objective C is a separate language entirely. Not quite; Objective-C is a superset of C. You can write pure C and compile it as Objective-C all day long. This is an…",{"value":148,"source":68,"evidence":149},"C++ classes and templates",[150],{"id":151,"by":152,"text":153},"4726570","dietrichepp","Out of curiosity, what's wrong with C++? You can always -fno-rtti -fno-exceptions disable everything, then avoid classes and templates.",{"comments":30,"answered":32,"key":155},[156,159,160],{"id":157,"text":158},"4726839","This is correct. \"Table\" is a datatype which copies the values into the table, while \"Dict\" is a data type that holds references to the objects. The same semantics hold for…",{"id":59,"text":60},{"id":52,"text":53},{"commenters":162,"max_depth":30,"maker_replies":30,"first_comment_mins":163,"lifespan_hours":164},40,73,16,[166,168,169,170,174,177,179,181,183,184,185,187,190,193,195,198,201,203,207,209,212,215,219,221,223,226,229,233,234,236,239,244,247,250,254,258,261,265,270,273,276,279,283,285,290,293,296],[131,38,44,167,132,38],"project\u002Fneutral\u002Fdesign",[135,38,44,167,136,38],[157,38,38,167,11,37],[171,37,38,172,173,38],"4726223","other\u002Fneutral\u002Fnone","troymc",[175,37,38,172,176,38],"4727419","philbarr",[87,32,37,178,88,38],"project\u002Fcritical\u002Fidea",[59,32,38,180,11,37],"project\u002Fneutral\u002Fnone",[124,32,44,182,88,38],"project\u002Fneutral\u002Fperformance",[52,32,38,182,11,37],[117,32,44,180,118,38],[144,32,38,186,145,38],"commenter\u002Fneutral\u002Fnone",[188,32,38,186,189,38],"4725875","jballanc",[191,32,38,172,192,38],"4726484","skrebbel",[79,32,45,194,80,38],"project\u002Fpositive\u002Fexecution",[196,44,38,172,197,38],"4725642","sverige",[199,30,37,178,200,38],"4726180","jamesaguilar",[202,30,38,186,192,38],"4726475",[204,30,38,205,206,38],"4726679","commenter\u002Fcritical\u002Fnone","huhtenberg",[91,45,37,208,92,38],"project\u002Fcritical\u002Fnone",[210,45,38,172,211,38],"4725449","fudged71",[213,45,38,172,214,38],"4726824","CarstenW",[216,217,38,172,218,38],"4727350",6,"michaelfeathers",[75,33,44,220,76,38],"project\u002Fmixed\u002Fexecution",[108,33,37,222,109,38],"project\u002Fcritical\u002Fexecution",[224,33,38,225,11,37],"4726862","maker\u002Fneutral\u002Fexecution",[227,33,45,194,228,38],"4727639","eigenrick",[230,18,44,231,232,38],"4726518","project\u002Fneutral\u002Fidea","Meai",[151,18,38,172,152,38],[235,18,44,231,206,38],"4726687",[237,31,38,172,238,38],"4726849","IsTom",[240,241,44,242,243,38],"4725463",10,"project\u002Fmixed\u002Fdesign","dysoco",[245,241,38,172,246,38],"4725549","agentS",[248,241,38,172,249,38],"4725586","stcredzero",[251,252,44,231,253,38],"4726168",11,"ryanashcraft",[255,256,38,172,257,38],"4726390",12,"prtamil",[71,259,45,260,72,38],13,"project\u002Fpositive\u002Fdesign",[262,263,44,167,264,38],"4727572",14,"taken",[266,267,45,268,269,38],"4725731",15,"project\u002Fpositive\u002Fnone","crudbug",[271,164,37,208,272,38],"4725471","areorui",[274,164,38,186,275,38],"4725482","3rd3",[277,164,38,205,278,38],"4725704","robomartin",[280,281,38,172,282,38],"4726278",17,"nsp",[95,284,37,208,96,38],18,[286,287,37,288,289,38],"4726758",19,"project\u002Fcritical\u002Fdocs","nnq",[291,287,38,186,292,38],"4726815","rytis",[294,287,38,295,289,38],"4726823","commenter\u002Fcritical\u002Fdocs",[297,287,44,298,299,38],"4726820","project\u002Fneutral\u002Fdocs","Nursie",[],[302,307,312,316,320,324],{"id":303,"name":304,"points":305,"category":306},"4723591","Circular",160,"productivity",{"id":308,"name":309,"points":310,"category":311},"4725396","Python Tools for Visual Studio (PTVS)",139,"dev_tools",{"id":313,"name":314,"points":315,"category":311},"4713110","Propeller",126,{"id":317,"name":318,"points":315,"category":319},"4714088","Django drip","web_saas",{"id":321,"name":322,"points":323,"category":311},"4706037","violin",105,{"id":325,"name":326,"points":327,"category":319},"4715237","Userfox (YC S11)",100,false,"v2",{"id":331,"name":5,"line":6,"ai":328,"cat":20,"year":13,"points":14,"comments":15,"rec":27,"s":332,"top":18,"kw":333,"maker":11,"domain":10,"tier":19,"attempts":38,"strip":334,"url":9,"mix":335,"praise":67,"objection":84,"sub":21},4725210,-0.15,[21,24,25,26],"3300013030050100100310503030305351001103",[30,31,32,33],1793990886961]