{"id":1407,"date":"2024-04-04T07:28:48","date_gmt":"2024-04-03T23:28:48","guid":{"rendered":"https:\/\/wp.minicoda.com\/?p=1407"},"modified":"2024-04-04T12:00:00","modified_gmt":"2024-04-04T04:00:00","slug":"%e4%bb%80%e4%b9%88%e6%98%afaot%e6%8a%80%e6%9c%af","status":"publish","type":"post","link":"https:\/\/wp.minicoda.com\/index.php\/%e4%bb%80%e4%b9%88%e6%98%afaot%e6%8a%80%e6%9c%af\/","title":{"rendered":"\u4ec0\u4e48\u662fAOT\u6280\u672f?"},"content":{"rendered":"\n<p>\u4eba\u7c7b\u5bf9\u6027\u80fd\u7684\u671f\u671b\u6c38\u65e0\u6b62\u5883\u3002\u5c3d\u7ba1\u65e9\u671f\u7528\u7f16\u8bd1\u578b\u8bed\u8a00C\/C++\u5df2\u7ecf\u8fbe\u5230\u6027\u80fd\u8981\u6c42\uff0c\u4e2d\u95f4\u4ef6\u8bed\u8a00Java\/C#\u4e5f\u968f\u7740\u786c\u4ef6\u6027\u80fd\u63d0\u5347\u65bd\u5c55\u62f3\u811a\uff0c\u4eba\u7c7b\u53d1\u73b0\uff0c\u5b57\u8282\u7801\u6216\u8005\u4e2d\u95f4\u8bed\u8a00\u4ee3\u7801\u5b8c\u5168\u53ef\u4ee5\u76f4\u63a5\u8f6c\u6362\u6210\u673a\u5668\u7801\uff0c\u5c82\u4e0d\u5b9e\u73b0\u4e86C\/C++\u7684\u6027\u80fd? AOT\u6280\u672f\u5e94\u8fd0\u800c\u751f\u3002<\/p>\n\n\n\n<p>AOT\uff08Ahead-Of-Time\uff09\u7f16\u8bd1\u662f\u4e00\u79cd\u7f16\u8bd1\u6280\u672f\uff0c\u5b83\u5c06\u7a0b\u5e8f\u6e90\u4ee3\u7801\u6216\u4e2d\u95f4\u8868\u793a\uff08\u5982 Java \u5b57\u8282\u7801\u6216 .NET \u7684 IL \u4ee3\u7801\uff09\u76f4\u63a5\u7f16\u8bd1\u6210\u76ee\u6807\u5e73\u53f0\u7684\u673a\u5668\u4ee3\u7801\u3002\u8fd9\u4e0e JIT\uff08Just-In-Time\uff09\u7f16\u8bd1\u76f8\u5bf9\uff0cJIT \u7f16\u8bd1\u662f\u5728\u7a0b\u5e8f\u8fd0\u884c\u65f6\u8fdb\u884c\u7684\uff0c\u5c06\u4e2d\u95f4\u4ee3\u7801\u8f6c\u6362\u6210\u673a\u5668\u4ee3\u7801\u3002<\/p>\n\n\n\n<p>.NET\u5e73\u53f0CoreRT\u5c31\u662fAOT\u6280\u672f\uff0c \u5b83\u662f\u4e00\u4e2a\u8fd0\u884c\u65f6\uff0c\u80fd\u591f\u5c06 C# \u4ee3\u7801\u7f16\u8bd1\u4e3a\u672c\u673a\u673a\u5668\u4ee3\u7801\u800c\u4e0d\u9700\u8981\u4efb\u4f55\u8fd0\u884c\u65f6\u89e3\u91ca\u5668\u6216 JIT (Just-In-Time) \u7f16\u8bd1\u5668\u3002Java\u5e73\u53f0GraalVM\u4e5f\u662fAOT\u6280\u672f\u7684\u4ee3\u8868\u3002<\/p>\n\n\n\n<p>Android\u5e73\u53f0ART\u6280\u672f\u4e5f\u662fAOT\u6280\u672f\uff0c\u81eaAndroid 4.4 KitKat\u5f00\u59cb\u6210\u4e3a\u9ed8\u8ba4\u8fd0\u884c\u65f6\uff0c\u6bd4\u4e4b\u524d\u7684Dalvik\u865a\u62df\u673aJIT\u6548\u7387\u66f4\u9ad8\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eba\u7c7b\u5bf9\u6027\u80fd\u7684\u671f\u671b\u6c38\u65e0\u6b62\u5883\u3002\u5c3d\u7ba1\u65e9\u671f\u7528\u7f16\u8bd1\u578b\u8bed\u8a00C\/C++\u5df2\u7ecf\u8fbe\u5230\u6027\u80fd\u8981\u6c42\uff0c\u4e2d\u95f4\u4ef6\u8bed\u8a00Java\/C#\u4e5f\u968f\u7740\u786c\u4ef6\u6027\u80fd\u63d0\u5347\u65bd\u5c55\u62f3\u811a\uff0c\u4eba\u7c7b\u53d1\u73b0\uff0c\u5b57\u8282\u7801\u6216\u8005\u4e2d\u95f4\u8bed\u8a00\u4ee3\u7801\u5b8c\u5168\u53ef\u4ee5\u76f4\u63a5\u8f6c\u6362\u6210\u673a\u5668\u7801\uff0c\u5c82\u4e0d\u5b9e\u73b0\u4e86C\/C&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[299],"tags":[],"class_list":["post-1407","post","type-post","status-publish","format-standard","hentry","category-think"],"views":659,"_links":{"self":[{"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/posts\/1407","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/comments?post=1407"}],"version-history":[{"count":4,"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/posts\/1407\/revisions"}],"predecessor-version":[{"id":1421,"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/posts\/1407\/revisions\/1421"}],"wp:attachment":[{"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/media?parent=1407"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/categories?post=1407"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/tags?post=1407"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}