{"id":215013,"date":"2021-04-06T09:00:37","date_gmt":"2021-04-06T01:00:37","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=215013"},"modified":"2021-03-28T20:36:46","modified_gmt":"2021-03-28T12:36:46","slug":"linux-rust-two","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/linux-rust-two.html","title":{"rendered":"Linux\u4e4b\u7236\u8ba4\u4e3aRust\u8bed\u8a00\u5f53\u524d\u5c1a\u672a\u8fbe\u5230\u80fd\u5927\u529b\u63a8\u8350\u7684\u65f6\u5019"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u4f5c\u4e3a C \u8bed\u8a00\u5f00\u53d1\u7684\u4ee3\u8868\u4f5c\uff0cLinux \u5185\u6838\u4e5f\u5728\u8d8a\u6765\u8d8a\u591a\u5730\u5f15\u5165 Rust \u8bed\u8a00\u3002\u8fd1\u65e5\uff0cZDNet \u5c31\u4e0e Linus Torvalds \u548c Greg Kroah-Hartman \u7b49\u4eba\u5c55\u5f00\u4e86\u7c7b\u4f3c\u7684\u8ba8\u8bba\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\u65e9\u5728\u53bb\u5e74\u7684 Linux Plumbers \u4f1a\u8bae\u4e0a\uff0c\u5f00\u53d1\u8005\u4eec\u5c31\u8ba4\u771f\u601d\u8003\u4e86\u5982\u4f55\u5c06 Rust \u8bed\u97f3\u7528\u4e8e\u65b0\u7684 Linux \u5185\u8054\u4ee3\u7801\uff0c\u4e14\u5f53\u524d\u5e02\u9762\u4e0a\u5df2\u6709\u4e0d\u5c11 Rust \u4ea7\u54c1\u3002<\/p>\n

\"\"<\/p>\n

\u65e9\u4e9b\u65f6\u5019\uff0c\u4e9a\u9a6c\u900a\u4e91\u670d\u52a1\uff08AWS\uff09\u63a8\u51fa\u4e86\u9762\u5411\u5bb9\u5668\u7684 Bottlerocket Linux\uff0c\u5176\u4e2d\u5c31\u5305\u542b\u4e86\u5927\u91cf\u7684 Rust \u5143\u7d20\u3002\u81f3\u4e8e Rust \u4e3a\u4f55\u5982\u6b64\u6d41\u884c\uff0c\u4e3b\u8981\u662f\u56e0\u4e3a\u5b83\u80fd\u591f\u7528\u4e8e\u7f16\u5199\u66f4\u5b89\u5168\u7684\u8f6f\u4ef6\u3002<\/p>\n

AWS \u4ea7\u54c1\u7ecf\u7406 Samartha Chandrashekar \u8868\u793a\uff1aRust \u6709\u52a9\u4e8e\u786e\u4fdd\u7ebf\u7a0b\u5b89\u5168\u3001\u907f\u514d\u4e0e\u5185\u5b58\u76f8\u5173\u7684\u9519\u8bef\uff0c\u4ece\u800c\u5835\u4e0a\u6f5c\u5728\u7684\u7f13\u51b2\u533a\u6ea2\u51fa\u578b\u5b89\u5168\u6f0f\u6d1e\u3002<\/p>\n

\u4f5c\u4e3a Mozilla \u7684\u4e3b\u7ba1\uff0cSylvestre Ledru \u4e5f\u5728\u591c\u95f4\u517c\u804c Debian Linux \u7684\u5f00\u53d1\uff0c\u76ee\u524d\u5df2\u4f7f\u7528 LLVM \u7f16\u8bd1\u4e86\u57fa\u7840\u7ed3\u6784\u3001Clang C \u8bed\u8a00\u524d\u7aef\u548c\u5de5\u5177\u57fa\u7840\u7ed3\u6784\uff0c\u5e76\u5c06 Rustutil \u7248\u672c\u7684 Coreutils \u79fb\u690d\u5230\u4e86 Linux \u5e73\u53f0\u3002<\/p>\n

Coreutils \u662f GNU Shell \u7684\u6838\u5fc3\u5b9e\u7528\u7a0b\u5e8f\uff0cSylvestre Ledru \u501f\u6b64\u542f\u52a8\u4e86 Linux\u3001\u5e76\u8fd0\u884c\u4e86\u6df1\u53d7\u6b22\u8fce\u7684 Debian \u8f6f\u4ef6\u5305\u3002\u867d\u7136\u8ddd\u79bb\u751f\u4ea7\u90e8\u7f72\u8fd8\u6709\u5f88\u957f\u4e00\u6bb5\u8def\u8981\u8d70\uff0c\u4f46\u5b83\u6700\u7ec8\u8fd8\u662f\u6709\u671b\u53d6\u4ee3 GNU Coreutils \u3002<\/p>\n

2019 \u5e74\u7684\u65f6\u5019\uff0cAlex Gaynor \u548c Geoffrey Thomas \u5728 Linux \u5b89\u5168\u5cf0\u4f1a\u4e0a\u8868\u793a\uff0c\u7ea6\u6709 2\/3 \u7684 Linux \u5185\u6838\u6f0f\u6d1e\u6e90\u4e8e\u5185\u5b58\u5b89\u5168\u6027\u95ee\u9898\u3002\u4ece\u7406\u8bba\u4e0a\u6765\u8bb2\uff0cRust \u53ef\u5e26\u6765\u672c\u8d28\u4e0a\u66f4\u5b89\u5168\u7684\u5e94\u7528\u7a0b\u5e8f\u63a5\u53e3\uff08API\uff09\uff0c\u4ee5\u5168\u9762\u89c4\u907f\u6b64\u7c7b\u60c5\u51b5\u7684\u51fa\u73b0\u3002<\/p>\n

\u4e0d\u8fc7 Linux \u5f00\u53d1\u8005 Nelson Elhage \u8fd8\u662f\u5728 Linux Plumber \u4f1a\u8bae\u7684\u603b\u7ed3\u8bcd\u4e2d\u5f3a\u8c03\uff0c\u4ed6\u4eec\u5e76\u975e\u63d0\u8bae\u901a\u8fc7 Rust \u6765\u5f7b\u5e95\u91cd\u5199 Linux \u5185\u6838\uff0c\u800c\u662f\u4e13\u6ce8\u4e8e\u5411\u65b0\u4e00\u4ee3\u7f16\u7a0b\u4e16\u754c\u8fc8\u8fdb\u3002<\/p>\n

Rust \u7684\u4e09\u5927\u6f5c\u5728\u5e94\u7528\uff0c\u5305\u62ec\u4e86\u5bf9 Linux \u5185\u6838\u4e2d\u73b0\u6709 API \u7684\u4f7f\u7528\u3001\u4f53\u7cfb\u7ed3\u6784\u652f\u6301\u3001\u4ee5\u53ca\u5904\u7406 Rust \u548c C \u8bed\u8a00\u4e4b\u95f4\u7684\u5e94\u7528\u7a0b\u5e8f\u4e8c\u8fdb\u5236\u63a5\u53e3\uff08ABI\uff09\u7684\u517c\u5bb9\u6027\u3002<\/p>\n

\u5728\u5411 Linus Torvalds \u63d0\u95ee\u5bf9\u8fd9\u4e00\u5207\u90fd\u6709\u600e\u6837\u7684\u770b\u6cd5\u65f6\uff0c\u4ed6\u8868\u793a\u6b63\u5728\u8010\u5fc3\u7b49\u5f85\u548c\u4fdd\u6301\u5bc6\u5207\u89c2\u5bdf\uff1a<\/p>\n

\u6211\u5bf9 Rust \u9879\u76ee\u5f88\u611f\u5174\u8da3\uff0c\u4f46\u5f53\u524d\u4f3c\u4e4e\u4e3b\u8981\u7531 Rust \u7684\u7231\u597d\u8005\u6240\u63a8\u52a8\uff0c\u56e0\u6b64\u6211\u51b3\u5b9a\u9759\u89c2\u5176\u53d8\uff0c\u770b\u5b83\u6700\u7ec8\u80fd\u591f\u5728\u5b9e\u8df5\u4e2d\u53d1\u6325\u600e\u6837\u7684\u4f5c\u7528\u3002\u5c31\u4e2a\u4eba\u800c\u8a00\uff0c\u76ee\u524d\u5e94\u8be5\u8fd8\u4e0d\u662f\u63a8\u4e3e Rust \u8bed\u8a00\u7684\u6700\u4f73\u65f6\u673a\u3002\u4e0d\u8fc7\u8003\u8651\u5230\u8be5\u8bed\u8a00\u6240\u627f\u8bfa\u7684\u4e00\u4e9b\u4f18\u52bf\uff08\u867d\u7136\u4e0d\u4e00\u5b9a\u80fd\u5b8c\u5168\u5151\u73b0\uff09\u3001\u4ee5\u53ca\u80fd\u591f\u89c4\u907f\u4e00\u4e9b\u5b89\u5168\u95ee\u9898\uff0c\u6211\u8fd8\u662f\u613f\u610f\u63a5\u53d7\u5b83\u7684\u3002<\/p>\n

\u5982\u679c\u5206\u4e2a\u8f7b\u91cd\u7f13\u6025\uff0cLinus Torvalds \u8ba4\u4e3a Rust \u7684\u9996\u8981\u76ee\u6807\u5e94\u8be5\u653e\u5728\u9a71\u52a8\u7a0b\u5e8f\u7684\u6539\u8fdb\u4e0a\u3002<\/p>\n

\u5373\u4fbf\u663e\u5f97\u6709\u4e9b\u67af\u71e5\uff0c\u5927\u5bb6\u8fd8\u662f\u53ef\u4ee5\u5728\u8fd9\u91cc\u627e\u5230\u8bb8\u591a\u4e0d\u540c\u7684\u6f5c\u5728\u76ee\u6807\uff0c\u4e14\u5185\u6838\u7684\u8fd9\u4e9b\u90e8\u5206\u90fd\u662f\u76f8\u5bf9\u8f83\u5c0f\u4e14\u5f7c\u6b64\u72ec\u7acb\u7684\u3002\u9488\u5bf9\u9a71\u52a8\u7a0b\u5e8f\u7684\u4efb\u4f55\u521d\u6b65\u8bd5\u9a8c\u90fd\u4ec5\u505c\u7559\u5728\u4f53\u7cfb\u7ed3\u6784\u5c42\u9762\uff0c\u800c\u8bb8\u591a\u9a71\u52a8\u7a0b\u5e8f\u4ec5\u4e0e\u7279\u5b9a\u7684\u51e0\u4e2a\u76ee\u6807\u4f53\u7cfb\u7ed3\u6784\u6709\u5173\uff0c\u6240\u4ee5 Rust \u652f\u6301\u4ee3\u7801\u7684\u91cd\u8981\u6027\u4e5f\u6ca1\u6709\u90a3\u4e48\u9ad8\u3002<\/p>\n

Kroah-Hartman \u5bf9\u8fd9\u4e00\u89c2\u70b9\u8868\u793a\u540c\u610f\uff0c\u56e0\u4e3a\u9a71\u52a8\u7a0b\u5e8f\u53ea\u662f\u5185\u6838\u6e90\u4ee3\u7801\u4f9d\u8d56\u6811\u4e0a\u6700\u672b\u7aef\u7684\u53f6\u5b50\u3002\u6b64\u5916 Linus Torvalds \u63d0\u5230\u4e86\u5185\u6838\u4e0e\u7528\u6237\u7a7a\u95f4\u9879\u76ee\u7684\u4e0d\u540c\uff1a<\/p>\n

\u8bb8\u591a\u4eba\u62b1\u6028\u5728\u7528\u6237\u7a7a\u95f4\u8fd9\u5757\u4f7f\u7528 Rust \u5e76\u4e0d\u662f\u4e00\u4e2a\u597d\u5146\u5934\uff0c\u4f46\u8fd9\u91cc\u5176\u5b9e\u548c\u5185\u6838\u9879\u76ee\u6709\u5f88\u5927\u7684\u4e0d\u540c\u3002\u7531\u4e8e\u6211\u4eec\u4f7f\u7528\u4e86\u8bb8\u591a\u975e\u5e38\u5947\u602a\u7684\u5934\u6587\u4ef6\uff0c\u5176\u5728\u67d0\u4e9b\u65b9\u9762\u786e\u5b9e\u66f4\u52a0\u56f0\u96be\uff0c\u4f60\u4e5f\u53ef\u4ee5\u5c06\u4e4b\u79f0\u4f5c C \u8bed\u8a00\u7684\u4e00\u4e2a\u8fb9\u754c\u3002\u4f46\u5728\u5176\u5b83\u65b9\u9762\uff0cRust \u5f00\u53d1\u6216\u8bb8\u53ef\u4ee5\u505a\u5230\u66f4\u52a0\u8f7b\u677e\u3002\u8fd9\u70b9\u4e3b\u8981\u5f97\u76ca\u4e8e\u5185\u6838\u7684\u76f8\u5bf9\u72ec\u7acb\uff0c\u6240\u4ee5\u5e76\u4e0d\u9700\u8981\u4f9d\u8d56\u4e8e\u5176\u5b83\u9879\u76ee\u7684\u6700\u7ec8\u4e8c\u8fdb\u5236\u6587\u4ef6\u3002<\/p>\n

\u5728 Kroah-Hartman \u770b\u6765\uff0c\u4e00\u5207\u90fd\u5f52\u7ed3\u4e3a\u201c\u5982\u4f55\u5c06\u7528 C \u8bed\u8a00\u7f16\u5199\u7684\u5185\u6838\u6838\u5fc3\u67b6\u6784\u548c\u751f\u5b58\u671f\u89c4\u5219\u4e4b\u95f4\u7684\u4ea4\u4e92\u201d\u6620\u5c04\u5230 Rust \u7ed3\u6784\u548c\u751f\u5b58\u671f\u89c4\u5219\u4e2d\uff0c\u4ee5\u4fbf\u57fa\u4e8e Rust \u8bed\u8a00\u5f00\u53d1\u7684\u9a71\u52a8\u7a0b\u5e8f\u80fd\u591f\u88ab\u987a\u5229\u63a8\u884c\u3002<\/p>\n

\u81f3\u4e8e Rust \u8bed\u8a00\u5728 Linux \u5e73\u53f0\u4e0a\u7684\u540e\u7eed\u53d1\u5c55\uff0c\u8fd8\u8bf7\u8010\u5fc3\u7559\u610f\u672a\u6765\u51e0\u5e74\u91cc\u7684\u66f4\u591a\u9879\u76ee\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u65e9\u5728\u53bb\u5e74\u7684 Linux Plumbers \u4f1a\u8bae\u4e0a\uff0c\u5f00\u53d1\u8005\u4eec\u5c31\u8ba4\u771f\u601d\u8003\u4e86\u5982\u4f55\u5c06 Rust \u8bed\u97f3\u7528\u4e8e\u65b0\u7684 Linu […]<\/p>\n","protected":false},"author":1482,"featured_media":41553,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-215013","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/215013","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1482"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=215013"}],"version-history":[{"count":3,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/215013\/revisions"}],"predecessor-version":[{"id":215020,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/215013\/revisions\/215020"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/41553"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=215013"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=215013"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=215013"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}