{"id":127450,"date":"2020-01-21T13:27:39","date_gmt":"2020-01-21T05:27:39","guid":{"rendered":"http:\/\/4563.org\/?p=127450"},"modified":"2020-01-21T13:27:39","modified_gmt":"2020-01-21T05:27:39","slug":"%e6%9c%89%e6%83%b3%e5%8f%82%e4%b8%8e-go-%e5%bc%80%e6%ba%90%e9%a1%b9%e7%9b%ae%e7%9a%84%e5%90%97%ef%bc%9f%e6%9c%89%e4%b8%80%e4%b8%aa%e7%ae%80%e5%8d%95%e4%bd%86%e5%a5%bd%e7%8e%a9%e7%9a%84%ef%bc%8c","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=127450","title":{"rendered":"\u6709\u60f3\u53c2\u4e0e go \u5f00\u6e90\u9879\u76ee\u7684\u5417\uff1f\u6709\u4e00\u4e2a\u7b80\u5355\u4f46\u597d\u73a9\u7684\uff0c\u5b9e\u73b0 go \u6cdb\u578b"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u6709\u60f3\u53c2\u4e0e go \u5f00\u6e90\u9879\u76ee\u7684\u5417\uff1f\u6709\u4e00\u4e2a\u7b80\u5355\u4f46\u597d\u73a9\u7684\uff0c\u5b9e\u73b0 go \u6cdb\u578b               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ChristopherWu <\/span>  <span><i><\/i> 10<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u7b49\u4e0d\u53ca go \u6cdb\u578b\u53d1\u5e03\uff0c\u6211\u5148\u5b9e\u73b0\u4e86\uff08\u7c7b\u4f3c C++ \u7684 template \uff09      <\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>10<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"2130042\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zzzzeno <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5c71\u8001\u5e08\uff01\u6c38\u8fdc\u6ef4\u795e\uff01                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2130043\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : ChristopherWu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @zzzzeno                                                             <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2130044\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : fiypig <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u80fd\u529b\u6709\u9650 ,\u652f\u6301\u4e00\u4e0b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2130045\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zzzzeno <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u662f\u5c0f\u83dc\u9e21\u5e08\u5f1f\uff0c\u9879\u76ee\u4e4b\u524d\u5c31\u662f\u6211\u548c\u5c71\u8001\u5e08\u4e24\u4e2a\u4eba\u4e00\u8d77\u5728\u641e\u3002\u8bb2\u9053\u7406\u6211\u89c9\u5f97\u9879\u76ee\u7684 idea \u8d85\u9177                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2130046\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Jirajine <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u4e0d\u5c31\u662f monomorphization \u4e48\uff0c\u7f3a\u70b9\u662f\u4e0d\u591f\u52a8\u6001\u548c\u4f53\u79ef\u75af\u6da8\uff0c\u597d\u5904\u662f\u96f6\u5f00\u9500\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2130047\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : ChristopherWu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Jirajine \u5bf9\uff0c\u624d\u77e5\u9053`Monomorphization means generating specialized versions of generic functions.`                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2130048\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ccpp132 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u89c9\u5f97\u4e0d\u5982\u50cf java \u90a3\u6837\u7f16\u8bd1\u671f\u68c0\u67e5+\u8fd0\u884c\u65f6\u64e6\u9664\u7c7b\u578b\u4fe1\u606f\u7528\u540c\u4e00\u4efd code \u3002<br \/>Go \u7684\u6027\u80fd\u8fd8\u4e0d\u503c\u5f97 C++ Template \u7684\u641e\u6cd5\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2130049\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : ChristopherWu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @ccpp132 \u90a3\u8981\u53d1\u660e\u65b0\u8bed\u6cd5\uff0c\u5bf9\u4e8e\u6ca1\u6709\u5f71\u54cd\u529b\u7684\u4eba\uff0c\u5f88\u96be\u771f\u6b63\u6d41\u884c\u51fa\u53bb\u7684\uff0c\u54c8\u54c8\u3002<br \/>\u73b0\u5728\u6211\u8fd9\u4e2a\u65b9\u6cd5\u662f\u6298\u4e2d\uff0c\u63d0\u4f9b\u4e24\u4efd\u7248\u672c\uff0c\u8bed\u6cd5\u6ca1\u6709\u4efb\u4f55\u53d8\u52a8\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2130050\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : OakScript <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u53ef\u4ee5\u7406\u89e3\u6210\u628a linker \u7684\u90e8\u5206\u901a\u8fc7\u96c6\u6210\u5230 go generate \u7684\u65b9\u5f0f\u751f\u6210\u4ee3\u7801\u6765\u505a\uff1f\u611f\u89c9\u5e94\u8be5\u662f\u6ca1\u5565\u95ee\u9898\u7684\uff0c\u9664\u4e86\u4ee3\u7801\u4f53\u79ef\u81a8\u80c0\u4e4b\u5916                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2130051\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : ChristopherWu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @OakScript \u5bf9\u7684\uff0c\u662f\u8fd9\u6837\u5b50\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u6709\u60f3\u53c2\u4e0e go \u5f00\u6e90\u9879\u76ee\u7684\u5417\uff1f\u6709\u4e00&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/127450"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=127450"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/127450\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=127450"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=127450"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=127450"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}