{"id":323483,"date":"2021-02-06T22:18:12","date_gmt":"2021-02-06T14:18:12","guid":{"rendered":"http:\/\/4563.org\/?p=323483"},"modified":"2021-02-06T22:18:12","modified_gmt":"2021-02-06T14:18:12","slug":"%e6%9c%89%e6%b2%a1%e6%9c%89%e4%ba%ba%e4%bd%bf%e7%94%a8%e4%b8%ad%e6%96%87%e5%91%bd%e5%90%8d%e5%8f%98%e9%87%8f%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=323483","title":{"rendered":"\u6709\u6ca1\u6709\u4eba\u4f7f\u7528\u4e2d\u6587\u547d\u540d\u53d8\u91cf\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u6709\u6ca1\u6709\u4eba\u4f7f\u7528\u4e2d\u6587\u547d\u540d\u53d8\u91cf\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Vinty <\/span>  <span><i><\/i> 1<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u5929\u5929\u60f3\u53d8\u91cf\u540d\u7ffb\u5b57\u5178\u90fd\u5934\u75bc\uff0c\u60f3\u8981\u5c1d\u8bd5\u7528\u4e2d\u6587\u547d\u540d\u53d8\u91cf\u3002<\/p>\n<p>\u521a\u5f00\u59cb\u5c31\u9047\u5230\u4e00\u4e2a\u95ee\u9898\uff0c\u82f1\u6587\u4e0b\u9762\u6211\u53ef\u4ee5\u7528<code>OrderType<\/code>\u8868\u793a\u7c7b\u540d\uff0c<code>orderType<\/code>\u8868\u793a\u53d8\u91cf\u3002<\/p>\n<p>\u6362\u5230\u4e2d\u6587\uff0c\u6211\u6ca1\u60f3\u5230\u6709\u4ec0\u4e48\u597d\u7684\u5904\u7406\u65b9\u6cd5\uff0c\u6709\u6ca1\u6709\u6709\u7ecf\u9a8c\u7684\u5927\u4f6c\u53ef\u4ee5\u8bb2\u8bb2\u4e00\u4e9b\u7ecf\u9a8c\u3002<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>12<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"5206523\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : kop1989 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u626b\u4e86\u773c\u6613\u8bed\u8a00\u7684\u8bed\u6cd5\u3002<br \/>\u597d\u50cf\u786e\u5b9e\u4e0d\u597d\u533a\u5206\u53d8\u91cf \/\u5bf9\u8c61\u4e0e\u7c7b\u540d\u3002<br \/>\u627e\u5230\u7684\u4f8b\u5b50\uff1a<br \/> \u731c\u6570\u5b57 \u731c = \u521b\u5efa \u731c\u6570\u5b57();<br \/> \/\/\u731c\u6570\u5b57 \u731c = \u521b\u5efa \u5168\u81ea\u52a8\u731c\u6570\u5b57();<br \/> \u731c.\u731c();                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5206524\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : renmu123 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u52a8\u7269\u7c7b\uff0cxx \u52a8\u7269\uff0cxx \u52a8\u7269\u5b9e\u4f8b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5206525\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : eason1874 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u6709\u5565\u597d\u5934\u75bc\u7684\uff0c\u76f4\u8bd1\u5c31\u884c\u4e86\uff0c\u4e0d\u7528\u5728\u610f\u82f1\u6587\u8bed\u6cd5\uff0c\u6015\u5fd8\u8bb0\u5c31\u5728\u6ce8\u91ca\u5199\u6e05\u695a\u7528\u9014                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5206526\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lululau <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e2d\u6587\u4e00\u6837\u7684\uff0cLeiXing leiXing                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5206527\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lululau <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u96be\u9053\u4f60\u8bf4\u7684\u4e2d\u6587\u662f\u6307\u6c49\u5b57\u3002\u3002\u3002\u5207\u6362\u8f93\u5165\u6cd5\u4e0d\u7d2f\u5417\uff0c\u4f60\u4e0d\u7d2f\u7535\u8111\u8fd8\u7d2f\u5462                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5206528\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wudicgi <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u522b\u60f3\u4e86\uff0c\u4e0d\u597d\u7528\uff0c\u8fd8\u662f\u7ffb\u8bcd\u5178\u5427                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5206529\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wudicgi <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u82f1\u6587\u540d\u79f0\u5373\u4f7f\u7528\u7684\u4e0d\u662f\u592a\u7cbe\u786e\u4e5f\u6bd4\u4e2d\u6587\u533a\u5206\u5ea6\u597d\uff0c\u50cf type, genre; class, category; property, attribute; number, count \u8fd9\u4e9b\u4e2d\u6587\u8be5\u7528\u4ec0\u4e48\u5bf9\u5e94                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5206530\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : secondwtq <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u4e3e\u4e24\u4e2a\u7c7b\u4f3c\u7684\u4f8b\u5b50\uff1a<\/p>\n<p>\u5f15\u7528 https:\/\/v2ex.com\/t\/612874#r_8089400 \u8fd9\u91cc\u9762\u7684\uff1a<br \/>&gt; LLVM \u4e00\u5f00\u59cb\u7528\u4e86\u4ee5 camelcase \u4e3a\u4e3b\u7684\u547d\u540d\u65b9\u6848\uff0c\u5177\u4f53\u6765\u8bf4\u662f\u7c7b\u578b\u540d\uff0c\u53d8\u91cf\u540d\uff08\u5305\u62ec\u5c40\u90e8\u53d8\u91cf\u548c\u6210\u5458\u53d8\u91cf\uff09\uff0c\u7528 UpperCamelCase\uff0c\u51fd\u6570\u540d\u662f lowerCamelCase \u3002<br \/>&gt; \u4f46\u662f\u540e\u6765\u53d1\u73b0\u4e00\u4e2a\u95ee\u9898\uff0c\u6bd4\u5982\u6211\u6709\u4e00\u4e2a\u53d8\u91cf\u7684\u7c7b\u578b\u662f MemorySSAUpdater\uff0c\u90a3\u4e48\u6309\u7167\u547d\u540d\u89c4\u8303\uff0c\u6211\u4e0d\u80fd\u628a\u5b83\u547d\u540d\u6210 MemorySSAUpdater\uff0c\u56e0\u4e3a\u4f1a\u548c\u7c7b\u578b\u540d\u51b2\u7a81\uff0c\u73b0\u5728\u7684\u89e3\u51b3\u65b9\u6848\u662f\u53d6\u9996\u5b57\u6bcd acronym \u547d\u540d\u6210 MSSAU \u3002\u8fd9\u79cd\u60c5\u51b5\u5728\u6574\u4e2a\u4ed3\u5e93\u91cc\u5341\u5206\u5e7f\u6cdb\uff1a https:\/\/github.com\/llvm\/llvm-project\/blob\/734c74ba14be0f4421ccd9f720e5b9309248e0f7\/llvm\/lib\/Transforms\/Scalar\/LoopLoadElimination.cpp#L709 \u611f\u53d7\u4e00\u4e0b<br \/>&gt; \u4f46\u662f\u8fd9\u79cd\u547d\u540d\u591a\u4e86\u5c31\u4f1a\u5341\u5206\u5947\u602a\uff0c\u770b\u4ee3\u7801\u5fc5\u987b\u5148\u8981\u719f\u6089\u8fd9\u4e9b\u5947\u602a\u7684\u7f29\u5199\u624d\u80fd\u770b\u5f97\u4e0b\u53bb<\/p>\n<p>&gt; \u4e8e\u662f\u73b0\u5728\u6709\u4e2a proposal \u5c31\u662f\u628a\u53d8\u91cf\u547d\u540d\u4ece UpperCamelCase \u53d8\u6210 lowerCamelCase\uff0c\u8fd9\u6837\u6211\u5c31\u76f4\u63a5\u547d\u540d\u6210 memorySSAUpdater \u5c31\u884c\u4e86\uff1a https:\/\/llvm.org\/docs\/Proposals\/VariableNames.html<\/p>\n<p>\u5f53\u65f6\u8fd9\u4e2a\u4e8b\u5728\u90ae\u4ef6\u5217\u8868\u91cc\u9762\u5435\u4e86\u534a\u5929 &#8230;<\/p>\n<p>\u540c\u4e00\u5e16\u5b50\u4e0a\u4e00\u63d0\u5230\uff0c\u4e00\u4e9b\u51fd\u6570\u5f0f\u7f16\u7a0b\u8bed\u8a00\u5f3a\u5236\u8981\u6c42\u67d0\u4e9b\u7ed3\u6784\u4f7f\u7528\u7279\u5b9a\u7684\u547d\u540d\u89c4\u8303\uff0c\u6bd4\u5982\u5728 OCaml \u4e2d\uff0cconstructor \u548c module \u7684\u540d\u79f0\u5fc5\u987b\u4ee5\u5927\u5199\u5f00\u5934\uff0c\u800c Haskell \u4e2d\u7c7b\u578b\u548c constructor \u5fc5\u987b\u4ee5\u5927\u5199\u5f00\u5934\u3002\u521a\u5f00\u59cb\u5b66\u7684\u65f6\u5019\u611f\u89c9\u6709\u70b9\u5947\u602a\u4e0d\u8fc7\u6ca1\u592a\u5728\u610f\uff0c\u540e\u6765\u4e5f\u5c31\u4e60\u60ef\u4e86\u3002<br \/>\u4f46\u662f\u540e\u6765\u6211\u81ea\u5df1\u5199\u8bed\u8a00\u6284 OCaml \u7684\u65f6\u5019\u5c31\u53d1\u73b0\u95ee\u9898\u4e86\uff0c\u901a\u8fc7\u8fd9\u79cd\u8bed\u8a00\u8bbe\u8ba1\u4e0a\u7684\u5c0f\u52a8\u4f5c\uff0c\u7f16\u8bd1\u5668\u5b9e\u9645\u7701\u4e0b\u4e86\u5f88\u591a\u5de5\u4f5c\u2014\u2014\u6b63\u5219\u4e00\u5339\u914d\u5c31\u77e5\u9053\u8fd9\u4e2a\u6807\u8bc6\u7b26\u5230\u5e95\u662f\u4e2a\u503c\u8fd8\u662f\u4e2a module\uff0c\u540c\u6837\u662f\u547d\u540d\u7a7a\u95f4\u7684\u8bbf\u95ee\uff0cvalue.field \u80af\u5b9a\u662f\u8bbf\u95ee\u4e00\u4e2a record \u4e2d\u7684\u503c\uff0cModule.value \u80af\u5b9a\u662f\u8bbf\u95ee\u6a21\u5757\u4e2d\u7684\u503c\uff0cModule.Submodule.value.field \u80af\u5b9a\u662f\u5d4c\u5957\u6a21\u5757\u8bbf\u95ee + record \u8bbf\u95ee\u3002<br \/>\u800c\u7c7b\u4f3c\u7684\u95ee\u9898\u5728 C++ \u4e2d\u7684\u89e3\u51b3\u65b9\u6848\u662f\u5f15\u5165\u4e24\u79cd\u8bed\u6cd5\u7ed3\u6784\uff1a &#8220;::&#8221; \u7528\u4e8e\u9759\u6001\u547d\u540d\u7a7a\u95f4\u7684\u8bbf\u95ee\uff0c&#8221;.&#8221; \u7528\u4e8e\u5b9e\u4f8b\u547d\u540d\u7a7a\u95f4\u7684\u8bbf\u95ee\u3002<br \/>\u73b0\u5728\u6211\u81ea\u5df1\u8981\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff0c\u8981\u4e48\u6284 OCaml \u7684\uff0c\u628a\u547d\u540d\u89c4\u8303\u641e\u5f97\u4e0d\u50cf\u4e2a\u201c\u6b63\u5e38\u8bed\u8a00\u201d\uff0c\u8981\u4e48\u5b66 C++ \u7684\uff0c\u591a\u5360\u51e0\u4e2a\u7b26\u53f7\uff0c\u591a\u52a0\u51e0\u6761\u89c4\u5219\uff0c\u8fd8\u6709\u4e00\u79cd\u65b9\u6cd5\u662f\u6211 parser \u5f00\u6d1e\uff0c\u4e0d\u901a\u8fc7\u4efb\u4f55\u8bed\u6cd5\u5c42\u7ea7\u7684\u4e1c\u897f\u6765 disambiguate\uff0c\u4e0d\u8fc7\u90a3\u6837 parser \u8ddf C++ \u7684\u5c31\u5dee\u4e0d\u591a\u5c4e\u4e86\u3002<br \/>\u73b0\u5728\u6211\u5df2\u7ecf\u653e\u5f03\u5728\u6587\u672c\u5c42\u9762\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u4e86 &#8230;                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5206531\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : agagega <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @secondwtq \u5bf9\u7f16\u8bd1\u5668\u6765\u8bf4 C \u8bed\u8a00\u8fd9\u6837\u4e0d\u5728\u8bcd\u6cd5\u4e0a\u533a\u5206\u6807\u5fd7\u7b26\u548c\u7c7b\u578b\u7684\u505a\u6cd5\u5012\u6ca1\u5565\uff0c\u4f46\u5bf9\u4e00\u4e9b\u57fa\u4e8e\u6b63\u5219\u7684\u8bed\u6cd5\u9ad8\u4eae \/\u683c\u5f0f\u5316\u5de5\u5177\u5c31\u633a\u9ebb\u70e6\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5206532\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : secondwtq <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @agagega \u5f88\u4e0d\u5e78&#8221;\u57fa\u4e8e\u6b63\u5219\u7684\u8bed\u6cd5\u9ad8\u4eae&#8221;\u5728\u6211\u8fd9\u4e5f\u662f\u8981\u6dd8\u6c70\u7684 &#8230;                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5206533\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : handle233 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             Visual C++\u65e9\u5c31\u652f\u6301\u4e2d\u6587\u6807\u8bc6\u7b26\u4e86\uff0c\u4f60\u4e5f\u53ef\u4ee5 typedef \u4e00\u4e0b\u7528\u4e2d\u6587\u6765\u8868\u793a int\uff0c\u4f46\u662f\uff0c\u82f1\u6587\u5199\u4ee3\u7801\u901f\u5ea6\u4f1a\u5feb\u5f88\u591a\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5206534\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Heartbleed <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u89c9\u5f97\u7528\u62fc\u97f3\u633a\u6b63\u5e38\u7684\uff0c\u6709\u4e9b\u4e1a\u52a1\u6d89\u53ca\u7684\u53d8\u91cf\u6216\u5b57\u6bb5\u592a\u591a\uff0c\u603b\u4e0d\u80fd\u4e00\u4e2a\u4e2a\u60f3\u5bf9\u5e94\u7684\u82f1\u6587\u5427\u3002\u6bd4\u5982\u80a1\u7968\u4ea4\u6613\u7cfb\u7edf&#8230;                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u6709\u6ca1\u6709\u4eba\u4f7f\u7528\u4e2d\u6587\u547d\u540d\u53d8\u91cf\uff1f \u8cc7\u6df1\u5927&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\/323483"}],"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=323483"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/323483\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=323483"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=323483"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=323483"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}