{"id":321940,"date":"2023-02-08T08:00:00","date_gmt":"2023-02-08T07:00:00","guid":{"rendered":"https:\/\/blog.jetbrains.com\/?post_type=rust&#038;p=321940"},"modified":"2023-02-09T11:12:15","modified_gmt":"2023-02-09T10:12:15","slug":"rust-deveco-2022-discover-recent-trends","status":"publish","type":"rust","link":"https:\/\/blog.jetbrains.com\/zh-hans\/rust\/2023\/02\/08\/rust-deveco-2022-discover-recent-trends\/","title":{"rendered":"Rust 2022 \u5f00\u53d1\u8005\u751f\u6001\u7cfb\u7edf\u73b0\u72b6\uff1a\u53d1\u73b0\u6700\u65b0\u8d8b\u52bf"},"content":{"rendered":"<p>2022 \u5f00\u53d1\u8005\u751f\u6001\u7cfb\u7edf\u8c03\u67e5\u7684\u7ed3\u679c\u51fa\u7089\u4e86\uff01<\/p>\n<figure class=\"wp-block-image size-full is-style-default\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-317817\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/01\/Blog_Featured_image_1280x600-9.png\" alt=\"\" width=\"2560\" height=\"1200\" \/><\/figure>\n<p>\u6bcf\u5e74 JetBrains \u90fd\u4f1a\u53d1\u8d77\u4e00\u9879\u8c03\u67e5\uff0c\u5e2e\u52a9\u6211\u4eec\u6df1\u5165\u4e86\u89e3\u5f00\u53d1\u8005\u793e\u533a\u53ca\u5176\u8fc7\u53bb\u4e00\u5e74\u95f4\u53d1\u751f\u7684\u53d8\u5316\u3002<\/p>\n<p>\u8ba9\u6211\u4eec\u5728 Rust \u793e\u533a\u4e2d\u4e09\u4f4d\u6210\u5458\u7684\u5e2e\u52a9\u4e0b\u6df1\u5165\u63a2\u8ba8\u62a5\u544a\u7ed3\u679c\uff1a<\/p>\n<div class=\"about-author \">\n<div class=\"about-author__box\">\n<div class=\"row\">\n<div class=\"about-author__box-img\"><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2022\/10\/1711539.jpeg\" alt=\"Alexey Kladov\" \/><\/div>\n<div class=\"about-author__box-text\">\n<h4>Aleksey Kladov<\/h4>\n<p><span style=\"font-weight: 400;\">Rust \u5f00\u53d1\u5de5\u5177\u56e2\u961f\u6210\u5458\u3002<\/span><\/p>\n<p><a href=\"https:\/\/matklad.github.io\/\" target=\"_blank\" rel=\"nofollow noopener\">\u535a\u5ba2<\/a> |\u00a0<a href=\"https:\/\/github.com\/matklad\" target=\"_blank\" rel=\"nofollow noopener\">GitHub<\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"about-author \">\n<div class=\"about-author__box\">\n<div class=\"row\">\n<div class=\"about-author__box-img\"><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2022\/10\/4200835.jpeg\" alt=\"\" \/><\/div>\n<div class=\"about-author__box-text\">\n<h4>Andre Bogus<\/h4>\n<p><span style=\"font-weight: 400;\">Clippy \u7ef4\u62a4\u8005\u3001TWiR \u7f16\u8f91\u3001Rust \u8d21\u732e\u8005\u3001\u4e13\u4e1a Rust \u5f00\u53d1\u8005\u3002<\/span><\/p>\n<p><a href=\"https:\/\/llogiq.github.io\/\" target=\"_blank\" rel=\"nofollow noopener\">\u535a\u5ba2<\/a> |\u00a0<a href=\"https:\/\/github.com\/llogiq\" target=\"_blank\" rel=\"nofollow noopener\">GitHub<\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"about-author \">\n<div class=\"about-author__box\">\n<div class=\"row\">\n<div class=\"about-author__box-img\"><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2022\/10\/florian.jpg\" alt=\"Florian Gilcher\" \/><\/div>\n<div class=\"about-author__box-text\">\n<h4>Florian Gilcher<\/h4>\n<p><a href=\"https:\/\/ferrous-systems.com\/\" target=\"_blank\" rel=\"nofollow noopener\"><span style=\"font-weight: 400;\">Ferrous Systems<\/span><\/a><span style=\"font-weight: 400;\"> \u603b\u7ecf\u7406<\/span>\u3002<span style=\"font-weight: 400;\">\u00a0<\/span><\/p>\n<p><a href=\"https:\/\/github.com\/skade\" target=\"_blank\" rel=\"nofollow noopener\">GitHub<\/a> | <a href=\"https:\/\/twitter.com\/argorak\" target=\"_blank\" rel=\"nofollow noopener\">Twitter<\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<h2><span id=\"Work_or_hobby\" class=\"ez-toc-section\"><\/span>\u5de5\u4f5c\u8fd8\u662f\u7231\u597d\uff1f<\/h2>\n<p>\u5728\u5de5\u4f5c\u4e2d\u4f7f\u7528 Rust \u7684\u5f00\u53d1\u8005\u6bd4\u4f8b\u4ece <a href=\"https:\/\/www.jetbrains.com\/lp\/devecosystem-2020\/rust\/\" target=\"_blank\" rel=\"noopener\">2020<\/a> \u5e74\u548c <a href=\"https:\/\/www.jetbrains.com\/lp\/devecosystem-2021\/rust\/#Rust_how-do-you-use-rust\" target=\"_blank\" rel=\"noopener\">2021<\/a> \u5e74\u7684 16% \u589e\u957f\u5230 2022 \u5e74\u7684 18%\u3002<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-310720\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/01\/Screenshot-2023-01-04-at-21.52.31.png\" alt=\"\" width=\"1940\" height=\"660\" \/><\/figure>\n<p><strong><strong>\u4e13\u5bb6\u5206\u6790<\/strong><\/strong><\/p>\n<p><strong>Florian<\/strong>\uff1a\u201c\u6211\u6ce8\u610f\u5230\u5c3d\u7ba1 Rust \u6b63\u5728\u589e\u957f\uff0c\u4f46\u76f8\u5bf9\u6570\u91cf\u4fdd\u6301\u4e0d\u53d8\u3002 \u8fd9\u5f88\u597d\uff01 \u8fd9\u8868\u793a Rust \u7231\u597d\u8005\u7684\u6570\u91cf\u6b63\u5728\u589e\u52a0\uff0c\u53ef\u4ee5\u5f88\u5feb\u6210\u4e3a\u4e13\u4e1a\u4eba\u58eb\u3002 \u7ed9\u96c7\u4e3b\u7684\u63d0\u793a\uff1a\u5728\u201cX \u5e74\u4e13\u4e1a Rust \u7ecf\u9a8c\u201d\u7684\u4eba\u9009\u4e4b\u5916\uff0c\u8fd8\u6709\u5927\u91cf\u613f\u610f\u4ece\u5f53\u524d\u5de5\u4f5c\u8f6c\u884c\u7684\u4eba\u3002\u201d<\/p>\n<p><strong>Aleksey<\/strong>\uff1a\u201c\u503c\u5f97\u6ce8\u610f\u7684\u662f\uff0cRust \u786e\u5b9e\u5728\u51e0\u5e74\u524d\u4ece\u2018\u4e00\u79cd\u5947\u602a\u7684\u65b0\u8bed\u8a00\u2019\u53d8\u4e3a\u2018\u6295\u5165\u751f\u4ea7\u4e5f\u4e0d\u662f\u4e0d\u884c\u2019\uff0c\u56e0\u6b64\u671f\u95f4\u589e\u957f\u53ef\u4ee5\u9884\u671f\uff0c\u4e5f\u4ee4\u4eba\u9ad8\u5174\u3002\u201d<\/p>\n<h2><span id=\"Experienced_Rustaceans_are_hard_to_find\" class=\"ez-toc-section\"><\/span>\u6709\u7ecf\u9a8c\u7684 Rust \u5f00\u53d1\u8005\u5f88\u96be\u627e\u5230<\/h2>\n<p>\u6839\u636e\u8c03\u67e5\uff0c24% \u7684 Rust \u5f00\u53d1\u8005\u5df2\u7ecf\u4f7f\u7528 Rust \u8d85\u8fc7\u4e00\u5e74\u3002 \u8fd9\u6bd4<a href=\"https:\/\/www.jetbrains.com\/lp\/devecosystem-2021\/rust\/#Rust_how-long-have-you-been-using-rust\" target=\"_blank\" rel=\"noopener\">\u53bb\u5e74<\/a>\u589e\u52a0\u4e86 4 \u4e2a\u767e\u5206\u70b9\uff0c\u4f46\u6709\u7ecf\u9a8c\u7684 Rust \u5f00\u53d1\u8005\u4ecd\u7136\u4e0d\u5bb9\u6613\u627e\u5230\u3002\u00a0<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-310732\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/01\/Screenshot-2023-01-04-at-21.56.26.png\" alt=\"\" width=\"1810\" height=\"558\" \/><\/figure>\n<p><strong><strong>\u4e13\u5bb6\u5206\u6790<\/strong><\/strong><\/p>\n<p><strong>Andre<\/strong>\uff1a\u201c\u8fc7\u53bb\u4f7f\u7528\u8fc7 Rust \u7684\u4eba\u5927\u4f53\u4e0a\u4ecd\u5728\u4f7f\u7528\u3002 \u65b0\u7528\u6237\u7684\u76f8\u5bf9\u4efd\u989d\u51e0\u4e4e\u4fdd\u6301\u4e0d\u53d8\uff0c\u5448\u73b0\u51fa\u5065\u5eb7\u7684\u6709\u673a\u589e\u957f\u6a21\u5f0f\u3002 \u9ad8\u7ea7 Rust \u7528\u6237\u7684\u4efd\u989d\u6709\u6240\u589e\u957f\uff0c\u8fd9\u5bf9\u4e8e\u96c7\u4e3b\u6765\u8bf4\u662f\u4e2a\u597d\u6d88\u606f\u3002\u201d<\/p>\n<p><strong>Florian<\/strong>\uff1a\u201cRust \u662f\u4e00\u95e8\u5e74\u8f7b\u7684\u8bed\u8a00\uff0c\u6240\u4ee5\u6709\u591a\u5e74\u7ecf\u9a8c\u7684\u8001\u624b\u5f88\u96be\u627e\u5230\u3002 \u56e0\u6b64\uff0c\u91c7\u7528 Rust \u7684\u7ecf\u7406\u5e94\u8be5\u4e3a\u56e2\u961f\u7684\u57f9\u8bad\u548c\u5176\u4ed6\u5f62\u5f0f\u7684\u6559\u80b2\u548c\u652f\u6301\u5212\u51fa\u9884\u7b97\u3002 \u53e6\u5916\uff0c\u8fd8\u5e94\u8003\u8651\u5230\u4e00\u4e2a\u62e5\u6709\u6570\u5341\u5e74\u7f16\u7a0b\u7ecf\u9a8c\u7684\u4eba\u53ef\u4ee5\u5728\u5e2e\u52a9\u4e0b\u5feb\u901f\u91c7\u7528\u4e00\u95e8\u65b0\u7684\u7f16\u7a0b\u8bed\u8a00\u3002\u201d<\/p>\n<h2><span id=\"Rust_and_other_languages\" class=\"ez-toc-section\"><\/span>Rust \u548c\u5176\u4ed6\u8bed\u8a00<\/h2>\n<p>JavaScript\/TypeScript \u4ecd\u7136\u662f\u6700\u5e38\u4e0e Rust \u4e00\u8d77\u4f7f\u7528\u7684\u8bed\u8a00\uff0c\u5e76\u4e14\u5176\u5360\u6bd4\u8fd8\u5728\u9010\u6e10\u589e\u52a0\u3002<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-310744\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/01\/Screenshot-2023-01-04-at-22.03.04.png\" alt=\"\" width=\"1822\" height=\"1056\" \/><\/figure>\n<p><strong>\u4e13\u5bb6\u5206\u6790<\/strong><\/p>\n<p><strong>Florian<\/strong>\uff1a\u201c\u8fd9\u8ba9\u6211\u5f88\u60ca\u559c\uff0c\u6211\u6b64\u524d\u9884\u8ba1\u7eaf Rust \u9879\u76ee\u7684\u6bd4\u4f8b\u4f1a\u4f4e\u4e00\u4e9b\u3002 \u6211\u5bf9 JavaScript \u7684\u6570\u5b57\u5e76\u4e0d\u60ca\u8bb6\uff0c\u56e0\u4e3a\u793e\u533a\u975e\u5e38\u63a5\u8fd1\uff0c\u5f7c\u6b64\u76f8\u5904\u878d\u6d3d\u3002\u201d<\/p>\n<p><strong>Andre<\/strong>\uff1a\u201c\u8fd1\u534a\u6570\u53d7\u8bbf\u8005\u662f\u901a\u6653\u591a\u79cd\u8bed\u8a00\u7684\u7a0b\u5e8f\u5458\uff0c\u5728 Rust \u4e4b\u5916\u8fd8\u4f7f\u7528\u53e6\u4e00\u79cd\u8bed\u8a00\u3002 \u8fd9\u4e9b\u767e\u5206\u6bd4\u5927\u81f4\u80fd\u591f\u53cd\u6620\u5f53\u524d\u53d7\u6b22\u8fce\u7a0b\u5ea6\u3002 \u5982\u4ed6\u4eec\u6240\u8bf4\uff0c\u6700\u597d\u7684\u5de5\u5177\u901a\u5e38\u5c31\u662f\u624b\u5934\u7684\u5de5\u5177\u3002\u201d<\/p>\n<h2><span id=\"Debugging\" class=\"ez-toc-section\"><\/span>\u8c03\u8bd5<\/h2>\n<p>\u81ea<a href=\"https:\/\/www.jetbrains.com\/lp\/devecosystem-2021\/rust\/#Rust_how-do-you-usually-debug-your-rust-code\" target=\"_blank\" rel=\"noopener\">\u53bb\u5e74<\/a>\u4ee5\u6765\uff0c\u4f7f\u7528 <code>println!<\/code> \u6216 <code>dbg!<\/code> \u5b8f\u7684\u5f00\u53d1\u8005\u6bd4\u4f8b\u4ece 60% \u4e0b\u964d\u5230 55%\uff0c\u800c\u5728 IDE \u4e2d\u8fdb\u884c UI \u8c03\u8bd5\u7684\u6bd4\u4f8b\u4ece 23% \u589e\u52a0\u5230 27%\u3002\u00a0<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-310756\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/01\/Screenshot-2023-01-04-at-22.38.53.png\" alt=\"\" width=\"1898\" height=\"816\" \/><\/figure>\n<p><strong>\u4e13\u5bb6\u5206\u6790<\/strong><\/p>\n<p><strong>Andre<\/strong>\uff1a\u201c\u66f4\u591a\u4eba\u4f7f\u7528\u8c03\u8bd5\u5668\uff0c\u8fd9\u53ef\u80fd\u662f\u56e0\u4e3a\u53bb\u5e74\u4ee5\u6765\u652f\u6301\u6709\u6240\u6539\u5584\u3002 <code>dbg!<\/code> \u5b8f\u4ecd\u7136\u6beb\u4e0d\u610f\u5916\u5730\u5360\u636e\u4e86\u4e0a\u98ce\uff0c\u56e0\u4e3a\u5b83\u662f\u4e00\u79cd\u53ef\u4f9b\u5feb\u901f\u4e86\u89e3\u8fd0\u884c\u65f6\u72b6\u6001\u7684\u7b80\u4fbf\u65b9\u6cd5\u3002 \u53e6\u5916\uff0c\u7531\u4e8e Rust \u76f8\u5f53\u6311\u5254\uff0c\u5e94\u7528\u7a0b\u5e8f\u901a\u5e38\u4e00\u5f00\u59cb\u5c31\u4e0d\u9700\u8981\u8c03\u8bd5\u3002\u201d<\/p>\n<p><strong>Aleksey<\/strong>\uff1a\u201c\u8c03\u8bd5\u5668\u548c\u4ee5\u5f80\u4e00\u6837\u9ebb\u70e6\u3002 \u6211\u4f7f\u7528\u7684\u662f <code>eprintln!<\/code>\uff08\u901a\u8fc7 IDE \u4e2d\u7684 pd \u4ee3\u7801\u6bb5\uff09\uff0c\u4f46\u6211\u5f88\u6000\u5ff5 Kotlin \u7684\u51fa\u8272\u8c03\u8bd5\u5668\u3002\u201d<\/p>\n<h2><span id=\"Profiling\" class=\"ez-toc-section\"><\/span>\u5206\u6790<\/h2>\n<p>Rust \u5f00\u53d1\u8005\u6700\u5e38\u4f7f\u7528\u7684\u5206\u6790\u5de5\u5177\u662f perf\uff0c\u4f46\u7edd\u5927\u591a\u6570 Rust \u5f00\u53d1\u8005 (82%) \u6839\u672c\u4e0d\u4f7f\u7528\u5206\u6790\u5de5\u5177\u3002<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-310767\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/01\/Screenshot-2023-01-04-at-22.39.54.png\" alt=\"\" width=\"2110\" height=\"790\" \/><\/figure>\n<p><strong>\u4e13\u5bb6\u5206\u6790<\/strong><\/p>\n<p><strong>Florian<\/strong>\uff1a\u201c\u51fa\u4eba\u610f\u6599\u7684\u662f \u2013 \u4f46\u4e5f\u4e0d\u8db3\u4e3a\u5947 \u2013 \u5bf9\u4e8e\u8bb8\u591a\u4eba\u4e3a\u901f\u5ea6\u800c\u4f7f\u7528\u7684\u8bed\u8a00\uff0c\u6027\u80fd\u8861\u91cf\u5374\u5e76\u4e0d\u5e38\u89c1\u3002 \u6211\u7684\u7406\u8bba\u662f\uff0c\u6027\u80fd\u5de5\u5177\u65e0\u6cd5\u83b7\u53d6\u4ee5\u53ca\u56e0\u5e73\u53f0\u800c\u5f02\u3002\u201d<\/p>\n<p><strong>Aleksey<\/strong>\uff1a\u201c\u8fd9\u5b8c\u5168\u662f\u5de5\u5177\u94fe\u7684\u9519\uff01 \u6b64\u5904\u5217\u51fa\u7684\u6240\u6709\u5de5\u5177\u90fd\u96be\u4ee5\u4f7f\u7528\u3002 \u5982\u679c\u60a8\u662f\u5168\u804c\u8fdb\u884c\u5206\u6790\uff08\u4f8b\u5982\uff0c\u50cf nnethercote \u4e00\u6837\u7684\u5927\u9879\u76ee\u6027\u80fd\u5de5\u7a0b\u5e08\uff09\uff0c\u60a8\u53ef\u4ee5\u82b1\u65f6\u95f4\u5b66\u4e60\u6240\u6709\u6027\u80fd\u6807\u5fd7\u3002 \u4f46\u662f\uff0c\u5982\u679c\u60a8\u53ea\u60f3\u82b1\u4e00\u5c0f\u90e8\u5206\u65f6\u95f4\u8fdb\u884c\u6027\u80fd\u8c03\u67e5\uff0c\u90a3\u4e48\u5b66\u4e60\u66f2\u7ebf\u5c31\u975e\u5e38\u4e0d\u53cb\u597d\u3002 \u6211\u5e0c\u671b Rust \u80fd\u5411 Go \u5b66\u4e60\uff0c\u5c06 <code>pprof.StartCPUProfile<\/code> \u4f5c\u4e3a\u5de5\u5177\u94fe\u7684\u4e00\u90e8\u5206\u3002 \u4e0d\u8fc7\uff0c\u8fd9\u5c06\u9700\u8981\u5927\u91cf\u5de5\u4f5c\u3002\u201d<\/p>\n<h2><span id=\"Rust_for_CLI\" class=\"ez-toc-section\"><\/span>\u7528\u4e8e CLI \u7684 Rust<\/h2>\n<p>\u5f00\u53d1\u8005\u4e3b\u8981\u5c06 Rust \u7528\u4e8e\u6784\u5efa CLI \u5de5\u5177\u3001\u7cfb\u7edf\u7f16\u7a0b\u548c Web \u5f00\u53d1\u3002<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-310779\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/01\/Screenshot-2023-01-04-at-22.42.03.png\" alt=\"\" width=\"1910\" height=\"1198\" \/><\/figure>\n<p><strong>\u4e13\u5bb6\u5206\u6790<\/strong><\/p>\n<p><strong>Andre<\/strong>\uff1a\u201cCLI \u5de5\u5177\u88ab\u8bc1\u660e\u662f Rust \u51fa\u5f69\u7684\u51b7\u95e8\u9886\u57df\u3002 \u53bb\u5e74\uff0c\u7ea6\u4e00\u534a\u5f00\u53d1\u8005\u90fd\u5728\u5f00\u53d1\u5b83\u4eec\u3002 \u540c\u6837\u503c\u5f97\u6ce8\u610f\u7684\u662f\uff0c\u867d\u7136\u533a\u5757\u94fe\u516c\u53f8\u7ecf\u5e38\u5439\u5618\u81ea\u5df1\u4f7f\u7528 Rust\uff0c\u4f46\u5b9e\u9645\u4e0a\u53ea\u6709 6% \u7684\u53d7\u8bbf\u8005\u5728\u8be5\u9886\u57df\u5de5\u4f5c\u3002 \u8fd9\u8981\u4e48\u662f\u8fc7\u5ea6\u7092\u4f5c\u548c\u8425\u9500\uff0c\u8981\u4e48\u662f\u5c11\u6570\u5728\u533a\u5757\u94fe\u5de5\u4f5c\u7684 Rust \u5f00\u53d1\u8005\u6548\u7387\u6781\u9ad8\u3002 \u4e5f\u53ef\u80fd\u4e24\u79cd\u60c5\u51b5\u90fd\u5b58\u5728\u3002\u201d<\/p>\n<p><strong>Florian<\/strong>\uff1a\u201c\u9274\u4e8e\u5728\u516c\u4f17\u773c\u4e2d\u533a\u5757\u94fe\u884c\u4e1a\u6709\u5f88\u591a Rust \u5de5\u4f5c\uff0c\u770b\u5230\u8fd9\u4e2a\u9009\u9879\u751a\u81f3\u4f4e\u4e8e\u5d4c\u5165\u5f0f\u548c\u5b66\u672f\u7528\u9014\u8ba9\u6211\u975e\u5e38\u60ca\u8bb6\u3002\u201d<\/p>\n<h2><span id=\"Target_platform\" class=\"ez-toc-section\"><\/span>\u76ee\u6807\u5e73\u53f0<\/h2>\n<p>\u4e0d\u51fa\u6240\u6599\uff0cLinux \u662f Rust \u7684\u9996\u8981\u76ee\u6807\u5e73\u53f0\u3002 Rust \u4e0e Linux \u9886\u57df\u7684\u96c6\u6210\u4ecd\u5728\u7ee7\u7eed\uff0c\u6700\u521d\u7684 Rust \u652f\u6301\u5df2\u5728 10 \u6708<a href=\"https:\/\/www.phoronix.com\/news\/Rust-Is-Merged-Linux-6.1\" target=\"_blank\" rel=\"noopener\">\u5408\u5e76<\/a>\u5230 Linux \u5185\u6838\u4e2d\u3002<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-310790\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/01\/Screenshot-2023-01-04-at-22.45.28.png\" alt=\"\" width=\"2614\" height=\"778\" \/><\/figure>\n<p><strong>\u4e13\u5bb6\u5206\u6790<\/strong><\/p>\n<p><strong>Andre<\/strong>\uff1a\u201c\u5c3d\u7ba1 Windows \u6709\u6240\u8fdb\u5c55\uff0c\u4f46 Linux \u4ecd\u5360\u636e\u4e3b\u5bfc\u5730\u4f4d\u3002 \u6211\u8ba4\u4e3a\u8fd9\u53ef\u80fd\u662f\u7531\u4e8e Microsoft \u5bf9 Rust \u7684\u6295\u8d44\uff0c\u4ee5\u53ca Linux \u7528\u6237\u901a\u5e38\u662f\u65e9\u671f\u91c7\u7528\u8005\uff0c\u800c\u4e14\u73b0\u5728\u8d8a\u6765\u8d8a\u591a\u7684\u793e\u533a\u62e5\u6709\u66f4\u591a\u4fdd\u5b88\u7528\u6237\uff0c\u4ed6\u4eec\u503e\u5411\u4e8e\u4f7f\u7528 PC \u9644\u5e26\u7684\u64cd\u4f5c\u7cfb\u7edf\u3002\u201d<\/p>\n<p><strong>Florian<\/strong>\uff1a\u201c\u8fd8\u6709\u4e00\u4e2a\u5c0f\u60ca\u559c \u2013 \u6211\u4f1a\u628a WebAssembly \u7f6e\u4e8e\u5d4c\u5165\u5f0f\u4f7f\u7528\u7684\u67d0\u4e2a\u5730\u65b9\u3002 \u8fd9\u518d\u6b21\u8868\u660e\u4e86\u8f6e\u8be2\u7684\u91cd\u8981\u6027\u3002\u201d<\/p>\n<h2><span id=\"Plugins\" class=\"ez-toc-section\"><\/span>\u63d2\u4ef6<\/h2>\n<p>\u4f7f\u7528 rust-analyzer \u7684\u5f00\u53d1\u8005\u6bd4\u4f8b\u4ece 25% \u589e\u52a0\u5230 45%\u3002 42% \u7684\u5f00\u53d1\u8005\u4f7f\u7528 IntelliJ Rust\uff0c\u800c\u53bb\u5e74\u8fd9\u4e00\u6bd4\u4f8b\u4e3a 47%\u3002<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-310801\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/01\/Screenshot-2023-01-04-at-22.46.48.png\" alt=\"\" width=\"2190\" height=\"942\" \/><\/figure>\n<p><strong>\u4e13\u5bb6\u5206\u6790<\/strong><\/p>\n<p><strong>Aleksey<\/strong>\uff1a\u201crust-analyzer \u589e\u957f\u5de8\u5927\uff01 \u8fd9\u5e76\u4e0d\u5947\u602a\uff0c\u56e0\u4e3a rust-analyzer \u9879\u76ee\u6700\u8fd1<a href=\"https:\/\/blog.rust-lang.org\/2022\/02\/21\/rust-analyzer-joins-rust-org.html\" target=\"_blank\" rel=\"noopener\">\u878d\u5165<\/a>\u4e86\u66f4\u5927\u7684 Rust \u7ec4\u7ec7\uff0c\u5e76\u4e14 Rust Language Server (RLS) \u4e5f\u4e3a\u652f\u6301 rust-analyzer \u800c\u88ab<a href=\"https:\/\/blog.rust-lang.org\/2022\/07\/01\/RLS-deprecation.html\" target=\"_blank\" rel=\"noopener\">\u5f03\u7528<\/a>\u3002 \u6211\u5f88\u9ad8\u5174\u6709\u5f88\u591a\u4eba\u4e3a Rust \u4f7f\u7528\u9ad8\u7ea7 IDE \u5e76\u4e14 IntelliJ Rust \u4e0e rust-analyzer \u4e4b\u95f4\u5b58\u5728\u5065\u5eb7\u7684\u7ade\u4e89\u4e0e\u5408\u4f5c\uff01\u201d<\/p>\n<p><strong>Andre<\/strong>\uff1a\u201crust-analyzer \u53d6\u5f97\u4e86\u91cd\u5927\u8fdb\u5c55\uff0c\u73b0\u5728\u6210\u4e3a Rust \u7684\u5b98\u65b9 LSP \u5b9e\u73b0\u3002 IntelliJ Rust \u4e5f\u4fdd\u6301\u5f3a\u52b2\u52bf\u5934\u3002 \u4f7f\u7528\u8fc7\u4e24\u8005\u540e\uff0c\u6211\u4ecd\u7136\u4e0d\u65f6\u5728\u5b83\u4eec\u4e4b\u95f4\u5207\u6362\u3002 \u4e24\u4ef6\u7cbe\u7f8e\u7684\u5de5\u7a0b\u7ed3\u6676\u3002 \u771f\u68d2\uff01\u201d<\/p>\n<p>\u5c31\u662f\u8fd9\u4e9b\uff01 \u67e5\u770b\u5b8c\u6574\u62a5\u544a\uff0c\u544a\u8bc9\u6211\u4eec\u60a8\u5bf9\u8c03\u67e5\u7ed3\u679c\u7684\u770b\u6cd5\u3002 \u60a8\u53ef\u4ee5\u5728 <a href=\"https:\/\/twitter.com\/intellijrust\" target=\"_blank\" rel=\"noopener\">Twitter<\/a> \u4e0a\u8054\u7cfb\u6211\u4eec\uff0c\u4e5f\u53ef\u4ee5\u5728\u8fd9\u91cc\u7559\u8a00\u3002 \u611f\u8c22\u9605\u8bfb\uff01<\/p>\n<p>\u00a0<\/p>\n<p>\u672c\u535a\u6587\u82f1\u6587\u539f\u4f5c\u8005\uff1a<\/p>\n\n    <div class=\"about-author \">\n        <div class=\"about-author__box\">\n            <div class=\"row\">\n                <div class=\"about-author__box-img\">\n                    <img decoding=\"async\" src=\"https:\/\/secure.gravatar.com\/avatar\/?s=200&#038;r=g\" width=\"200\" height=\"200\" alt=\"\" loading=\"lazy\"  class=\"avatar avatar-200 wp-user-avatar wp-user-avatar-200 photo avatar-default\">\n                <\/div>\n                <div class=\"about-author__box-text\">\n                                                        <\/div>\n            <\/div>\n        <\/div>\n    <\/div>\n","protected":false},"author":1297,"featured_media":317843,"comment_status":"closed","ping_status":"closed","template":"","categories":[89,4996],"tags":[4269,526,530],"cross-post-tag":[],"acf":[],"_links":{"self":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/rust\/321940"}],"collection":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/rust"}],"about":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/types\/rust"}],"author":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/users\/1297"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/comments?post=321940"}],"version-history":[{"count":3,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/rust\/321940\/revisions"}],"predecessor-version":[{"id":322324,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/rust\/321940\/revisions\/322324"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/media\/317843"}],"wp:attachment":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/media?parent=321940"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/categories?post=321940"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/tags?post=321940"},{"taxonomy":"cross-post-tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/cross-post-tag?post=321940"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}