[{"data":1,"prerenderedAt":245},["ShallowReactive",2],{"project-20047051":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":35,"aspects":36,"strip":41,"post_text":43,"what":44,"said":61,"maker_in_thread":157,"shape":159,"grid":164,"attempts":205,"same_week":206,"maker_shows":236,"maker_hidden":237,"reader_version":238,"card":239},"20047051","Wasmer","A Go library for executing WebAssembly binaries","title","Show HN: Wasmer – A Go library for executing WebAssembly binaries","https:\u002F\u002Fgithub.com\u002Fwasmerio\u002Fgo-ext-wasm","github.com","syrusakbary",1559174863,2019,44,20,853,2195,39,"shown","languages","webassembly runtime library","library",[24,25,26,27],"webassembly","wasm runtime","go library","wasm embedding","mixed",-0.042,{"positive":31,"neutral":32,"mixed":33,"critical":34},2,4,0,3,9,{"idea":37,"docs":39,"performance":40},{"positive":31,"critical":38},1,{"positive":33,"critical":31},{"positive":33,"critical":33},[34,33,33,34,38,42,33,33,33,33,33,33,33,33,42,33,38,34,38,34],5,null,{"problem":45,"audience":43,"pricing":43,"motivation":43,"time_to_build":43,"stack":51,"openness":60,"stage":60,"team_size":60},{"value":46,"source":47,"evidence":48},"Running WebAssembly binaries from Go programs","maker",[49],{"id":50},"post",[52,56],{"value":53,"source":47,"evidence":54},"Go",[55],{"id":50},{"value":57,"source":47,"evidence":58},"WebAssembly",[59],{"id":50},"unknown",{"praise":62,"objections":86,"requests":112,"questions":120,"alternatives":136},[63,71],{"value":64,"source":65,"evidence":66},"Wasmer has been a 'less talk more action' project","commenter",[67],{"id":68,"by":69,"text":70},"20049448","jedisct1","WebAssembly is still being designed as we speak, but I love how Wasmer has been the \"less talk more action\" actor since the beginning. That being said, and while it's cool to be…",{"value":72,"source":65,"evidence":73},"Cross-language reuse of compiled code via WebAssembly is useful",[74,78,82],{"id":75,"by":76,"text":77},"20049674","mbzi","> \"I'd love to hear about some actual use case for this\" I use WebAssembly for non security critical but fun in browser Augmented Reality experiences. We have an ever improving…",{"id":79,"by":80,"text":81},"20050407","8lall0","You can use wasm as a lingua franca between languages if you have some good libraries or programs that you want to share.",{"id":83,"by":84,"text":85},"20054090","chownie","Because libmysql.wasm runs on any platform whereas libmysql.so has to be replaced with libmysql.dll on windows.",[87,94,102],{"value":88,"source":65,"evidence":89},"Unclear use case versus existing shared libraries and FFI",[90,91],{"id":68,"by":69,"text":70},{"id":92,"by":69,"text":93},"20052509","Like... a shared library? I have a single libmysql.so file installed on my system, and it's used by Python, Ruby, C and PHP. Why should I replace libmysql.so with libmysql.wasm?",{"value":95,"source":65,"evidence":96},"WebAssembly still being designed and debated versus Java and earlier attempts",[97,98],{"id":68,"by":69,"text":70},{"id":99,"by":100,"text":101},"20069818","pjmlp","All previous attempts, starting all way the back to UNCOL in 1958? WASM only exists due to political reasons of Mozilla not embracing PNaCL. If Chrome already had the current…",{"value":103,"source":65,"evidence":104},"Name 'Wasmer' confuses with the umbrella project",[105,109],{"id":106,"by":107,"text":108},"20048270","skybrian","This seems a bit confusing since \"Wasmer\" is also the name of the umbrella project.",{"id":110,"by":107,"text":111},"20050775","The more usual solution would be to use a longer name containing \"Wasmer\". So, \"Wasmer Go Library\" or \"Wasmer for Go\" or something like that.",[113],{"value":114,"source":65,"evidence":115},"Add a native baseline to the benchmark",[116],{"id":117,"by":118,"text":119},"20048860","kstenerud","Very cool! Could you add \"native\" to the benchmark so that we get a better idea of the scale?",[121,128],{"value":122,"source":65,"evidence":123},"What is the practical use case for calling WebAssembly from Go or PHP?",[124,125],{"id":68,"by":69,"text":70},{"id":126,"by":69,"text":127},"20050330","Sure, but this is off-topic. My question was about why one would want to call WebAssembly functions from Go or PHP.",{"value":129,"source":65,"evidence":130},"Why not just use a shared library?",[131,132],{"id":92,"by":69,"text":93},{"id":133,"by":134,"text":135},"20056528","solidsnack9000","A shared library isn’t really shareable across OSes or platforms. The neat thing about a WASM library is you can load it in your browser, in your native app or in your Python…",[137,142,152],{"value":138,"source":65,"evidence":139},"Shared libraries and FFI",[140,141],{"id":68,"by":69,"text":70},{"id":92,"by":69,"text":93},{"value":143,"source":65,"evidence":144},"Java bytecode",[145,149],{"id":146,"by":147,"text":148},"20069642","asdkhadsj","But that's not a bad thing. To me it appears better than previous attempts, I heavily look forward to it. The HN drama around WASM and cries of the days of Java always leave me…",{"id":150,"by":147,"text":151},"20075408","And if Java managed to get a hold we'd be asking why this is better than Java (which doesn't exist with these features in this manner). That's the point. It's seemingly good, and…",{"value":153,"source":65,"evidence":154},"ASM.js",[155,156],{"id":75,"by":76,"text":77},{"id":150,"by":147,"text":151},{"comments":33,"answered":33,"key":158},[],{"commenters":160,"max_depth":161,"maker_replies":33,"first_comment_mins":162,"lifespan_hours":163},10,14,237,165,[165,167,169,170,171,173,175,178,180,182,184,186,188,190,192,193,195,197,201,203],[68,33,34,166,69,33],"project\u002Fneutral\u002Fidea",[75,33,33,168,76,33],"commenter\u002Fneutral\u002Fnone",[126,33,33,168,69,33],[79,33,34,166,80,33],[92,33,38,172,69,33],"project\u002Fcritical\u002Fidea",[83,33,42,174,84,33],"project\u002Fpositive\u002Fidea",[176,33,33,177,100,33],"20058737","commenter\u002Fcritical\u002Fidea",[179,33,33,168,147,33],"20062671",[181,33,33,168,100,33],"20064539",[146,33,33,183,147,33],"other\u002Fneutral\u002Fnone",[99,33,33,185,100,33],"other\u002Fcritical\u002Fnone",[150,33,33,187,147,33],"other\u002Fpositive\u002Fnone",[189,33,33,185,100,33],"20081013",[191,33,33,168,147,33],"20109293",[133,33,42,174,134,33],[194,33,33,183,100,33],"20058741",[106,38,38,196,107,33],"project\u002Fcritical\u002Fdocs",[198,38,34,199,200,33],"20048844","maker\u002Fneutral\u002Fdocs","peter998",[110,38,38,202,107,33],"maker\u002Fcritical\u002Fdocs",[117,31,34,204,118,33],"maker\u002Fneutral\u002Fperformance",[],[207,212,217,221,226,231],{"id":208,"name":209,"points":210,"category":211},"20105567","Bloom",747,"web_saas",{"id":213,"name":214,"points":215,"category":216},"20094866","html_wysiwyg",633,"dev_tools",{"id":218,"name":219,"points":220,"category":216},"20060549","medium-to-own-blog",494,{"id":222,"name":223,"points":224,"category":225},"20081488","ZeroHTTPd",472,"learning_science",{"id":227,"name":228,"points":229,"category":230},"20101381","mlsql",209,"ai",{"id":232,"name":233,"points":234,"category":235},"20049075","notational-fzf-vim",171,"productivity",7,false,"v2",{"id":240,"name":5,"line":6,"ai":237,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":241,"top":18,"kw":242,"maker":11,"domain":10,"tier":19,"attempts":33,"strip":243,"url":9,"mix":244,"praise":64,"objection":88,"sub":21},20047051,-0.04,[24,25,26,27],"30031500000000501313",[31,32,33,34],1794036578026]