{"id":271297,"date":"2023-05-11T09:00:28","date_gmt":"2023-05-11T01:00:28","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=271297"},"modified":"2023-05-08T16:56:57","modified_gmt":"2023-05-08T08:56:57","slug":"microsoft-windows-rust","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/microsoft-windows-rust.html","title":{"rendered":"\u5fae\u8f6f\u6838\u5fc3Windows\u5e93\u5c06\u88ab\u91cd\u5199"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | \u5fae\u8f6f\u6b63\u5728\u7528 Rust \u7f16\u7a0b\u8bed\u8a00\u91cd\u5199\u6838\u5fc3 Windows \u5e93\u3002Windows \u64cd\u4f5c\u7cfb\u7edf\u5b89\u5168\u603b\u76d1 David \u201cdwizzle\u201d Weston \u4e0a\u4e2a\u6708\u5728\u4ee5\u8272\u5217\u7279\u62c9\u7ef4\u592b\u7684 BlueHat IL 2023 \u4e0a\u5ba3\u5e03\uff0cRust \u5c06\u8fdb\u5165\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n \u5fae\u8f6f\u6b63\u5728\u7528 Rust \u7f16\u7a0b\u8bed\u8a00\u91cd\u5199\u6838\u5fc3 Windows \u5e93\u3002Windows \u64cd\u4f5c\u7cfb\u7edf\u5b89\u5168\u603b\u76d1 David \u201cdwizzle\u201d Weston \u4e0a\u4e2a\u6708\u5728\u4ee5\u8272\u5217\u7279\u62c9\u7ef4\u592b\u7684 BlueHat IL 2023 \u4e0a\u5ba3\u5e03\uff0cRust \u5c06\u8fdb\u5165\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838\u3002\"\u5728\u63a5\u4e0b\u6765\u7684\u51e0\u5468\u6216\u51e0\u4e2a\u6708\u5185\uff0c\u4f60\u5c06\u5728\u5185\u6838\u4e2d\u4f7f\u7528 Rust \u542f\u52a8 Windows\uff0c\u8fd9\u771f\u7684\u5f88\u9177\u3002\u8fd9\u91cc\u7684\u57fa\u672c\u76ee\u6807\u662f\u5c06\u5176\u4e2d\u4e00\u4e9b\u5185\u90e8\u7684 C++ \u6570\u636e\u7c7b\u578b\u8f6c\u6362\u4e3a\u5176 Rust \u7b49\u4ef7\u7269\u3002\"<\/p>\n Windows \u7684 Rust \u9769\u65b0\u59cb\u4e8e 2020 \u5e74\u7684 DWriteCore\uff0c\u5b83\u662f Windows \u7684 DWrite \u5f15\u64ce\u7684 Windows App SDK \u5b9e\u73b0\uff0c\u7528\u4e8e\u6587\u672c\u5206\u6790\u3001\u5e03\u5c40\u548c\u6e32\u67d3\uff0c\u5176\u4e2d\u73b0\u5305\u542b\u4e86\u7ea6 152,000 \u884c Rust \u4ee3\u7801\u548c 96,000 \u884c C++ \u4ee3\u7801\u3002<\/p>\n \u5916\u5a92 The Register \u79f0\uff0cMicrosoft Windows \u56fe\u5f62\u8bbe\u5907\u63a5\u53e3 (GDI) \u6b63\u5728\u79fb\u690d\u5230 Rust\uff0c\u5df2\u5305\u542b 36,000 \u884c Rust \u4ee3\u7801\u3002\u6700\u65b0\u7248\u672c\u7684 Windows 11 \u4e5f\u4f7f\u7528 Rust \u7248\u672c\u542f\u52a8\uff0c\u5b83\u901a\u8fc7\u4e86\u6240\u6709 GDI \u6d4b\u8bd5\uff0c\u4f46 Rust port \u76ee\u524d\u5728\u529f\u80fd\u6807\u5fd7\u540e\u9762\u88ab\u7981\u7528\u3002<\/p>\n \u4e14 Weston \u900f\u9732\uff0cWindows \u5185\u6838\u4e2d\u73b0\u5728\u6709\u4e00\u4e2a SysCall\uff0c\u662f\u91c7\u7528 Rust \u5b9e\u73b0\u7684\u3002\u4f46\u4ed6\u4e5f\u8868\u793a\uff0c\u7528 Rust \u91cd\u5199 Windows \u53ef\u80fd\u4e0d\u4f1a\u5f88\u5feb\u53d1\u751f\u3002\u201c\u6240\u4ee5\u867d\u7136\u6211\u4eec\u559c\u6b22 Rust\uff0c\u4f46\u6211\u4eec\u9700\u8981\u4e00\u79cd\u7b56\u7565\uff0c\u540c\u65f6\u4fdd\u62a4\u66f4\u591a\u7684 native code\u3002\u201d<\/p>\n <\/p>\n \u4e8b\u5b9e\u4e0a\uff0c\u65e9\u5728\u51e0\u5e74\u524d\u5fae\u8f6f\u5c31\u8868\u73b0\u51fa\u4e86\u5bf9 Rust \u7684\u5174\u8da3\uff0c\u4ed6\u4eec\u8ba4\u4e3a\u8be5\u8bed\u8a00\u662f\u4e00\u79cd\u5728\u4ee3\u7801\u5230\u8fbe\u7528\u6237\u624b\u4e2d\u4e4b\u524d\u6355\u83b7\u548c\u6d88\u9664\u5185\u5b58\u5b89\u5168\u6f0f\u6d1e\u7684\u65b9\u6cd5\u3002\u73b0\u5982\u4eca\uff0c\u968f\u7740\u8c37\u6b4c\u7b49\u7ade\u4e89\u5bf9\u624b\u90fd\u5728\u5927\u529b\u62e5\u62b1 Rust\uff0c\u5fae\u8f6f\u5bf9 Rust \u7684\u63a2\u7d22\u4e5f\u53d8\u5f97\u66f4\u52a0\u70ed\u60c5\u3002\u53bb\u5e74 9 \u6708\uff0c\u5fae\u8f6f Azure \u9996\u5e2d\u6280\u672f\u5b98 Mark Russinovich \u8fd8\u66fe\u5728\u793e\u4ea4\u5e73\u53f0\u4e0a\u53d1\u5e03\u52a8\u6001\u547c\u5401\uff0c\u5f00\u53d1\u4eba\u5458\u5e94\u8be5\u66f4\u591a\u7684\u4f7f\u7528 Rust \u800c\u4e0d\u662f C\/C++ \u6765\u542f\u52a8\u65b0\u9879\u76ee\u3002<\/p>\n \u53e6\u4e00\u65b9\u9762\uff0c\u867d\u7136\u7528 Rust \u91cd\u5199 Windows \u4e0d\u4f1a\u5f88\u5feb\u53d1\u751f\uff0c\u4f46\u5fae\u8f6f\u5bf9 Rust \u7684\u652f\u6301\u6216\u4f7f\u5f00\u6e90\u793e\u533a\u53d7\u76ca\u3002\u5f00\u6e90\u8f6f\u4ef6\u5f00\u53d1\u8005\u3001\u73b0\u4efb Sentry \u5b89\u5168\u5de5\u7a0b\u5e08 Armin Ronacher \u8ba4\u4e3a\uff0c\u5fae\u8f6f\u5bf9 Rust \u7684\u627f\u8bfa\u5bf9\u8fd9\u95e8\u8bed\u8a00\u6765\u8bf4\u975e\u5e38\u91cd\u8981\u3002<\/p>\n \u201c\u7279\u522b\u662f\uff0c\u56e0\u4e3a\u6211\u5e0c\u671b\u5fae\u8f6f\u91cd\u7528\u73b0\u6709\u7684\u7f16\u8bd1\u5668\uff0c\u6211\u5e0c\u671b\u8fd9\u4f1a\u5e26\u6765\u66f4\u597d\u7684 PDB [\u7a0b\u5e8f\u6570\u636e\u5e93] \u652f\u6301\u3002\u5728\u73b0\u5982\u4eca\u7684 Windows \u4e0a\uff0c\u5f00\u53d1\u4eba\u5458\u5de5\u5177\u652f\u6301\u8981\u843d\u540e\u4e8e\u4f60\u5728\u57fa\u4e8e DWARF \u7684 [\u4f7f\u7528\u5c5e\u6027\u8bb0\u5f55\u683c\u5f0f\u8fdb\u884c\u8c03\u8bd5] \u5e73\u53f0\u4e0a\u83b7\u5f97\u7684\u652f\u6301\u3002\u201d<\/p>\n Pydantic \u7684\u521b\u59cb\u4eba\u517c\u4f7f\u7528 Python \u548c Rust \u7684\u5f00\u53d1\u4eba\u5458 Samuel Colvin \u4e5f\u8868\u793a\uff0c\u201c\u6211\u5bf9\u5fae\u8f6f\u7684\u8fd9\u79cd\u524d\u77bb\u6027\u601d\u7ef4\u5370\u8c61\u6df1\u523b\uff0c\u4f46\u5e76\u4e0d\u611f\u5230\u975e\u5e38\u60ca\u8bb6\u3002\u6211\u786e\u4fe1\u4ed6\u4eec\u7684\u5de5\u7a0b\u5e08\u5728\u91c7\u7528 Rust \u65b9\u9762\u6709\u88ab\u65bd\u538b\u3002\u5982\u679c\u4f60\u4eca\u5929\u6b63\u5728\u6784\u5efa\u4e00\u4e2a\u6027\u80fd\u5173\u952e\u6216\u4f4e\u7ea7\u522b\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u90a3\u4e48 Rust \u5728\u8fd9\u4e00\u70b9\u4e0a\u662f\u4e00\u4e2a\u660e\u667a\u7684\u9009\u62e9\u3002\u201d<\/p>\n Colvin \u8fd8\u8ba4\u4e3a\uff0c\u627e\u5230\u4f18\u79c0\u7684 Rust \u5de5\u7a0b\u5e08\u6bd4\u627e\u5230\u4f18\u79c0\u7684 C\/C++ \u5de5\u7a0b\u5e08\u66f4\u5bb9\u6613\uff0c\u56e0\u4e3a\u5f88\u591a\u5de5\u7a0b\u5e08\u90fd\u6709\u5174\u8da3\u5c1d\u8bd5\u5b66\u4e60\u8be5\u8bed\u8a00\u3002\u201c\u5bf9\u4e8e\u6211\u4eec\u8fd9\u4e9b\u4f9d\u8d56 Rust \u7684\u4eba\u6765\u8bf4\uff0c\u5fae\u8f6f\u6b63\u5728\u4f7f\u7528\u5b83\u5e76\u5e0c\u671b\u652f\u6301\u5b83\uff0c\u8fd9\u771f\u7684\u5f88\u4ee4\u4eba\u5174\u594b\u3002\u201d<\/p>\n","protected":false},"excerpt":{"rendered":" \u5fae\u8f6f\u6b63\u5728\u7528 Rust \u7f16\u7a0b\u8bed\u8a00\u91cd\u5199\u6838\u5fc3 Windows \u5e93\u3002Windows \u64cd\u4f5c\u7cfb\u7edf\u5b89\u5168\u603b\u76d1 David \u201cd […]<\/p>\n","protected":false},"author":1898,"featured_media":271299,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-271297","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\/271297","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\/1898"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=271297"}],"version-history":[{"count":2,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/271297\/revisions"}],"predecessor-version":[{"id":271703,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/271297\/revisions\/271703"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/271299"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=271297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=271297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=271297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}} |