{"id":24907,"date":"2025-03-06T10:16:20","date_gmt":"2025-03-06T02:16:20","guid":{"rendered":"https:\/\/aif.amtbbs.org\/?p=24907"},"modified":"2025-03-06T10:16:20","modified_gmt":"2025-03-06T02:16:20","slug":"2025-%e5%b9%b4%e5%89%8d%e7%ab%af%e4%b8%8e-ai-%e6%8a%80%e6%9c%af%e5%a4%a7%e7%9b%98%e7%82%b9%e5%92%8c%e5%b1%95%e6%9c%9b","status":"publish","type":"post","link":"https:\/\/aif.amtbbs.org\/index.php\/2025\/03\/06\/24907\/","title":{"rendered":"2025 \u5e74\u524d\u7aef\u4e0e AI \u6280\u672f\u5927\u76d8\u70b9\u548c\u5c55\u671b"},"content":{"rendered":"<div><\/div>\n<div><img data-dominant-color=\"2076b0\" data-has-transparency=\"false\" style=\"--dominant-color: #2076b0;\" loading=\"lazy\" decoding=\"async\" class=\"not-transparent alignnone size-full wp-image-24909\" src=\"https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2025\/03\/0490c3a902fad30b9dd2963fb4b3be96818efd-300x167-1.jpg\" width=\"300\" height=\"167\" alt=\"\" srcset=\"https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2025\/03\/0490c3a902fad30b9dd2963fb4b3be96818efd-300x167-1.jpg 300w, https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2025\/03\/0490c3a902fad30b9dd2963fb4b3be96818efd-300x167-1-150x84.jpg 150w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/div>\n<div class=\"article-desc\">\u6280\u672f\u7684\u53d1\u5c55\u662f\u6c38\u65e0\u6b62\u5883\u7684\uff0c\u811a\u8e0f\u5b9e\u5730\u624d\u80fd\u9065\u671b\u661f\u7a7a\uff0c\u56de\u987e 2024 \u5e74\u7684\u524d\u7aef\u6280\u672f\u4e5f\u662f\u4e3a\u4e86\u66f4\u597d\u5730\u5c55\u671b\u672a\u6765\u7684\u53d1\u5c55\u8d8b\u52bf\uff0c\u636e\u6b64\u6211\u4eec\u53ef\u4ee5\u5bf9 2025 \u5e74\u524d\u7aef\u6280\u672f\u4e0d\u540c\u7ec6\u5206\u7684\u9886\u57df\u65b9\u9762\u4f5c\u51fa\u4e00\u4e9b\u5c55\u671b\u3002<\/div>\n<div id=\"postspictures\" class=\"article-content\">\n<div id=\"container\" class=\"container am-engine\" data-v-1d7a5742=\"\" data-element=\"root\">\n<p>&nbsp;<\/p>\n<p>\u65f6\u5149\u98de\u901d\u95f4\uff0c2024 \u5e74\u5df2\u6084\u7136\u5212\u8fc7\u6280\u672f\u957f\u6cb3\u3002\u7eb5\u89c8\u8fd9\u4e00\u5e74\u524d\u7aef\u6280\u672f\u5927\u821e\u53f0\uff0c\u867d\u6ca1\u6709\u51fa\u73b0\u9769\u547d\u6027\u7684\u660e\u661f\u9879\u76ee\uff0c\u4f46\u5404\u7ec6\u5206\u9886\u57df\u90fd\u5448\u73b0\u6301\u7eed\u6df1\u8015\u4e0e\u521b\u65b0\u7a81\u7834\u7684\u6001\u52bf\u3002\u63a5\u4e0b\u6765\u8ba9\u6211\u4eec\u4e00\u8d77\u4e58\u5750\u65f6\u5149\u673a\u91cd\u56de 2024\uff0c\u5171\u540c\u5f00\u542f\u8fd9\u6bb5\u6280\u672f\u5de1\u793c\uff0c\u900f\u8fc7\u4e13\u4e1a\u89c6\u89d2\u770b\u770b\u524d\u7aef\u884c\u4e1a\u53d1\u751f\u4e86\u54ea\u4e9b\u91cd\u8981\u7684\u4e8b\u60c5\u5427\u3002\u6587\u7ae0\u5f88\u957f\uff0c\u5efa\u8bae\u5148\u6536\u85cf\u518d\u770b\uff01<\/p>\n<p>\u6b63\u6587\u5f00\u59cb\u524d\uff0c\u6211\u4eec\u5148\u5feb\u901f\u770b\u4e0b2024\u5e74\u524d\u7aef\u9886\u57df\u53d1\u751f\u4e86\u54ea\u4e9b\u91cd\u8981\u7684\u4e8b\u9879\uff1a<\/p>\n<p>\uff08\u6ce8\uff1a\u6587\u7ae0\u4e2d\u6240\u6709\u201d\u4eca\u5e74\u201c\u4ee3\u6307 2024 \u5e74\uff0c\u660e\u5e74\u4ee3\u6307\u201d2025 \u5e74\u201c\uff0c\u5168\u6587\u7531\u5e94\u7528\u5b9d\u524d\u7aefMoonWebTeam\u56e2\u961f\u6574\u7406\u800c\u6210\uff09<\/p>\n<p>\u25cf \u9996\u5148\u5728\u5927\u6a21\u578b\u767e\u82b1\u9f50\u653e\u7684\u4eca\u5e74\uff0c\u5927\u6a21\u578b\u7406\u89e3\u548c\u63a8\u65ad\u3001\u591a\u6a21\u6001\u7b49\u80fd\u529b\u7684\u4e0d\u65ad\u6f14\u8fdb\uff0c\u6d8c\u73b0\u51fa\u8bb8\u591a\u65b0\u9896\u7684\u843d\u5730\u573a\u666f\uff0c\u5728\u4eca\u5e74\u6240\u6709\u843d\u5730\u573a\u666f\u4e2d\u6700\u4e3a\u7a81\u51fa\u7684\u4fbf\u662f\u5728\u8f6f\u4ef6\u5f00\u53d1\u9886\u57df\u5f15\u9886\u4e86\u201c\u4eba\u673a\u534f\u4f5c\u201d\u7684\u98a0\u8986\u6027\u53d8\u9769\u3002<\/p>\n<p>\u25cf \u5728\u524d\u7aef\u8bed\u8a00\u4e0e\u6807\u51c6\u9886\u57df\uff0c\u4eca\u5e74 JavaScript\u3001CSS\u3001TypeScript \u4e5f\u90fd\u6709\u4e00\u4e9b\u65b0\u7684\u53d8\u5316\u3002\u53bb\u5e74\u524d\u7aef\u793e\u533a\u66fe\u51fa\u73b0\u8fc7\u53cd TypeScript \u7684\u547c\u58f0\uff0c\u90a3\u4e48\u4eca\u5e74 TypeScript \u53c8\u4f55\u53bb\u4f55\u4ece\uff1f<\/p>\n<p>\u25cf \u5728\u524d\u7aef\u6846\u67b6\u9886\u57df\uff0c\u4eca\u5e74\u5e76\u6ca1\u6709\u51fa\u73b0\u660e\u661f\u7ea7\u522b\u7684\u65b0\u7684\u524d\u7aef\u6846\u67b6\uff0c\u524d\u7aef\u6846\u67b6\u7684\u56db\u5bb6\u9a6c\u8f66 React\u3001Vue\u3001Svelte \u548c Angular \u7ee7\u7eed\u9886\u8dd1\uff0c\u4e3b\u6d41\u524d\u7aef\u6846\u67b6\u4e4b\u95f4\u76f8\u4e92\u5b66\u4e60\u501f\u9274\u7684\u540c\u65f6\uff0c\u4e5f\u5728\u6309\u7167\u81ea\u5df1\u7684\u7279\u8272\u4e0d\u65ad\u53d1\u5c55\u4e0e\u8fdb\u6b65\uff0cHtmx \u83b7\u9009\u4e86 2024 \u5e74\u5ea6 JavaScript \u524d\u7aef UI \u6846\u67b6\u660e\u661f\u9879\u76ee\u3002<\/p>\n<p>\u25cf \u5728\u524d\u7aef\u57fa\u7840\u5efa\u8bbe\u9886\u57df\uff0c Rust \u5316\u8d8b\u52bf\u5df2\u52bf\u4e0d\u53ef\u6321\uff1aRspack \u5df2\u7ecf\u53ef\u4ee5\u4f5c\u4e3a webpack \u51e0\u4e4e\u5373\u63d2\u5373\u7528\u7684\u66ff\u4ee3\u65b9\u6848\uff0cBiome \u6210\u4e3a\u4e86 2024 \u5e74\u5ea6 JavaScript \u524d\u7aef\u5de5\u5177\u7684\u660e\u661f\u9879\u76ee\uff0cVite \u5b98\u65b9\u53bb\u5e74\u5ba3\u5e03\u7528\u4e8e Rust \u91cd\u6784 vite \u7684 Rolldown \u4e5f\u5df2\u7ecf\u5728\u4eca\u5e74\u5f00\u6e90\u3002<\/p>\n<p>\u25cf \u5728 JavaScript \u8fd0\u884c\u65f6\u9886\u57df\uff0c\u8d77\u6b65\u65e9\u7684 Node.js \u6240\u5efa\u7acb\u7684\u5b8c\u5584\u7684\u751f\u6001\u4f9d\u65e7\u662f\u6240\u6709\u65b0\u7684 JavaScript \u8fd0\u884c\u65f6\u6311\u6218\u8005\u4e0d\u53ef\u56de\u907f\u7684\u95ee\u9898\u3002\u5728 2024 \u5e74\u671f\u95f4\u53c8\u51fa\u73b0\u4e86\u4e00\u4e2a\u65b0\u7684\u524d\u7aef\u8fd0\u884c\u65f6\u6311\u6218\u8005 Winterjs\u3002<\/p>\n<p>\u25cf \u5728\u8de8\u7aef\u6280\u672f\u9886\u57df\uff0c\u4eca\u5e74\u9e3f\u8499\u7684\u7cfb\u7edf\u63a8\u5e7f\u5728\u56fd\u5185\u504f\u524d\u7aef\u7684\u8de8\u7aef\u9886\u57df\u6380\u8d77\u4e86\u4e0d\u5c11\u6ce2\u6f9c\uff0c\u4e00\u7801\u591a\u7aef\u6050\u5c06\u6210\u4e3a\u8de8\u7aef\u672a\u6765\u7684\u6838\u5fc3\u8bc9\u6c42\u3002<\/p>\n<p>\u25cf \u5728\u4f4e\u4ee3\u7801\u9886\u57df\u548c D2C \u9886\u57df\uff0c\u5f97\u76ca\u4e8e\u4eca\u5e74\u5927\u6a21\u578b\u591a\u6a21\u6001\u80fd\u529b\u7684\u6f14\u8fdb\uff0cAI \u843d\u5730\u4f4e\u4ee3\u7801\u548c D2C \u521d\u89c1\u96cf\u5f62\u3002<\/p>\n<p>\u25cf \u6b64\u5916\u5728\u6d4f\u89c8\u5668\u3001 WASM\u3001\u97f3\u89c6\u9891\u7b49\u4e0e\u524d\u7aef\u606f\u606f\u76f8\u5173\u7684\u5e95\u5c42\u80fd\u529b\u9886\u57df\u4e5f\u5728\u4e0d\u65ad\u6f14\u8fdb\u4e2d\u3002<\/p>\n<p><img data-dominant-color=\"2076b0\" data-has-transparency=\"false\" style=\"--dominant-color: #2076b0;\" loading=\"lazy\" decoding=\"async\" class=\"not-transparent alignnone size-full wp-image-24910\" src=\"https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2025\/03\/0490c3a902fad30b9dd2963fb4b3be96818efd.png\" width=\"640\" height=\"440\" srcset=\"https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2025\/03\/0490c3a902fad30b9dd2963fb4b3be96818efd.png 640w, https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2025\/03\/0490c3a902fad30b9dd2963fb4b3be96818efd-300x206.png 300w, https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2025\/03\/0490c3a902fad30b9dd2963fb4b3be96818efd-150x103.png 150w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<h3>2024 \u6280\u672f\u5e74\u5ea6\u56de\u987e<\/h3>\n<h4>1. \u8bed\u8a00\u4e0e\u6807\u51c6\uff1aCSS\u3001ES \u548c TS \u8bed\u6cd5\u6301\u7eed\u5b8c\u5584<\/h4>\n<p>2024 \u5e74\uff0cPython \u4e00\u8dc3\u800c\u4e0a\uff0c\u53d6\u4ee3 JavaScript \u6210\u4e3a Github Top 1 \u7684\u7f16\u7a0b\u8bed\u8a00\uff0c\u8fd9\u4e3b\u8981\u662f\u7531\u4e8e AI \u5927\u6a21\u578b\u5728 2024 \u5e74\u7684\u7206\u706b\u3002TypeScript \u7ecf\u5386\u4e86 2016 \u5e74\u5230 2019 \u5e74\u7684\u6fc0\u589e\u540e\uff0c\u6574\u4f53\u8d8b\u52bf\u8f83\u4e3a\u7a33\u5b9a\uff0c\u65e0\u592a\u5927\u660e\u663e\u6ce2\u52a8\u3002JavaScript \u548c TypeScript \u4f9d\u7136\u7a33\u5360 Top 3 \u5185\uff0c\u53ef\u89c1\u524d\u7aef\u5f00\u53d1\u7684\u70ed\u5ea6\u4f9d\u7136\u4e0d\u51cf\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s6.51cto.com\/oss\/202503\/05\/516c88271f3d82a5f68962ce4fba4464613eb3.webp\" data-type=\"block\" \/><\/p>\n<p>\uff08\u56fe\u8282\u9009\u81ea\u00a0Octoverse: AI leads Python to top language as the number of global developers surges &#8211; The GitHub Blog\uff09<\/p>\n<p>\u4ece 2024 \u5e74\u5404\u8bed\u8a00\u7684\u589e\u957f\u901f\u5ea6\u4e0a\u770b\uff0cPython \u548c Typescript \u4f4d\u4e8e\u7b2c\u4e00\u548c\u7b2c\u4e8c\uff0c\u867d\u7136 Python \u5728\u4ee3\u7801\u63a8\u9001\u6d3b\u52a8\u548c\u5176\u4ed6\u6d3b\u52a8\u7684\u8d21\u732e\u8005\u6570\u91cf\u589e\u957f\u901f\u5ea6\u90fd\u8d85\u8fc7\u4e86 JavaScript\uff0c\u4f46\u5176\u589e\u957f\u901f\u5ea6\u4ecd\u4e0d\u53ca JavaScript \u548c TypeScript \u7684\u603b\u548c\u3002\u6211\u4eec\u770b\u5230\u7684\u5e76\u975e JavaScript \u793e\u533a\u7684\u653e\u7f13\uff0c\u800c\u662f\u5927\u91cf\u65b0\u63d0\u4ea4\u4ee3\u7801\u8f6c\u5411\u4e86 TypeScript\u3002\u7531\u6b64\u53ef\u4ee5\u770b\u51faTypeScript \u6b63\u5728\u8695\u98df JavaScript \u7684\u5e02\u573a\u4efd\u989d\uff0cJavaScript \u5f00\u53d1\u8005\u62e5\u62b1\u66f4\u5177\u7c7b\u578b\u5b89\u5168\u6027\u7684 TypeScript \u5df2\u662f\u8d8b\u52bf\u3002\u56e0\u6b64\u63a5\u4e0b\u6765\u5c31\u8ba9\u8bfb\u8005\u5e26\u9886\u5927\u5bb6\u56de\u987e\u4e00\u4e0b\u524d\u7aef\u76f8\u5173\u8bed\u8a00\u65b9\u9762\u7684\u65b0\u7279\u6027\u5427\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s5.51cto.com\/oss\/202503\/05\/e3c1db003767e303b4076780e45735e2a0d595.webp\" data-type=\"block\" \/><\/p>\n<p>\uff08\u56fe\u8282\u9009\u81ea\u00a0Octoverse: AI leads Python to top language as the number of global developers surges &#8211; The GitHub Blog\uff09<\/p>\n<p><strong>(1) TypeScript \u65b0\u7279\u6027\u89e3\u8bfb\uff1a\u5b8c\u5584\u7c7b\u578b\u4e0e\u5b89\u5168\u6027\uff0c\u63d0\u5347\u5f00\u53d1\u8005\u4f53\u9a8c<\/strong><\/p>\n<p>TypeScript \u5728 2024 \u5e74\u53d1\u5e03\u4e86 5.4 \u81f3 5.7 \u56db\u4e2a\u7248\u672c\uff0c\u5305\u542b\u4e86\u8bb8\u591a\u63d0\u5347\u7c7b\u578b\u5b89\u5168\u6027\u68c0\u67e5\u548c\u63d0\u5347\u5f00\u53d1\u8005\u4f53\u9a8c\u7684\u65b0\u7279\u6027\uff0c\u5177\u4f53\u53ef\u4ee5\u67e5\u9605\u5982\u4e0b\u7684\u5b98\u65b9\u6587\u6863\u3002\u5728\u8fd9\u4e9b\u65b0\u7279\u6027\u4e2d\uff0c\u7b14\u8005\u8ba4\u4e3a\u6700\u91cd\u8981\u7684\u662f\u7c7b\u578b\u63a8\u65ad\u548c\u53ef\u7591\u4ee3\u7801\u8bc6\u522b\u7684\u4f18\u5316\u3002<\/p>\n<ul data-id=\"u738a58b-SnEgTtYF\">\n<li data-id=\"ld70c578-h0MrU9Ib\">Announcing TypeScript 5.7 &#8211; TypeScript<\/li>\n<li data-id=\"ld70c578-vOe7b5In\">Announcing TypeScript 5.6 &#8211; TypeScript<\/li>\n<li data-id=\"ld70c578-q1rhdpM6\">Announcing TypeScript 5.5 &#8211; TypeScript<\/li>\n<li data-id=\"ld70c578-DMTNQOg0\">Announcing TypeScript 5.4 &#8211; TypeScript<\/li>\n<\/ul>\n<p><strong>\u2460 \u7c7b\u578b\u63a8\u65ad\u7684\u4f18\u5316<\/strong><\/p>\n<p>NoInfer \u7c7b\u578b\u5de5\u5177\uff1a<\/p>\n<p>\u5f53\u51fd\u6570\u7b7e\u540d\u4e2d\u6709\u591a\u4e2a\u53c2\u6570\u540c\u65f6\u5f15\u7528\u540c\u4e00\u4e2a\u6cdb\u578b\u53c2\u6570\u65f6\uff0c\u8be5\u6cdb\u578b\u53c2\u6570\u4f1a\u88ab\u63a8\u5bfc\u4e3a\u6ee1\u8db3\u6240\u6709\u51fd\u6570\u53c2\u6570\u7c7b\u578b\u7684\u96c6\u5408\uff0c\u8fd9\u79cd\u60c5\u51b5\u4e0b\u53ef\u80fd\u5c31\u4f1a\u51fa\u73b0\u7c7b\u578b\u63a8\u52a8\u4e0d\u7b26\u5408\u9884\u671f\u7684\u8868\u73b0\uff0c\u5f15\u7528\u5b98\u65b9\u6587\u6863\u4f8b\u5b50\uff0c\u5b9a\u4e49\u4e00\u4e2a\u51fd\u6570\uff0c\u53c2\u6570 A \u662f\u6240\u6709\u7684\u989c\u8272\uff0c\u53c2\u6570 B \u662f\u9ed8\u8ba4\u989c\u8272\uff0c\u7c7b\u578b\u6765\u6e90\u4e8e\u53c2\u6570 A \u7c7b\u578b\u96c6\u5408\uff0c\u4ee3\u7801\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<div>\n<div class=\"hljs-cto\">\n<div class=\"hljs-cto\"><button class=\"copy_btn disable\" data-clipboard-target=\"#code_id_0\">\u590d\u5236<\/button><\/p>\n<div class=\"code-toolbar\">\n<pre class=\"has-pre-numbering language-javascript\" tabindex=\"0\"><code class=\"language-javascript\"><span class=\"token keyword\">function<\/span> createStreetLight<span class=\"token operator\">&lt;<\/span><span class=\"token constant\">C<\/span> <span class=\"token keyword\">extends<\/span> <span class=\"token class-name\">string<\/span><span class=\"token operator\">&gt;<\/span><span class=\"token punctuation\">(<\/span>colors<span class=\"token operator\">:<\/span> <span class=\"token constant\">C<\/span><span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span> defaultColor<span class=\"token operator\">?<\/span><span class=\"token operator\">:<\/span> <span class=\"token constant\">C<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span>\r\n    <span class=\"token comment\">\/\/ ...<\/span>\r\n<span class=\"token punctuation\">}<\/span>\r\n\r\n<span class=\"token comment\">\/\/ \u6cdb\u578b\u53c2\u6570\u63a8\u5bfc\uff1aC =&gt; \"red\" | \"yellow\" | \"green\" | \"blue\"<\/span>\r\n<span class=\"token function\">createStreetLight<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">[<\/span><span class=\"token string\">\"red\"<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">\"yellow\"<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">\"green\"<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">\"blue\"<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/code><\/pre>\n<ul id=\"code_id_0\" class=\"pre-numbering\">\n<li>1.<\/li>\n<li>2.<\/li>\n<li>3.<\/li>\n<li>4.<\/li>\n<li>5.<\/li>\n<li>6.<\/li>\n<\/ul>\n<div class=\"toolbar\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>\u4f46\u662f\u9ed8\u8ba4\u60c5\u51b5\u4e0b TypeScript \u4f1a\u5c06\u7b2c\u4e8c\u4e2a\u53c2\u6570\u63a8\u5bfc\u51fa\u7684\u7c7b\u578b\u4e5f\u585e\u8fdb\u4e86\u6cdb\u578b\u7c7b\u578b\u96c6\u5408\u4e2d\uff0c\u5373\u6cdb\u578b C \u7684\u7c7b\u578b\u63a8\u65ad\u4e3a&#8221;red&#8221; | &#8220;yellow&#8221; | &#8220;green&#8221; | &#8220;blue&#8221;\uff0c\u4f46\u662f\u6211\u4eec\u5b9e\u9645\u9884\u671f\u5176\u5b9e\u662f defaultColor \u7684\u7c7b\u578b\u9700\u8981\u7ea6\u675f\u5728 colors \u7684\u7c7b\u578b\u96c6\u5408\u4e2d\u3002\u56e0\u6b64\u4e3a\u4e86\u89e3\u51b3\u4e0a\u7684\u6cdb\u578b\u63a8\u65ad\u95ee\u9898\uff0cTypeScript 5.4 \u7248\u672c\u63a8\u51fa NoInfer \u7c7b\u578b\u5de5\u5177\u3002<\/p>\n<div>\n<div class=\"hljs-cto\">\n<div class=\"hljs-cto\"><button class=\"copy_btn disable\" data-clipboard-target=\"#code_id_1\">\u590d\u5236<\/button><\/p>\n<div class=\"code-toolbar\">\n<pre class=\"has-pre-numbering language-javascript\" tabindex=\"0\"><code class=\"language-javascript\"><span class=\"token keyword\">function<\/span> createStreetLight<span class=\"token operator\">&lt;<\/span><span class=\"token constant\">C<\/span> <span class=\"token keyword\">extends<\/span> <span class=\"token class-name\">string<\/span><span class=\"token operator\">&gt;<\/span><span class=\"token punctuation\">(<\/span>colors<span class=\"token operator\">:<\/span> <span class=\"token constant\">C<\/span><span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span> defaultColor<span class=\"token operator\">?<\/span><span class=\"token operator\">:<\/span>  NoInfer<span class=\"token operator\">&lt;<\/span><span class=\"token constant\">C<\/span><span class=\"token operator\">&gt;<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span>\r\n  <span class=\"token comment\">\/\/ ...<\/span>\r\n<span class=\"token punctuation\">}<\/span>\r\n\r\n<span class=\"token comment\">\/\/ \u6cdb\u578b\u53c2\u6570\u63a8\u5bfc\uff1aT =&gt; \"red\" | \"yellow\" | \"green\"\uff0cdefaultColor \u7ea6\u675f\u5728 colors \u7c7b\u578b\u96c6\u5408\u4e2d<\/span>\r\n<span class=\"token function\">createStreetLight<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">[<\/span><span class=\"token string\">\"red\"<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">\"yellow\"<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">\"green\"<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">\"blue\"<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/code><\/pre>\n<ul id=\"code_id_1\" class=\"pre-numbering\">\n<li>1.<\/li>\n<li>2.<\/li>\n<li>3.<\/li>\n<li>4.<\/li>\n<li>5.<\/li>\n<li>6.<\/li>\n<\/ul>\n<div class=\"toolbar\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><img decoding=\"async\" src=\"https:\/\/s4.51cto.com\/oss\/202503\/05\/b4394fa90c3ee0da79a5428fc0eae049909b97.webp\" data-type=\"block\" \/><\/p>\n<p>\u81ea\u52a8\u7c7b\u578b\u5b88\u536b\uff1a<\/p>\n<p>TypeScript 5.5 \u65b0\u589e\u4e86\u540d\u4e3a Inferred Type Predicates \u7684\u65b0\u7279\u6027\uff0c\u4f7f\u5f97 TypeScript \u53ef\u4ee5\u57fa\u4e8e\u5bf9\u4ee3\u7801\u63a7\u5236\u6d41\u7684\u5206\u6790\u6765\u5bf9\u53d8\u91cf\u7684\u7c7b\u578b\u8fdb\u884c\u66f4\u5408\u7406\u7684\u63a8\u65ad\uff0c\u81ea\u52a8\u8bc6\u522b\u7c7b\u578b\u5b88\u536b\uff0c\u7b80\u5316\u4e86\u7c7b\u578b\u7f29\u7a84\u7684\u8fc7\u7a0b\uff0c\u63d0\u5347\u4e86\u5f00\u53d1\u8005\u7684\u5f00\u53d1\u4f53\u9a8c\u3002<\/p>\n<p>\u4e3e\u4e2a\u4f8b\u5b50\uff0c\u5728 TypeScript 5.5 \u7248\u672c\u4e4b\u524d\uff0c\u5982\u679c\u5c06\u7c7b\u578b\u5224\u65ad\u5c01\u88c5\u6210\u51fd\u6570\uff0c\u9700\u8981\u663e\u793a\u58f0\u660e\u8fd4\u56de\u7c7b\u578b\u5b88\u536b\uff0c\u5426\u5219 Typescript \u65e0\u6cd5\u6839\u636e\u51fd\u6570\u6267\u884c\u5206\u652f\u7ed3\u679c\u63a8\u65ad\u51fa\u6b63\u786e\u7684\u7c7b\u578b\u3002\u5728 5.5 \u7248\u672c\u4e4b\u540e\uff0cTypescript \u652f\u6301\u81ea\u52a8\u8bc6\u522b\u7c7b\u578b\u5b88\u536b\uff0c\u65e0\u9700\u5f00\u53d1\u8005\u663e\u5f0f\u58f0\u660e\u7c7b\u578b\u5b88\u536b\u3002<\/p>\n<div>\n<div class=\"hljs-cto\">\n<div class=\"hljs-cto\"><button class=\"copy_btn disable\" data-clipboard-target=\"#code_id_2\">\u590d\u5236<\/button><\/p>\n<div class=\"code-toolbar\">\n<pre class=\"has-pre-numbering language-javascript\" tabindex=\"0\"><code class=\"language-javascript\"><span class=\"token comment\">\/\/ 5.5 \u7248\u672c\u4e4b\u524d<\/span>\r\n<span class=\"token keyword\">function<\/span> <span class=\"token function\">isNumber<\/span><span class=\"token punctuation\">(<\/span><span class=\"token parameter\"><span class=\"token literal-property property\">value<\/span><span class=\"token operator\">:<\/span> number <span class=\"token operator\">|<\/span> string<\/span><span class=\"token punctuation\">)<\/span><span class=\"token operator\">:<\/span> value is number <span class=\"token punctuation\">{<\/span>\r\n  <span class=\"token keyword\">return<\/span> <span class=\"token keyword\">typeof<\/span> value <span class=\"token operator\">===<\/span> <span class=\"token string\">\"number\"<\/span><span class=\"token punctuation\">;<\/span>\r\n<span class=\"token punctuation\">}<\/span>\r\n\r\n<span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token function\">isNumber<\/span><span class=\"token punctuation\">(<\/span>value<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span>\r\n  value<span class=\"token punctuation\">;<\/span> <span class=\"token comment\">\/\/ number<\/span>\r\n<span class=\"token punctuation\">}<\/span> <span class=\"token keyword\">else<\/span> <span class=\"token punctuation\">{<\/span>\r\n  value<span class=\"token punctuation\">;<\/span> <span class=\"token comment\">\/\/ string<\/span>\r\n<span class=\"token punctuation\">}<\/span>\r\n\r\n<span class=\"token comment\">\/\/ 5.5 \u7248\u672c\u4e4b\u540e<\/span>\r\n<span class=\"token keyword\">function<\/span> <span class=\"token function\">isNumber<\/span><span class=\"token punctuation\">(<\/span><span class=\"token parameter\"><span class=\"token literal-property property\">value<\/span><span class=\"token operator\">:<\/span> number <span class=\"token operator\">|<\/span> string<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span>\r\n  <span class=\"token keyword\">return<\/span> <span class=\"token keyword\">typeof<\/span> value <span class=\"token operator\">===<\/span> <span class=\"token string\">\"number\"<\/span><span class=\"token punctuation\">;<\/span>\r\n<span class=\"token punctuation\">}<\/span><\/code><\/pre>\n<ul id=\"code_id_2\" class=\"pre-numbering\">\n<li>1.<\/li>\n<li>2.<\/li>\n<li>3.<\/li>\n<li>4.<\/li>\n<li>5.<\/li>\n<li>6.<\/li>\n<li>7.<\/li>\n<li>8.<\/li>\n<li>9.<\/li>\n<li>10.<\/li>\n<li>11.<\/li>\n<li>12.<\/li>\n<li>13.<\/li>\n<li>14.<\/li>\n<li>15.<\/li>\n<\/ul>\n<div class=\"toolbar\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><img decoding=\"async\" src=\"https:\/\/s7.51cto.com\/oss\/202503\/05\/34561d07721e8041927027492d8776269ffc29.webp\" data-type=\"block\" \/><\/p>\n<p>\u6b64\u5916\uff0c\u5728\u4e00\u4e9b\u6570\u7ec4\u7684\u64cd\u4f5c\u4e2d\u4e5f\u80fd\u591f\u4eab\u53d7\u5230\u8be5\u65b0\u7279\u6027\u5e26\u6765\u7684\u5f00\u53d1\u4f53\u9a8c\u4e0a\u7684\u63d0\u5347\u3002<\/p>\n<div>\n<div class=\"hljs-cto\">\n<div class=\"hljs-cto\"><button class=\"copy_btn disable\" data-clipboard-target=\"#code_id_3\">\u590d\u5236<\/button><\/p>\n<div class=\"code-toolbar\">\n<pre class=\"has-pre-numbering language-javascript\" tabindex=\"0\"><code class=\"language-javascript\">declare <span class=\"token keyword\">const<\/span> <span class=\"token literal-property property\">items<\/span><span class=\"token operator\">:<\/span> Array<span class=\"token operator\">&lt;<\/span>string <span class=\"token operator\">|<\/span> <span class=\"token keyword\">undefined<\/span><span class=\"token operator\">&gt;<\/span><span class=\"token punctuation\">;<\/span>\r\n<span class=\"token comment\">\/\/ 5.5 \u7248\u672c\u4e4b\u524d<\/span>\r\n<span class=\"token keyword\">const<\/span> res <span class=\"token operator\">=<\/span> items<span class=\"token punctuation\">.<\/span><span class=\"token function\">filter<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">(<\/span><span class=\"token parameter\">item<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">=&gt;<\/span> <span class=\"token keyword\">typeof<\/span> item <span class=\"token operator\">===<\/span> <span class=\"token string\">'string'<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token comment\">\/\/ (string | undefined)[]<\/span>\r\n<span class=\"token comment\">\/\/ 5.5 \u7248\u672c\u4e4b\u540e<\/span>\r\n<span class=\"token keyword\">const<\/span> res <span class=\"token operator\">=<\/span> items<span class=\"token punctuation\">.<\/span><span class=\"token function\">filter<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">(<\/span><span class=\"token parameter\">item<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">=&gt;<\/span> <span class=\"token keyword\">typeof<\/span> item <span class=\"token operator\">===<\/span> <span class=\"token string\">'string'<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token comment\">\/\/ string[]<\/span><\/code><\/pre>\n<ul id=\"code_id_3\" class=\"pre-numbering\">\n<li>1.<\/li>\n<li>2.<\/li>\n<li>3.<\/li>\n<li>4.<\/li>\n<li>5.<\/li>\n<\/ul>\n<div class=\"toolbar\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>\u2461\u00a0<strong>\u53ef\u7591\u4ee3\u7801\u8bc6\u522b\u7684\u4f18\u5316\uff1a\u66f4\u5b8c\u5584\u7684\u771f\u503c\u68c0\u67e5<\/strong><\/p>\n<p>TypeScript \u65b0\u7248\u672c\u589e\u5f3a\u4e86\u5bf9\u53ef\u7591\u4ee3\u7801\u7684\u68c0\u67e5\uff0c\u80fd\u591f\u8bc6\u522b\u59cb\u7ec8\u8fd4\u56de true \u6216 false \u7684\u8868\u8fbe\u5f0f\uff0c\u4ee5\u53ca\u65e0\u6548\u7684\u7a7a\u503c\u5408\u5e76\uff08??\uff09\u8868\u8fbe\u5f0f\uff0c\u5e76\u629b\u51fa\u9519\u8bef\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s7.51cto.com\/oss\/202503\/05\/728a952651d0159e2b3101c58a87d447bd12d6.webp\" data-type=\"block\" \/><\/p>\n<p>TypeScript \u73b0\u5728\u80fd\u591f\u66f4\u51c6\u786e\u5730\u68c0\u6d4b\u672a\u521d\u59cb\u5316\u53d8\u91cf\u7684\u4f7f\u7528\uff0c\u5373\u4f7f\u5728\u51fd\u6570\u8c03\u7528\u4e2d\u4e5f\u80fd\u8bc6\u522b\u6f5c\u5728\u7684\u672a\u8d4b\u503c\u9519\u8bef\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s9.51cto.com\/oss\/202503\/05\/e7bfe98379658e9e705885874b1d2bcefc3334.webp\" data-type=\"block\" \/><\/p>\n<p><strong>(2) ECMA Script \u65b0\u7279\u6027\u89e3\u8bfb\uff1a\u5b9e\u7528\u51fd\u6570\u6301\u7eed\u5b8c\u5584\uff0c\u63d0\u5347\u5f00\u53d1\u8005\u4f53\u9a8c<\/strong><\/p>\n<p>\u56de\u987e\u5b8c TypeScript \u7684\u65b0\u7279\u6027\uff0c\u8ba9\u6211\u4eec\u5c06\u76ee\u5149\u8f6c\u5230 JavaScript \u4e0a\u3002\u5728 2024 \u5e74 6 \u6708 26 \u65e5\uff0c\u7b2c 127 \u5c4a Ecma \u5927\u4f1a\u6279\u51c6\u4e86 ECMAScript 2024 \u8bed\u8a00\u89c4\u8303\uff0c\u65b0\u589e\u4e86\u6570\u7ec4\u5206\u7ec4\u3001Promise \u65b0\u521b\u5efa\u65b9\u5f0f\u3001\u5b57\u7b26\u4e32\u683c\u5f0f\u68c0\u67e5\u3001\u6b63\u5219\u8868\u8fbe\u5f0f\u62d3\u5c55\u7b49\u65b0\u7279\u6027\u3002<\/p>\n<p>\u603b\u800c\u8a00\u4e4b\uff0c\u672c\u6b21 ECMAScript 2024 \u5e76\u6ca1\u6709\u65b0\u589e\u5927\u7684\u6539\u52a8\u70b9\uff0c\u66f4\u591a\u662f\u5bf9 JavaScript \u539f\u6765\u8bed\u6cd5\u7684\u5b8c\u5584\u4e0e\u589e\u8865\u3002\u800c\u7b14\u8005\u8ba4\u4e3a\u5176\u4e2d\u6bd4\u8f83\u6709\u610f\u4e49\u7684\u66f4\u65b0\u4e3b\u8981\u6709\u4ee5\u4e0b\u4e24\u4e2a\uff1a<\/p>\n<p><strong>\u2460 \u6570\u7ec4\u5206\u7ec4\u529f\u80fd<\/strong><\/p>\n<p>\u5728\u4ee5\u524d\u7684\u65e5\u5e38\u5f00\u53d1\u4e2d\uff0c\u5982\u679c\u60f3\u8981\u5bf9\u6570\u7ec4\u8fdb\u884c\u5206\u7ec4\u64cd\u4f5c\uff0c\u901a\u5e38\u9700\u8981\u81ea\u884c\u5b9e\u73b0\u6216\u8005\u501f\u52a9\u5916\u90e8\u7b2c\u4e09\u65b9\u57fa\u7840\u5e93\uff0c\u5982 lodash\u3001radash \u7b49\u3002\u800c 2024 \u5e74 ES \u65b0\u589e Map.groupBy() \u548c Object.groupBy() \u65b9\u6cd5\uff0c\u5141\u8bb8\u5f00\u53d1\u8005\u5bf9\u6570\u7ec4\u8fdb\u884c\u5206\u7ec4\uff0c\u751f\u6210\u5bf9\u5e94\u7684 Map \u6216 Object\uff0c\u7b80\u5316\u4e86\u6570\u636e\u5206\u7c7b\u7684\u64cd\u4f5c\u3002<\/p>\n<div>\n<div class=\"hljs-cto\">\n<div class=\"hljs-cto\"><button class=\"copy_btn disable\" data-clipboard-target=\"#code_id_4\">\u590d\u5236<\/button><\/p>\n<div class=\"code-toolbar\">\n<pre class=\"has-pre-numbering language-javascript\" tabindex=\"0\"><code class=\"language-javascript\"><span class=\"token keyword\">const<\/span> fish <span class=\"token operator\">=<\/span> <span class=\"token punctuation\">[<\/span>\r\n  <span class=\"token punctuation\">{<\/span>\r\n    <span class=\"token literal-property property\">name<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">\"Marlin\"<\/span><span class=\"token punctuation\">,<\/span>\r\n    <span class=\"token literal-property property\">source<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">\"ocean\"<\/span><span class=\"token punctuation\">,<\/span>\r\n  <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">,<\/span>\r\n  <span class=\"token punctuation\">{<\/span>\r\n    <span class=\"token literal-property property\">name<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">\"Bass\"<\/span><span class=\"token punctuation\">,<\/span>\r\n    <span class=\"token literal-property property\">source<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">\"lake\"<\/span><span class=\"token punctuation\">,<\/span>\r\n  <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">,<\/span>\r\n  <span class=\"token punctuation\">{<\/span>\r\n    <span class=\"token literal-property property\">name<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">\"Trout\"<\/span><span class=\"token punctuation\">,<\/span>\r\n    <span class=\"token literal-property property\">source<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">\"lake\"<\/span><span class=\"token punctuation\">,<\/span>\r\n  <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">,<\/span>\r\n<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">;<\/span>\r\n\r\nMap<span class=\"token punctuation\">.<\/span><span class=\"token function\">groupBy<\/span><span class=\"token punctuation\">(<\/span>fish<span class=\"token punctuation\">,<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token parameter\"><span class=\"token punctuation\">{<\/span> source <span class=\"token punctuation\">}<\/span><\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">=&gt;<\/span> source<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token comment\">\/\/ Map(2) { ocean =&gt; [marlin], lake =&gt; [bass, trout] }<\/span>\r\nObject<span class=\"token punctuation\">.<\/span><span class=\"token function\">groupBy<\/span><span class=\"token punctuation\">(<\/span>fish<span class=\"token punctuation\">,<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token parameter\"><span class=\"token punctuation\">{<\/span> source <span class=\"token punctuation\">}<\/span><\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">=&gt;<\/span> source<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token comment\">\/\/ { ocean: [marlin], lake: [bass, trout] }<\/span><\/code><\/pre>\n<ul id=\"code_id_4\" class=\"pre-numbering\">\n<li>1.<\/li>\n<li>2.<\/li>\n<li>3.<\/li>\n<li>4.<\/li>\n<li>5.<\/li>\n<li>6.<\/li>\n<li>7.<\/li>\n<li>8.<\/li>\n<li>9.<\/li>\n<li>10.<\/li>\n<li>11.<\/li>\n<li>12.<\/li>\n<li>13.<\/li>\n<li>14.<\/li>\n<li>15.<\/li>\n<li>16.<\/li>\n<li>17.<\/li>\n<\/ul>\n<div class=\"toolbar\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>\u6ce8\uff1a\u5176\u4e2d marlin\u3001bass\u3001trout \u4ee3\u6307\u4e0a\u8ff0\u6570\u7ec4\u4e2d\u7684\u4e09\u4e2a\u5bf9\u8c61\u3002<\/p>\n<p>\u2461 Promise \u7684\u65b0\u521b\u5efa\u65b9\u5f0f<\/p>\n<p>ECMAScript 2024 \u5f15\u5165 Promise.withResolvers() \u65b9\u6cd5\uff0c\u4f7f\u5f97\u521b\u5efa\u5177\u5907 resolve \u548c reject \u529f\u80fd\u7684 Promise \u66f4\u52a0\u4fbf\u6377\uff0c\u63d0\u5347\u4e86\u5f02\u6b65\u7f16\u7a0b\u7684\u7075\u6d3b\u6027\u3002\u4e3e\u4e2a\u4f8b\u5b50\uff0c\u4ee5\u524d\u5982\u679c\u9700\u8981\u624b\u52a8\u521b\u5efa Promise\uff0c\u5e76\u7531\u5916\u90e8\u64cd\u4f5c\u6765\u63a7\u5236 resolve \u548c reject\uff0c\u5219\u901a\u5e38\u9700\u8981\u4f7f\u7528\u5916\u90e8\u53d8\u91cf\u4fdd\u5b58 resolve \u548c reject\uff0c\u800c\u901a\u8fc7 Promise.withResolvers \u53ef\u4ee5\u660e\u663e\u964d\u4f4e\u4ee3\u7801\u7684\u590d\u6742\u5ea6\u3002<\/p>\n<div>\n<div class=\"hljs-cto\">\n<div class=\"hljs-cto\"><button class=\"copy_btn disable\" data-clipboard-target=\"#code_id_5\">\u590d\u5236<\/button><\/p>\n<div class=\"code-toolbar\">\n<pre class=\"has-pre-numbering language-javascript\" tabindex=\"0\"><code class=\"language-javascript\"><span class=\"token comment\">\/\/ before<\/span>\r\n<span class=\"token keyword\">let<\/span> resolveRef<span class=\"token punctuation\">;<\/span>\r\n<span class=\"token keyword\">let<\/span> rejectRef<span class=\"token punctuation\">;<\/span>\r\n<span class=\"token keyword\">const<\/span> promise <span class=\"token operator\">=<\/span> <span class=\"token keyword\">new<\/span> <span class=\"token class-name\">Promise<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">(<\/span><span class=\"token parameter\">resolve<span class=\"token punctuation\">,<\/span> reject<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">=&gt;<\/span> <span class=\"token punctuation\">{<\/span>\r\n  resolveRef <span class=\"token operator\">=<\/span> resolve<span class=\"token punctuation\">;<\/span>\r\n  rejectRef <span class=\"token operator\">=<\/span> reject<span class=\"token punctuation\">;<\/span>\r\n<span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span>\r\n\r\n<span class=\"token comment\">\/\/ after<\/span>\r\n<span class=\"token keyword\">const<\/span> <span class=\"token punctuation\">{<\/span> promise<span class=\"token punctuation\">,<\/span> resolve<span class=\"token punctuation\">,<\/span> reject <span class=\"token punctuation\">}<\/span> <span class=\"token operator\">=<\/span> Promise<span class=\"token punctuation\">.<\/span><span class=\"token function\">withResolvers<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/code><\/pre>\n<ul id=\"code_id_5\" class=\"pre-numbering\">\n<li>1.<\/li>\n<li>2.<\/li>\n<li>3.<\/li>\n<li>4.<\/li>\n<li>5.<\/li>\n<li>6.<\/li>\n<li>7.<\/li>\n<li>8.<\/li>\n<li>9.<\/li>\n<li>10.<\/li>\n<\/ul>\n<div class=\"toolbar\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><strong>(3) CSS \u65b0\u7279\u6027\u89e3\u8bfb<\/strong><\/p>\n<p>\u4eca\u5e74\u9664\u4e86 JavaScript \u4ee5\u5916\uff0cCSS \u4e5f\u540c\u6837\u8fce\u6765\u4e86\u4e00\u7cfb\u5217\u65b0\u7279\u6027\u3002CSS \u5728 2024 \u5e74\u671f\u95f4\u65b0\u589e\u4e86\u90e8\u5206\u4e0e\u5f00\u53d1\u4f53\u9a8c\u3001\u5e03\u5c40\u7b49\u606f\u606f\u76f8\u5173\u7684\u7279\u6027\uff0c\u4ece 2024 \u5e74 stateofcss \u8c03\u67e5\u4e2d\u663e\u793a\uff0c\u6700\u53d7\u6b22\u8fce\u7684 CSS \u4e09\u5927\u65b0\u7279\u6027\u5206\u522b\u4e3a :has() \u9009\u62e9\u5668\u3001\u5bb9\u5668\u67e5\u8be2\uff08@container\uff09\u4ee5\u53ca\u539f\u751f CSS \u5d4c\u5957\uff0c\u56e0\u6b64\u7b14\u8005\u4e0b\u9762\u4e5f\u5c06\u4ecb\u7ecd\u4e00\u4e0b\u8fd9\u4e09\u5927\u7279\u6027\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s2.51cto.com\/oss\/202503\/05\/e1bf95b8893c9b34910567b1a48aa58dde5e1a.webp\" data-type=\"block\" \/><\/p>\n<p>\uff08\u56fe\u8282\u9009\u81ea\uff1a\u00a0https:\/\/2024.stateofcss.com\/zh-Hans\/tools\/#css_in_js\u00a0\uff09<\/p>\n<p><strong>\u2460 :has() \u9009\u62e9\u5668<\/strong><\/p>\n<p>:has() \u4f2a\u7c7b\u53ef\u4ee5\u6839\u636e\u5b50\u5143\u7d20\u7684\u6761\u4ef6\u9009\u62e9\u7236\u5143\u7d20\uff0c\u7701\u53bb\u4e86\u4f7f\u7528 JavaScript \u7684\u9700\u6c42\u3002<\/p>\n<div>\n<div class=\"hljs-cto\">\n<div class=\"hljs-cto\"><button class=\"copy_btn disable\" data-clipboard-target=\"#code_id_6\">\u590d\u5236<\/button><\/p>\n<div class=\"code-toolbar\">\n<pre class=\"has-pre-numbering language-javascript\" tabindex=\"0\"><code class=\"language-javascript\"><span class=\"token literal-property property\">form<\/span><span class=\"token operator\">:<\/span><span class=\"token function\">has<\/span><span class=\"token punctuation\">(<\/span><span class=\"token parameter\"><span class=\"token literal-property property\">input<\/span><span class=\"token operator\">:<\/span>invalid<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span>\r\n  border<span class=\"token operator\">-<\/span>color<span class=\"token operator\">:<\/span> red<span class=\"token punctuation\">;<\/span>\r\n<span class=\"token punctuation\">}<\/span><\/code><\/pre>\n<ul id=\"code_id_6\" class=\"pre-numbering\">\n<li>1.<\/li>\n<li>2.<\/li>\n<li>3.<\/li>\n<\/ul>\n<div class=\"toolbar\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><strong>\u2461 \u5bb9\u5668\u67e5\u8be2<\/strong><\/p>\n<p>\u5bb9\u5668\u67e5\u8be2\u5141\u8bb8\u5f00\u53d1\u8005\u6839\u636e\u7236\u5bb9\u5668\u7684\u5927\u5c0f\uff0c\u800c\u975e\u89c6\u53e3\u5927\u5c0f\uff0c\u5bf9\u5143\u7d20\u8fdb\u884c\u6837\u5f0f\u8bbe\u8ba1\u3002\u8fd9\u4e3a\u521b\u5efa\u6a21\u5757\u5316\u4e14\u53ef\u590d\u7528\u7684\u7ec4\u4ef6\u5f00\u8f9f\u4e86\u65b0\u5929\u5730\uff0c\u4f7f\u5b83\u4eec\u80fd\u65e0\u7f1d\u9002\u5e94\u5468\u56f4\u73af\u5883\u3002<\/p>\n<div>\n<div class=\"hljs-cto\">\n<div class=\"hljs-cto\"><button class=\"copy_btn disable\" data-clipboard-target=\"#code_id_7\">\u590d\u5236<\/button><\/p>\n<div class=\"code-toolbar\">\n<pre class=\"has-pre-numbering language-javascript\" tabindex=\"0\"><code class=\"language-javascript\"><span class=\"token punctuation\">.<\/span>container <span class=\"token punctuation\">{<\/span>\r\n  container<span class=\"token operator\">-<\/span>type<span class=\"token operator\">:<\/span> inline<span class=\"token operator\">-<\/span>size<span class=\"token punctuation\">;<\/span>\r\n<span class=\"token punctuation\">}<\/span>\r\n\r\n@<span class=\"token function\">container<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token parameter\">min<span class=\"token operator\">-<\/span>width<span class=\"token operator\">:<\/span> 600px<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span>\r\n  <span class=\"token punctuation\">.<\/span>child <span class=\"token punctuation\">{<\/span>\r\n    flex<span class=\"token operator\">-<\/span>direction<span class=\"token operator\">:<\/span> row<span class=\"token punctuation\">;<\/span>\r\n  <span class=\"token punctuation\">}<\/span>\r\n<span class=\"token punctuation\">}<\/span><\/code><\/pre>\n<ul id=\"code_id_7\" class=\"pre-numbering\">\n<li>1.<\/li>\n<li>2.<\/li>\n<li>3.<\/li>\n<li>4.<\/li>\n<li>5.<\/li>\n<li>6.<\/li>\n<li>7.<\/li>\n<li>8.<\/li>\n<li>9.<\/li>\n<\/ul>\n<div class=\"toolbar\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><strong>\u2462 \u652f\u6301\u539f\u751f CSS \u5d4c\u5957<\/strong><\/p>\n<p>\u539f\u751f CSS \u5d4c\u5957\u8bed\u6cd5\u7c7b\u4f3c SCSS \u8bed\u6cd5\uff0c\u901a\u8fc7\u5141\u8bb8\u5c42\u6b21\u5316\u7684\u6837\u5f0f\u7ed3\u6784\u7b80\u5316\u4e86\u4ee3\u7801\u7ec4\u7ec7\uff0c\u51cf\u5c11\u5197\u4f59\u5e76\u63d0\u5347\u53ef\u8bfb\u6027\uff0c\u7279\u522b\u9002\u5408\u7ec4\u4ef6\u5316\u5f00\u53d1\u3002<\/p>\n<div>\n<div class=\"hljs-cto\">\n<div class=\"hljs-cto\"><button class=\"copy_btn disable\" data-clipboard-target=\"#code_id_8\">\u590d\u5236<\/button><\/p>\n<div class=\"code-toolbar\">\n<pre class=\"has-pre-numbering language-javascript\" tabindex=\"0\"><code class=\"language-javascript\"><span class=\"token punctuation\">.<\/span>card <span class=\"token punctuation\">{<\/span>\r\n  <span class=\"token literal-property property\">color<\/span><span class=\"token operator\">:<\/span> black<span class=\"token punctuation\">;<\/span>\r\n  <span class=\"token operator\">&amp;<\/span><span class=\"token operator\">-<\/span>header <span class=\"token punctuation\">{<\/span>\r\n    font<span class=\"token operator\">-<\/span>size<span class=\"token operator\">:<\/span> <span class=\"token number\">1<\/span><span class=\"token punctuation\">.<\/span>5rem<span class=\"token punctuation\">;<\/span>\r\n  <span class=\"token punctuation\">}<\/span>\r\n  <span class=\"token operator\">&amp;<\/span><span class=\"token operator\">-<\/span>body <span class=\"token punctuation\">{<\/span>\r\n    <span class=\"token literal-property property\">padding<\/span><span class=\"token operator\">:<\/span> 1rem<span class=\"token punctuation\">;<\/span>\r\n  <span class=\"token punctuation\">}<\/span>\r\n<span class=\"token punctuation\">}<\/span><\/code><\/pre>\n<ul id=\"code_id_8\" class=\"pre-numbering\">\n<li>1.<\/li>\n<li>2.<\/li>\n<li>3.<\/li>\n<li>4.<\/li>\n<li>5.<\/li>\n<li>6.<\/li>\n<li>7.<\/li>\n<li>8.<\/li>\n<li>9.<\/li>\n<\/ul>\n<div class=\"toolbar\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<h4>2. \u524d\u7aef\u6846\u67b6\uff1a\u4e3b\u6d41\u6846\u67b6\u6301\u7eed\u5b8c\u5584\uff0c\u6027\u80fd\u4f18\u5316\u4e0e\u5f00\u53d1\u4f53\u9a8c\u4f18\u5316\u5e76\u8fdb<\/h4>\n<p>\u5728\u524d\u7aef\u6846\u67b6\u65b9\u9762\uff0c\u6700\u53d7\u6b22\u8fce\u7684\u56db\u5927\u4e3b\u6d41\u6846\u67b6\u4f9d\u65e7\u662f React\u3001Vue\u3001Angular \u548c Svelte\u3002\u4ece 2024 \u5e74 NPM \u5305\u4e0b\u8f7d\u91cf\u6765\u770b\uff0cReact \u6846\u67b6\u4f9d\u65e7\u4e00\u9a91\u7edd\u5c18\uff0c\u9065\u9065\u9886\u5148\u4e8e\u5176\u4ed6\u4e09\u4e2a\u6846\u67b6\u3002Vue \u6846\u67b6\u5219\u5904\u4e8e\u7b2c\u4e8c\u7684\u4f4d\u7f6e\u3002\u800c Svelte \u5df2\u8fde\u7eed\u4e09\u5e74\u8d85\u8fc7 Angular\uff0c\u4e14\u589e\u957f\u8d8b\u52bf\u8fc5\u731b\uff0c\u5df2\u5750\u7a33\u524d\u7aef\u6700\u53d7\u6b22\u8fce\u7684 UI \u6846\u67b6\u4e2d\u7684\u7b2c\u4e09\u628a\u4ea4\u6905\u3002<\/p>\n<p><img data-dominant-color=\"f5f5f5\" data-has-transparency=\"false\" style=\"--dominant-color: #f5f5f5;\" loading=\"lazy\" decoding=\"async\" class=\"not-transparent alignnone size-full wp-image-24911\" src=\"https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2025\/03\/340dd2914ecf7f0b61e47408f3c2682dce5624.png\" width=\"1080\" height=\"225\" srcset=\"https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2025\/03\/340dd2914ecf7f0b61e47408f3c2682dce5624.png 1080w, https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2025\/03\/340dd2914ecf7f0b61e47408f3c2682dce5624-300x63.png 300w, https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2025\/03\/340dd2914ecf7f0b61e47408f3c2682dce5624-1024x213.png 1024w, https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2025\/03\/340dd2914ecf7f0b61e47408f3c2682dce5624-150x31.png 150w, https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2025\/03\/340dd2914ecf7f0b61e47408f3c2682dce5624-768x160.png 768w\" sizes=\"auto, (max-width: 1080px) 100vw, 1080px\" \/><\/p>\n<p>(\u6570\u636e\u6765\u6e90\u4e8e\u00a0npm-stat: download statistics for NPM packages)<\/p>\n<p>\u5c3d\u7ba1\u5f00\u53d1\u8005\u4f7f\u7528\u4e0a\u8fd8\u662f\u66f4\u591a\u504f\u5411\u4e8e\u9009\u62e9\u66f4\u4e3a\u6210\u719f\u7684\u524d\u7aef\u6846\u67b6\u7684\u56db\u9a7e\u9a6c\u8f66\uff0c\u5305\u62ec\u4e0a\u8ff0\u7684 UI \u6846\u67b6\u4ee5\u53ca\u57fa\u4e8e\u5176\u4e4b\u4e0a\u7684 Next.js\u3001Nuxt\u3001Remix \u7b49\u5e94\u7528\u6846\u67b6\uff0c\u4f46\u662f\u6211\u4eec\u4e5f\u53ef\u4ee5\u4ece 2024 \u5e74 \u300aState of Frontend 2024\u300b\u8c03\u67e5\u7684\u770b\u5230\uff0cHTMX\u3001Qwik\u3001Astro \u7b49\u65b0\u5174\u6846\u67b6\u4e5f\u6e10\u6e10\u53d7\u5230\u5f00\u53d1\u8005\u4eec\u7684\u5173\u6ce8\uff0c\u5e76\u671f\u671b\u4f1a\u5728\u672a\u6765\u8fdb\u884c\u5b66\u4e60\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s3.51cto.com\/oss\/202503\/05\/192c51a472c78d93f737982e81f439c296544c.webp\" data-type=\"block\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s6.51cto.com\/oss\/202503\/05\/0358825739507b866c79204d2fe134191ac74e.webp\" data-type=\"block\" \/><\/p>\n<p>\uff08\u56fe\u8282\u9009\u81ea\u00a0https:\/\/tsh.io\/state-of-frontend\/#frameworks\u00a0\uff09<\/p>\n<p>\u63a5\u4e0b\u6765\u5c31\u8ba9\u7b14\u8005\u5e26\u4f60\u4eec\u76d8\u70b9\u56de\u987e\u4ed6\u4eec\u5728 2024 \u671f\u95f4\u5230\u5e95\u53d1\u751f\u4e86\u4ec0\u4e48\u503c\u5f97\u6211\u4eec\u5173\u6ce8\u7684\u91cd\u8981\u4e8b\u60c5\u5427\u3002<\/p>\n<p><strong>(1) React 19 \u6b63\u5f0f\u53d1\u5e03\uff1a\u6301\u7eed\u5b8c\u5584\uff0c\u4e13\u6ce8\u6027\u80fd\u4e0e\u5f00\u53d1\u4f53\u9a8c\u4f18\u5316<\/strong><\/p>\n<p>\u81ea\u4ece 2022 \u5e74 3 \u6708 React 18 \u53d1\u5e03\u4ee5\u6765\uff0c\u7ecf\u8fc7\u4e86 2023 \u5e74\u4e00\u6574\u5e74\u6ca1\u6709 release \u7248\u672c\u7684\u6c89\u5bc2\u540e\uff0cReact \u5b98\u65b9\u5e26\u7740 React 19 \u4e8e 2024 \u5e74 12 \u6708 5 \u53f7\u91cd\u78c5\u5f52\u6765\u3002\u672c\u6b21 React 19 \u5e26\u6765\u4e86\u4f17\u591a\u65b0\u7279\u6027\uff0c\u7b14\u8005\u5c06\u4ecb\u7ecd\u4e00\u4e0b\u8ba4\u4e3a\u6bd4\u8f83\u6709\u610f\u4e49\u7684\u65b0\u7279\u6027\uff0c\u4f8b\u5982\u670d\u52a1\u7aef\u7ec4\u4ef6\uff08RSC\uff09\u3001\u5168\u65b0\u7684 Compiler\u3001\u5f15\u5165 Actions \u7b80\u5316\u6570\u636e\u53d8\u66f4\u548c\u72b6\u6001\u66f4\u65b0\u3002\u66f4\u591a\u65b0\u7279\u6027\u8be6\u60c5\u8bf7\u67e5\u9605\u5b98\u65b9\u6587\u6863\u00a0React v19 \u2013 React\u3002<\/p>\n<p><strong>\u2460 \u670d\u52a1\u7aef\u7ec4\u4ef6\uff08RSC\uff09\u63d0\u5347\u7ec4\u4ef6\u6e32\u67d3\u6027\u80fd<\/strong><\/p>\n<p>React Server Component \u662f React 19 \u7684\u91cd\u5927\u66f4\u65b0\u4e4b\u4e00\uff0c\u65e8\u5728\u5c06\u7ec4\u4ef6\u6e32\u67d3\u903b\u8f91\u8fc1\u79fb\u5230\u670d\u52a1\u7aef\uff0c\u4ee5\u63d0\u5347\u9875\u9762\u6027\u80fd\u3002React Server Component \u662f\u4e00\u79cd\u5168\u65b0\u7684\u7ec4\u4ef6\u7c7b\u578b\uff0c\u7ec4\u4ef6\u7684\u6240\u6709\u4ee3\u7801\u5747\u8fd0\u884c\u5728\u670d\u52a1\u7aef\uff0c\u5ba2\u6237\u7aef\u8bbf\u95ee\u65f6\u4ec5\u8fd4\u56de\u5df2\u7ecf\u6e32\u67d3\u597d\u7684\u9759\u6001 HTML \u4fe1\u606f\uff0c\u51cf\u5c0f\u4f20\u8f93\u81f3\u5ba2\u6237\u7aef JavaScript \u7684\u4f53\u79ef\u548c\u8282\u7701\u4e86\u539f\u6709 SSR hydration\uff0c\u663e\u8457\u63d0\u5347\u7ec4\u4ef6\u7684\u52a0\u8f7d\u548c\u6e32\u67d3\u901f\u5ea6\u3002\u6b64\u5916 RSC \u8fd8\u6709\u4e00\u4e2a\u91cd\u8981\u7684\u7279\u6027\u662f\u53ef\u4ee5\u901a\u8fc7 Suspense \u6807\u7b7e\u5305\u88f9\u540e\u5229\u7528 HTML \u6d41\u5f0f\u4f20\u8f93\u7684\u80fd\u529b\uff0c\u4ece\u800c\u8fbe\u5230\u9996\u5c4f\u7684\u7ec4\u4ef6\u5148\u8fd4\u56de\uff0c\u975e\u9996\u5c4f\u7ec4\u4ef6\u540e\u8fd4\u56de\uff0c\u63d0\u5347\u9875\u9762\u9996\u5c4f\u6027\u80fd\u3002<\/p>\n<p>\u7531\u4e8e\u670d\u52a1\u5668\u7ec4\u4ef6\u4f20\u8f93\u7ed9\u5ba2\u6237\u7aef\u65f6\u4e3a\u9759\u6001 HTML\uff0c\u56e0\u6b64\u5b83\u4eec\u4e0d\u80fd\u4f7f\u7528\u4ea4\u4e92\u7684 API\uff0c\u4f8b\u5982 useState\u3002\u82e5\u8981\u7ed9\u670d\u52a1\u5668\u7ec4\u4ef6\u6dfb\u52a0\u4ea4\u4e92\u6027\uff0c\u9700\u8981\u5c06\u5176\u4e0e\u5ba2\u6237\u7aef\u7ec4\u4ef6\u7ed3\u5408\uff0c\u5177\u4f53\u53ef\u4ee5\u53c2\u8003React \u5b98\u65b9\u6587\u6863\u8bf4\u660e\uff1a\u00a0https:\/\/zh-hans.react.dev\/reference\/rsc\/server-components#adding-interactivity-to-server-components<\/p>\n<p>\u4e0d\u8fc7\u4ece\u6536\u96c6\u7684\u8d44\u6e90\u4e0a\u770b\uff0c\u793e\u533a\u5bf9 RSC \u7684\u770b\u6cd5\u5b58\u5728\u4e00\u5b9a\u7684\u5206\u6b67\uff0c\u51fa\u73b0\u5206\u6b67\u7684\u6700\u6839\u672c\u539f\u56e0\u662f React \u5f15\u5165\u4e86\u670d\u52a1\u7aef\u7684\u6982\u5ff5\uff0c\u5bfc\u81f4\u670d\u52a1\u7aef\u7ec4\u4ef6\u548c\u5ba2\u6237\u7aef\u7ec4\u4ef6\u6709\u7740\u660e\u663e\u5dee\u5f02\uff1a<\/p>\n<ul data-id=\"u738a58b-B1BhBfmm\">\n<li data-id=\"ld70c578-ouofxb46\">\u670d\u52a1\u5668\u7ec4\u4ef6\u4e0d\u80fd\u4f7f\u7528\u50cf useState \u548c useEffect \u8fd9\u6837\u7684 React hook\uff1b\u5ba2\u6237\u7aef\u5219\u53ef\u4ee5\uff1b<\/li>\n<li data-id=\"ld70c578-p5DLeXUe\">\u670d\u52a1\u5668\u7ec4\u4ef6\u65e0\u6743\u8bbf\u95ee\u6d4f\u89c8\u5668 API\uff1b\u5ba2\u6237\u7aef\u6709\u5b8c\u6574\u7684\u6d4f\u89c8\u5668 API \u6743\u9650\uff1b<\/li>\n<li data-id=\"ld70c578-W5ae4FuO\">\u670d\u52a1\u7aef\u6709\u6743\u9650\u76f4\u63a5\u8bbf\u95ee\u670d\u52a1\u7aef\u7a0b\u5e8f\u548c API\uff1b\u800c\u5ba2\u6237\u7aef\u7ec4\u4ef6\u53ea\u80fd\u901a\u8fc7\u8bf7\u6c42\u8bbf\u95ee\u90e8\u5206\u7a0b\u5e8f\u3002<\/li>\n<\/ul>\n<h4>\u2461 \u5168\u65b0\u7f16\u8bd1\u5668\u4f18\u5316\u6784\u5efa\u6027\u80fd<\/h4>\n<p>React 19 \u5f15\u5165\u4e86\u4e00\u4e2a\u65b0\u7684\u7f16\u8bd1\u5668 React Compiler\uff0c\u5b83\u662f\u4e00\u4e2a\u4ec5\u5728\u6784\u5efa\u65f6\u4f7f\u7528\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u81ea\u52a8\u4f18\u5316\u4f60\u7684 React \u5e94\u7528\u7a0b\u5e8f\u3002React Compiler \u4f1a\u81ea\u52a8\u5bf9\u4f60\u7684\u4ee3\u7801\u8fdb\u884c\u8bb0\u5fc6\u5316\u5904\u7406\uff0c\u901a\u8fc7\u5206\u6790\u7ec4\u4ef6\u548c\u72b6\u6001\u53d8\u5316\uff0c\u51cf\u5c11\u4e0d\u5fc5\u8981\u7684\u91cd\u65b0\u8ba1\u7b97\uff0c\u4ece\u800c\u63d0\u5347\u6027\u80fd\u3002\u6b64\u5916\uff0cReact Compiler \u652f\u6301\u81ea\u52a8\u7ba1\u7406 hook \u7684\u4f9d\u8d56\u5173\u7cfb\uff0c\u51cf\u5c11\u4e86\u5f00\u53d1\u8005\u624b\u52a8\u7ba1\u7406\u4f9d\u8d56\u7684\u9700\u6c42\uff0c\u4ece\u800c\u964d\u4f4e\u4e86\u51fa\u9519\u7684\u53ef\u80fd\u6027\u3002\u5177\u4f53\u53ef\u4ee5\u53c2\u8003React \u5b98\u65b9\u6587\u6863\u8bf4\u660e\uff1a\u00a0https:\/\/zh-hans.react.dev\/learn\/react-compiler#troubleshooting<\/p>\n<p>\u76ee\u524d React \u7f16\u8bd1\u5668\u662f\u4e00\u4e2a\u5904\u4e8e Beta \u9636\u6bb5\u7684\u65b0\u7684\u7f16\u8bd1\u5668\uff0c\u867d\u7136\u76ee\u524d Meta \u7b49\u516c\u53f8\u5df2\u7ecf\u5728\u751f\u4ea7\u73af\u5883\u4e2d\u4f7f\u7528\uff0c\u4f46\u662f\u7b14\u8005\u5e76\u4e0d\u63a8\u8350\u5728\u751f\u4ea7\u73af\u5883\u4e2d\u4f7f\u7528 Beta \u9636\u6bb5\u7684\u7f16\u8bd1\u5668\uff0c\u4e0d\u8fc7\u53ef\u4ee5\u770b\u51fa React \u5728\u6027\u80fd\u4f18\u5316\u65b9\u9762\u7684\u7cbe\u76ca\u6c42\u7cbe\u7684\u6001\u5ea6\u548c\u65b0\u9896\u7684\u60f3\u6cd5\u3002<\/p>\n<h4>\u2462 \u5f15\u5165 Actions \u7b80\u5316\u6570\u636e\u53d8\u66f4\u548c\u72b6\u6001\u66f4\u65b0<\/h4>\n<p>React 19 \u5f15\u5165\u4e86\u52a8\u4f5c Actions\uff0c\u8fd9\u662f\u4e00\u9879\u7b80\u5316\u6570\u636e\u53d8\u66f4\u548c\u72b6\u6001\u66f4\u65b0\u7684\u65b0\u7279\u6027\u3002Actions \u63d0\u4f9b\u4e86\u81ea\u52a8\u6302\u8d77\u72b6\u6001\u7ba1\u7406\u529f\u80fd\u3002\u5728\u6570\u636e\u83b7\u53d6\u8fc7\u7a0b\u4e2d\uff0cUI \u4f1a\u4fdd\u6301\u54cd\u5e94\u72b6\u6001\uff0c\u76f4\u5230\u8bf7\u6c42\u5b8c\u6210\u3002\u8fd9\u4f7f\u5f97\u7528\u6237\u4f53\u9a8c\u66f4\u52a0\u6d41\u7545\uff0c\u4e0d\u4f1a\u56e0\u4e3a\u6570\u636e\u52a0\u8f7d\u800c\u5361\u987f\u3002\u6b64\u5916\uff0c\u9519\u8bef\u5904\u7406\u4e5f\u5f97\u5230\u4e86\u7b80\u5316\u3002Actions \u5185\u7f6e\u4e86\u9519\u8bef\u5904\u7406\u673a\u5236\uff0c\u5f53\u8bf7\u6c42\u5931\u8d25\u65f6\uff0c\u53ef\u4ee5\u663e\u793a\u9519\u8bef\u8fb9\u754c\uff0c\u5e76\u81ea\u52a8\u6062\u590d\u66f4\u65b0\uff0c\u8fd9\u51cf\u5c11\u4e86\u5f00\u53d1\u8005\u624b\u52a8\u5904\u7406\u9519\u8bef\u7684\u590d\u6742\u6027\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s8.51cto.com\/oss\/202503\/05\/f99d3a742879d2a73a90956b44f0050cdb017b.webp\" data-type=\"block\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s4.51cto.com\/oss\/202503\/05\/94ee65b84ebf01116985193e37f82950f55820.webp\" data-type=\"block\" \/><\/p>\n<p>\uff08\u56fe\u8282\u9009\u81ea\u00a0React v19 \u2013 React\uff09<\/p>\n<p><strong>(2) Vue 3.5 \u6b63\u5f0f\u53d1\u5e03\uff1a\u54cd\u5e94\u5f0f\u7cfb\u7edf\u5b8c\u5584\u4e0e\u4f18\u5316<\/strong><\/p>\n<p>2024 \u5e74 9 \u6708 3 \u53f7 Vue \u5b98\u65b9\u56e2\u961f\u53d1\u5e03\u4e86 Vue 3.5 \u7684\u6b63\u5f0f\u7248\u672c\uff0c\u8be5\u7248\u672c\u8fdb\u4e00\u6b65\u5b8c\u5584\u7ec4\u5408\u5f0f API \u548c\u4f18\u5316\u6846\u67b6\u54cd\u5e94\u5f0f\u7cfb\u7edf\u6027\u80fd\uff0c\u63d0\u5347\u5f00\u53d1\u4f53\u9a8c\u548c\u6846\u67b6\u6027\u80fd\u3002\u672c\u6587\u5c06\u91cd\u70b9\u4ecb\u7ecd\u90e8\u5206\u65b0\u7279\u6027\u548c\u6539\u52a8\uff0c\u5982\u9700\u4e86\u89e3\u5168\u90e8\u66f4\u65b0\u5185\u5bb9\uff0c\u8bf7\u53c2\u9605\u00a0\u5b98\u65b9\u66f4\u65b0\u65e5\u5fd7\u3002\u6574\u4f53\u800c\u8a00\uff0cVue 2024 \u5e74\u671f\u95f4\u5e76\u6ca1\u6709\u91cd\u5927\u7684\u65b0\u7279\u6027\u7684\u53d1\u5e03\uff0c\u800c 2023 \u5e74\u63d0\u5230\u7684\u5907\u53d7\u5173\u6ce8\u7684\u65e0\u865a\u62df DOM \u7248\u672c\u7684 Vue Vapor \u4e5f\u5728\u65e5\u81fb\u5b8c\u5584\u4e2d\uff0c\u56e0\u6b64\u7b14\u8005\u4ec5\u4ecb\u7ecd Vue3.5 \u7248\u672c\u4e2d\u503c\u5f97\u63d0\u53ca\u7684\u65b0\u7279\u6027\u3002<\/p>\n<p><strong>\u2460 \u54cd\u5e94\u5f0f\u7cfb\u7edf\u4f18\u5316<\/strong><\/p>\n<p>\u5728 2023 \u5e74\u672b\u53d1\u5e03\u7684 Vue3.4 \u7248\u672c\u4e2d\uff0cVue \u5df2\u7ecf\u5bf9\u54cd\u5e94\u5f0f\u7cfb\u7edf\u8fdb\u884c\u4e86\u5b9e\u8d28\u6027\u7684\u91cd\u6784\uff0c\u63d0\u9ad8\u4e86\u8ba1\u7b97\u5c5e\u6027\u7684\u91cd\u65b0\u8ba1\u7b97\u6548\u7387\uff0c\u51cf\u5c11\u8bb8\u591a\u573a\u666f\u4e2d\u4e0d\u5fc5\u8981\u7684\u7ec4\u4ef6\u91cd\u65b0\u6e32\u67d3\uff0c\u540c\u65f6\u4fdd\u6301\u5b8c\u5168\u7684\u5411\u540e\u517c\u5bb9\u6027\uff0c\u5177\u4f53\u8bf7\u53c2\u9605 PR\uff1a\u00a0https:\/\/github.com\/vuejs\/core\/pull\/5912\u00a0\u3002\u800c\u5728 2024 \u5e74\u53d1\u5e03\u7684 Vue 3.5 \u4e2d\u53c8\u5bf9\u54cd\u5e94\u5f0f\u7cfb\u7edf\u8fdb\u884c\u4e86\u4e00\u4e9b\u91cd\u6784\uff0c\u6027\u80fd\u5f97\u5230\u663e\u8457\u63d0\u5347\uff0c\u5177\u4f53\u63aa\u65bd\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\u5982\u4e0b\uff1a<\/p>\n<ul data-id=\"u738a58b-zQN8QqlE\">\n<li data-id=\"ld70c578-yEuCGK4z\">\u901a\u8fc7\u7248\u672c\u8ba1\u6570\u548c\u53cc\u5411\u94fe\u8868\u6570\u636e\u7ed3\u6784\u624b\u6bb5\u4f18\u5316\u54cd\u5e94\u5f0f\u7cfb\u7edf\uff0c\u7075\u611f\u6765\u6e90\u4e8e Preact signals\uff0c\u5177\u4f53\u8bf7\u53c2\u9605\u00a0PR#10397\u3002<\/li>\n<li data-id=\"ld70c578-ABIHmpe3\">\u5728\u8c03\u5ea6\u4efb\u52a1\u4e2d\u4f7f\u7528\u4f4d\u8fd0\u7b97\u6807\u8bb0\u4f18\u5316 queueJob \u4efb\u52a1\u961f\u5217\uff0c\u8be5\u9879\u4f18\u5316\u5219\u6765\u6e90\u4e8e\u65e0\u865a\u62df DOM \u7248\u672c Vue Vapor\uff0c\u4f7f\u5185\u5b58\u4f7f\u7528\u7387\u63d0\u5347 56%\uff0c\u5177\u4f53\u8bf7\u53c2\u9605\u00a0PR#0407\u3002<\/li>\n<li data-id=\"ld70c578-SFtpDrL4\">\u5728\u5904\u7406\u54cd\u5e94\u5f0f\u7684\u5927\u6570\u7ec4\u65f6\uff0c\u901a\u8fc7\u7279\u6b8a\u7684 traceKey \u4f18\u5316\u5927\u578b\u54cd\u5e94\u5f0f\u6570\u7ec4\u7684\u8ffd\u8e2a\u64cd\u4f5c\uff0c\u6027\u80fd\u63d0\u5347\u4e86 10 \u500d\uff0c\u5177\u4f53\u8bf7\u53c2\u9605\u00a0PR#9511\u00a0\u3002<\/li>\n<\/ul>\n<p><strong>\u2461 \u5f00\u53d1\u4f53\u9a8c\u4f18\u5316<\/strong><\/p>\n<p>Vue 3.5 \u7248\u672c\u4e2d\u65b0\u589e\u4e86\u53ef\u63d0\u5347\u5f00\u53d1\u4f53\u9a8c\u7684\u65b0\u7279\u6027\uff0c\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\u54cd\u5e94\u5f0f\u5c5e\u6027\u89e3\u6784\u3002\u5728 Vue 3.5 \u7248\u672c\u4e4b\u524d\uff0cdefineProps \u5b9a\u4e49\u7684 prop \u58f0\u660e\u5fc5\u987b\u8981\u901a\u8fc7 props.xxx \u8bbf\u95ee\u7684\u65b9\u5f0f\u624d\u5177\u6709\u54cd\u5e94\u5f0f\uff0c\u73b0\u5728 defineProps \u89e3\u6784\u7684\u53d8\u91cf\u4e5f\u662f\u5177\u6709\u54cd\u5e94\u5f0f\u7684\uff0c\u5176\u539f\u7406\u662f\u8bbf\u95ee\u8bbf\u95ee\u89e3\u6784\u53d8\u91cf\u65f6\uff0c\u7f16\u8bd1\u5668\u4f1a\u81ea\u52a8\u5c06\u5176\u7f16\u8bd1\u4e3aprops.xxx\uff0c\u56e0\u6b64\u5b83\u4eec\u5728\u8bbf\u95ee\u65f6\u4f1a\u88ab\u8ffd\u8e2a\u3002<\/p>\n<p>\u5177\u4f53\u4f7f\u7528\u53ef\u4ee5\u53c2\u9605\u5b98\u65b9\u6587\u6863\uff1aProps | Vue.js<\/p>\n<p><strong>(3) Svelte5 \u6b63\u5f0f\u62e5\u62b1\u57fa\u4e8e Singal \u7684\u54cd\u5e94\u5f0f\u7cfb\u7edf<\/strong><\/p>\n<p>Svelte 5 \u5728\u7ecf\u8fc7\u957f\u8fbe 18 \u4e2a\u6708\u7684\u6253\u78e8\u540e\uff0c\u4e8e 2024 \u5e74 10 \u6708 22 \u53f7\u6b63\u5f0f\u53d1\u5e03\u3002\u5b98\u65b9\u56e2\u961f\u58f0\u79f0\u8fd9\u662f\u8be5\u9879\u76ee\u5386\u53f2\u4e0a\u6700\u91cd\u8981\u7684\u7248\u672c\uff0c\u662f\u4e00\u6b21\u5168\u9762\u7684\u91cd\u5199\uff0c\u5728\u786e\u4fdd\u6846\u67b6\u9ad8\u6027\u80fd\u7684\u540c\u65f6\uff0c\u63d0\u4f9b\u66f4\u52a0\u6d41\u7545\u7684\u5f00\u53d1\u4f53\u9a8c\u548c\u66f4\u4f4e\u7684\u5b66\u4e60\u66f2\u7ebf\u3002\u800c\u4e14 Svelte 5 \u51e0\u4e4e\u5b8c\u5168\u5411\u540e\u517c\u5bb9 Svelte 4\uff0c\u652f\u6301\u65e0\u7f1d\u5347\u7ea7\u3002\u63a5\u4e0b\u6765\u5c31\u8ba9\u6211\u4eec\u4e00\u8d77\u56de\u987e\u4e00\u4e0b Svelte 5 \u6240\u5e26\u6765\u7684\u6700\u503c\u5f97\u5173\u6ce8\u7684\u65b0\u7279\u6027\u5427\uff1a<\/p>\n<p><strong>\u2460 \u57fa\u4e8e\u8fd0\u884c\u65f6\u54cd\u5e94\u5f0f API Runes<\/strong><\/p>\n<p>\u5728 2024 \u5e74\u53d1\u5e03\u7684 Svelte 5 \u4e2d\uff0cRunes \u6beb\u65e0\u7591\u95ee\u662f\u5176\u4e2d\u6700\u91cd\u8981\u7684\u65b0\u7279\u6027\u3002\u5728 Svelte 4 \u4e2d\u751f\u6210\u54cd\u5e94\u5f0f\u4ee3\u7801\u4f9d\u8d56\u4e8e\u7f16\u8bd1\u65f6\u8fdb\u884c\u4ee3\u7801\u9759\u6001\u5206\u6790\uff0c\u56e0\u6b64\u53d7\u9650\u4e8e\u4ee3\u7801\u9759\u6001\u5206\u6790\u7684\u5c40\u9650\u6027\uff0c\u4f1a\u5b58\u5728\u5982\u4e0b\u4e24\u4e2a\u95ee\u9898\uff1a<\/p>\n<ul data-id=\"u738a58b-ozr39KLS\">\n<li data-id=\"ld70c578-QKGvZ5d7\">\u90e8\u5206\u60c5\u51b5\u65e0\u6cd5\u5b9e\u73b0\u8fd0\u884c\u65f6\u54cd\u5e94\u5f0f\u63a8\u65ad\uff0c\u4f8b\u5982\u4e24\u4e2a\u54cd\u5e94\u5f0f\u53d8\u91cf\u4e4b\u95f4\u7684\u5173\u8054\uff0c\u5fc5\u987b\u4f7f\u7528 $ \u8868\u8fbe\u5f0f\u663e\u793a\u8868\u8fbe\u51fa\u6765\uff0c\u8fd9\u6837\u624d\u80fd\u8ba9\u7f16\u8bd1\u5668\u5728\u7f16\u8bd1\u9636\u6bb5\u5206\u6790\u51fa\u54cd\u5e94\u5f0f\u7684\u4f9d\u8d56\u5173\u7cfb\u3002<\/li>\n<\/ul>\n<div>\n<div class=\"hljs-cto\">\n<div class=\"hljs-cto\"><button class=\"copy_btn disable\" data-clipboard-target=\"#code_id_9\">\u590d\u5236<\/button><\/p>\n<div class=\"code-toolbar\">\n<pre class=\"has-pre-numbering language-javascript\" tabindex=\"0\"><code class=\"language-javascript\"><span class=\"token keyword\">let<\/span> count <span class=\"token operator\">=<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">;<\/span>\r\n<span class=\"token literal-property property\">$<\/span><span class=\"token operator\">:<\/span> total <span class=\"token operator\">=<\/span> <span class=\"token template-string\"><span class=\"token template-punctuation string\">`<\/span><span class=\"token string\">Total: <\/span><span class=\"token interpolation\"><span class=\"token interpolation-punctuation punctuation\">${<\/span>count<span class=\"token interpolation-punctuation punctuation\">}<\/span><\/span><span class=\"token template-punctuation string\">`<\/span><\/span><span class=\"token punctuation\">;<\/span> <span class=\"token comment\">\/\/ \u2714 \u663e\u793a\u58f0\u660e total \u4f9d\u8d56\u4e8e count<\/span>\r\n<span class=\"token keyword\">function<\/span> <span class=\"token function\">getTotalNumber<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span>\r\n  <span class=\"token keyword\">return<\/span> <span class=\"token template-string\"><span class=\"token template-punctuation string\">`<\/span><span class=\"token string\">Total: <\/span><span class=\"token interpolation\"><span class=\"token interpolation-punctuation punctuation\">${<\/span>count<span class=\"token interpolation-punctuation punctuation\">}<\/span><\/span><span class=\"token template-punctuation string\">`<\/span><\/span><span class=\"token punctuation\">;<\/span>\r\n<span class=\"token punctuation\">}<\/span>\r\n<span class=\"token literal-property property\">$<\/span><span class=\"token operator\">:<\/span> total <span class=\"token operator\">=<\/span> <span class=\"token function\">getTotalNumber<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token comment\">\/\/ \u274c \u7f16\u8bd1\u5668\u65e0\u6cd5\u6536\u96c6\u5230 count \u4f9d\u8d56\u4e8e total<\/span><\/code><\/pre>\n<ul id=\"code_id_9\" class=\"pre-numbering\">\n<li>1.<\/li>\n<li>2.<\/li>\n<li>3.<\/li>\n<li>4.<\/li>\n<li>5.<\/li>\n<li>6.<\/li>\n<\/ul>\n<div class=\"toolbar\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<ul data-id=\"u738a58b-RLUINFaz\">\n<li data-id=\"ld70c578-tJDumnFB\">\u7f16\u8bd1\u54cd\u5e94\u5f0f\u4ec5\u652f\u6301\u5c06 .svelte \u6587\u4ef6\u4e2d\u7684\u53d8\u91cf\u58f0\u660e\u7f16\u8bd1\u6210\u54cd\u5e94\u5f0f\u7684\u4ee3\u7801\uff0c\u5176\u4f59\u6587\u4ef6\u58f0\u660e\u54cd\u5e94\u5f0f\u7684\u6570\u636e\u9700\u8981\u4f7f\u7528 Store API\uff0c\u589e\u52a0\u5f00\u53d1\u8005\u5f00\u53d1\u7684\u5fc3\u667a\u8d1f\u62c5\uff0c\u591a\u4e2a\u7ec4\u4ef6\u590d\u7528\u7f16\u5199\u4ee3\u7801\u7684\u6210\u672c\u589e\u52a0\uff0c\u5177\u4f53\u53ef\u53c2\u8003\u00a0svelte\/store \u2022 Docs \u2022 Svelte\u00a0\u5b98\u65b9\u6587\u6863\u3002<\/li>\n<\/ul>\n<p>\u56e0\u6b64\uff0c\u4e3a\u4e86\u4e0a\u8ff0\u89e3\u51b3 Svelte 4 \u54cd\u5e94\u5f0f\u7cfb\u7edf\u7684\u75db\u70b9\uff0cSvelte \u5b98\u65b9\u56e2\u961f\u91cd\u6784\u4e86\u54cd\u5e94\u5f0f\u7cfb\u7edf\uff0c\u63a8\u51fa\u4e86\u65b0\u7684\u54cd\u5e94\u5f0f API Runes\u3002\u5728 Svelte 5 \u4e2d\u53ef\u4ee5\u4f7f\u7528\u00a0\u548c.proxy \u58f0\u660e\u54cd\u5e94\u5f0f\u53d8\u91cf\uff0c\u5177\u4f53\u7528\u6cd5\u548c\u66f4\u591a Runes API \u53ef\u53c2\u9605\u5b98\u65b9\u6587\u6863 [What are runes? \u2022 Docs \u2022 Svelte](https:\/\/svelte.dev\/docs\/svelte\/what-are-runes)\u3002\u4ece\u5b98\u65b9\u6587\u6863\u7684\u4f7f\u7528\u4ecb\u7ecd\u4e2d\u6211\u4eec\u53ef\u4ee5\u770b\u51fa\u51e0\u5206 Vue Composition API \u7684\u5f71\u5b50\uff08.proxy -&gt; reactive\uff09\uff0c\u5176\u539f\u7406\u90fd\u662f\u57fa\u4e8e Singal \u7684\u54cd\u5e94\u5f0f\uff0c\u901a\u8fc7\u5bf9\u8c61 Proxy API \u5b9e\u73b0\u7684\u4f9d\u8d56\u6536\u96c6\u548c\u6570\u636e\u76d1\u542c\uff0c\u8fdb\u800c\u5b9e\u73b0\u57fa\u7840\u7c7b\u578b\u548c\u5bf9\u8c61\u7c7b\u578b\u7684\u8fd0\u884c\u65f6\u54cd\u5e94\u5f0f\u66f4\u65b0\u3002<\/p>\n<div>\n<div class=\"hljs-cto\">\n<div class=\"hljs-cto\"><button class=\"copy_btn disable\" data-clipboard-target=\"#code_id_10\">\u590d\u5236<\/button><\/p>\n<div class=\"code-toolbar\">\n<pre class=\"has-pre-numbering language-javascript\" tabindex=\"0\"><code class=\"language-javascript\"><span class=\"token comment\">\/\/ \u4e0a\u9762\u7684\u4f8b\u5b50\u53ef\u4ee5\u6539\u5199\u4e3a<\/span>\r\n<span class=\"token keyword\">let<\/span> count <span class=\"token operator\">=<\/span> <span class=\"token function\">$state<\/span><span class=\"token punctuation\">(<\/span><span class=\"token number\">0<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span>\r\n<span class=\"token keyword\">function<\/span> <span class=\"token function\">getTotalNumber<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span>\r\n  <span class=\"token keyword\">return<\/span> <span class=\"token template-string\"><span class=\"token template-punctuation string\">`<\/span><span class=\"token string\">Total: <\/span><span class=\"token interpolation\"><span class=\"token interpolation-punctuation punctuation\">${<\/span>$<span class=\"token punctuation\">.<\/span><span class=\"token function\">get<\/span><span class=\"token punctuation\">(<\/span>count<span class=\"token punctuation\">)<\/span><span class=\"token interpolation-punctuation punctuation\">}<\/span><\/span><span class=\"token template-punctuation string\">`<\/span><\/span><span class=\"token punctuation\">;<\/span>\r\n<span class=\"token punctuation\">}<\/span>\r\n<span class=\"token keyword\">let<\/span> total <span class=\"token operator\">=<\/span> $<span class=\"token punctuation\">.<\/span><span class=\"token function\">derived<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">=&gt;<\/span> <span class=\"token function\">getTotalNumber<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/code><\/pre>\n<ul id=\"code_id_10\" class=\"pre-numbering\">\n<li>1.<\/li>\n<li>2.<\/li>\n<li>3.<\/li>\n<li>4.<\/li>\n<li>5.<\/li>\n<li>6.<\/li>\n<\/ul>\n<div class=\"toolbar\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>\u6ce8\uff1a\u7531\u4e8e $.derived \u57fa\u4e8e\u8fd0\u884c\u65f6\u54cd\u5e94\u5f0f\uff0c\u56e0\u6b64\u53ef\u4ee5\u505a\u5230 count \u53d8\u5316\u540e\u54cd\u5e94\u5f0f\u66f4\u65b0 total\u3002<\/p>\n<p>Svelte 5 \u901a\u8fc7\u5c06\u54cd\u5e94\u5f0f\u662f\u5b9e\u73b0\u4ece\u65e7\u7248\u672c\u57fa\u4e8e\u7f16\u8bd1\u65f6\u7684\u4f9d\u8d56\u6536\u96c6\uff0c\u91cd\u6784\u5230\u65b0\u7248\u672c\u4e2d\u57fa\u4e8e\u8fd0\u884c\u65f6\u7684\u4f9d\u8d56\u6536\u96c6\uff0c\u4ee5\u89e3\u51b3\u4e86\u65e7\u7248\u672c\u54cd\u5e94\u5f0f\u5b58\u5728\u7684\u5c40\u9650\u6027\uff1b\u540c\u65f6\u7531\u4e8e\u662f\u57fa\u4e8e\u8fd0\u884c\u65f6\u7684\u54cd\u5e94\u5f0f\uff0c\u56e0\u6b64 Runes \u8bed\u6cd5\u53ef\u4ee5\u5728\u4efb\u4f55\u6587\u4ef6\u4e2d\u4f7f\u7528\uff0c\u4e0d\u4ec5\u4ec5\u5c40\u9650\u4e8e .svelte \u6587\u4ef6\u4e2d\uff0c\u89e3\u51b3\u4e86\u65e7\u7248\u672c\u5b58\u5728\u7684\u4e00\u81f4\u6027\u95ee\u9898\u3002\u7531\u6b64\u6211\u4eec\u4e5f\u53ef\u4ee5\u770b\u51fa\u9664\u4e86 React \u4ee5\u5916\uff0cSolid\u3001Vue\u3001Angular \u548c Svelte \u90fd\u5df2\u7ecf\u9009\u62e9\u62e5\u62b1\u57fa\u4e8e Singal \u7684\u7ec6\u7c92\u5ea6\u54cd\u5e94\u5f0f\uff0c\u5728\u80fd\u786e\u4fdd\u6846\u67b6\u54cd\u5e94\u5f0f\u6027\u80fd\u7684\u540c\u65f6\uff0c\u63d0\u5347\u5f00\u53d1\u4f53\u9a8c\uff0c\u964d\u4f4e\u5b66\u4e60\u6210\u672c\u3002<\/p>\n<p><strong>(4) Angular 19 \u6b63\u5f0f\u53d1\u5e03\uff1a\u6027\u80fd\u4e0e\u5f00\u53d1\u8005\u4f53\u9a8c\u7684\u6301\u7eed\u5b8c\u5584<\/strong><\/p>\n<p>2024 \u5e7411\u670816 \u65e5 Angular 19 \u6b63\u5f0f\u53d1\u5e03\uff0c\u7b14\u8005\u8ba4\u4e3a\u672c\u6b21\u5347\u7ea7\u4e3b\u8981\u662f\u4fa7\u91cd\u4e8e\u6027\u80fd\u4f18\u5316\u548c\u5f00\u53d1\u8005\u4f53\u9a8c\u7684\u6301\u7eed\u5b8c\u5584\uff0c\u6ca1\u6709\u91cd\u5927\u6539\u52a8\u7684\u65b0\u7279\u6027\u51fa\u73b0\uff0c\u4e3b\u8981\u53ef\u5206\u4e3a\u6846\u67b6\u6027\u80fd\u3001\u5f00\u53d1\u8005\u4f53\u9a8c\u3001\u54cd\u5e94\u5f0f\u7cfb\u7edf\u4e09\u4e2a\u65b9\u9762\u7684\u4f18\u5316\u548c\u5347\u7ea7\uff1a<\/p>\n<ul data-id=\"u738a58b-mgtP76Ic\">\n<li data-id=\"ld70c578-5jJPKyDG\">\u6e32\u67d3\u6027\u80fd\u4f18\u5316\uff1a\u5f15\u5165\u589e\u91cf\u6c34\u5408\u6280\u672f\u548c\u8def\u7531\u6e32\u67d3\u914d\u7f6e\u65b0\u7279\u6027\uff0c\u80fd\u591f\u66f4\u597d\u5730\u505a\u5230\u5bf9\u7ec4\u4ef6\u3001\u8def\u7531\u8fdb\u884c\u66f4\u7ec6\u7c92\u5ea6\u7684\u61d2\u52a0\u8f7d\u548c\u6e32\u67d3\u63a7\u5236\u3002<\/li>\n<li data-id=\"ld70c578-ZtcPFqJt\">\u54cd\u5e94\u5f0f\u7cfb\u7edf\u5b8c\u5584\uff1a\u65b0\u5f15\u5165\u4e86 linkedSignal \u548c resource \u4e24\u4e2a\u65b0\u7279\u6027\uff0clinkedSignal \u7c7b\u4f3c\u4e8e Vue \u7684 Computed\uff0c\u5141\u8bb8\u4f60\u521b\u5efa\u4e00\u4e2a\u54cd\u5e94\u5f0f\u53d8\u91cf\uff0c\u8be5\u54cd\u5e94\u5f0f\u53d8\u91cf\u7684\u503c\u53ef\u4ee5\u57fa\u4e8e\u5176\u4ed6\u54cd\u5e94\u5f0f\u53d8\u91cf\u7684\u53d8\u5316\u800c\u81ea\u52a8\u66f4\u65b0\uff1b\u800c resource \u5219\u7c7b\u4f3c\u4e8e\u5f02\u6b65\u7684 linkedSignal \uff0c\u5f53\u4f9d\u8d56\u7684\u54cd\u5e94\u5f0f\u53d8\u91cf\u53d1\u751f\u53d8\u5316\u65f6\uff0c\u4f1a\u81ea\u52a8\u8fdb\u884c\u5f02\u6b65\u8bf7\u6c42\u66f4\u65b0\u72b6\u6001\u3002\u7b14\u8005\u8ba4\u4e3a\u8fd9\u4e24\u8005\u5728\u4e0d\u540c\u7684\u4f7f\u7528\u573a\u666f\u4e0b\u53ef\u4ee5\u66f4\u597d\u5730\u7ef4\u62a4\u54cd\u5e94\u5f0f\u53d8\u91cf\uff0c\u63d0\u9ad8\u5f00\u53d1\u7684\u4f53\u9a8c\u548c\u5e73\u6ed1\u6027\u3002<\/li>\n<li data-id=\"ld70c578-Llrd8BJF\">\u5f00\u53d1\u8005\u4f53\u9a8c\u4f18\u5316\uff1a\u652f\u6301\u5f00\u7bb1\u5373\u7528\u7684\u6837\u5f0f HMR\uff08\u70ed\u6a21\u5757\u66ff\u6362\uff09\uff0c\u4e14\u5b9e\u9a8c\u6027\u652f\u6301\u6a21\u677f HMR\u3002<\/li>\n<\/ul>\n<p><strong>(5) HTMX \u4e0e\u5927\u524d\u7aef\u7684\u4e3b\u65cb\u5f8b\u5e76\u4e0d\u9002\u914d<\/strong><\/p>\n<p>\u4ece 2024 \u5e74\u524d\u7aef\u6846\u67b6\u7684\u8c03\u67e5\u95ee\u5377\u548c\u8fd1\u4e24\u5e74\u8be5 NPM \u5305\u4e0b\u8f7d\u91cf\u4e0a\u770b\uff0cHTMX \u6846\u67b6\u8fd8\u662f\u5b58\u5728\u4e00\u5b9a\u53d7\u6b22\u8fce\u7a0b\u5ea6\u7684\uff0c\u5b83\u4e5f\u6210\u4e3a\u4e862024 \u5e74\u8d77 JavaScript \u524d\u7aef\u6846\u67b6\u65b9\u9762\u7684\u660e\u661f\u9879\u76ee\u3002\u4ece\u6536\u96c6\u7684\u8d44\u6599\u4e0a\u770b\uff0c\u867d\u7136\u56fd\u5185\u5927\u524d\u7aef\u7684\u73af\u5883\u4e0b\u51e0\u4e4e\u6ca1\u6709\u5173\u6ce8\u5ea6\uff0c\u4f46\u662f\u5728\u56fd\u5916\u540e\u7aef\u5708\u706b\u4e86\u6709\u4e00\u6bb5\u65f6\u95f4\u4e86\uff0c\u7b14\u8005\u8ba4\u4e3a\u4e3b\u8981\u539f\u56e0\u662f\u8be5\u6846\u67b6\u53ef\u4ee5\u65e0\u9700\u7f16\u5199\u5927\u91cf\u7684 JavaScript \u4ee3\u7801\u5b9e\u73b0\u5168\u52a8\u6001\u7684 SPA \u9875\u9762\uff0c\u4e14\u5177\u6709\u6784\u5efa\u4ea7\u7269\u4f53\u79ef\u5c0f\u548c\u80fd\u591f\u4e0e\u73b0\u6709\u7684\u670d\u52a1\u7aef\u6846\u67b6\u65e0\u7f1d\u96c6\u6210\u7b49\u7279\u70b9\u3002\u5177\u4f53\u4ecb\u7ecd\u53ef\u4ee5\u53c2\u8003\u7b14\u8005\u56e2\u961f 2023 \u5e74\u7f16\u5199\u7684\u6587\u7ae0\u00a0\u7a7f\u8d8a\u65f6\u7a7a\uff1a2023\u5e74\u524d\u7aef\u6280\u672f\u76d8\u70b9\u4e0e2024\u5e74\u6280\u672f\u5c55\u671b<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s3.51cto.com\/oss\/202503\/05\/52d8e94481f5d31bd277972804908b237de1af.webp\" data-type=\"block\" \/><\/p>\n<p>\uff08\u7edf\u8ba1\u6570\u636e\u6765\u6e90\u4e8e\u00a0npm-stat: download statistics for NPM packages\uff09<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s2.51cto.com\/oss\/202503\/05\/553e72a84379dd3ea8e61311e3455e844d346b.webp\" data-type=\"block\" \/><\/p>\n<p>\uff08\u56fe\u6765\u6e90\u4e8e\u00a0https:\/\/risingstars.js.org\/2024\/en#section-all\u00a0\uff09<\/p>\n<p>\u7b14\u8005\u8ba4\u4e3a\u8be5\u6846\u67b6\u8fd1\u4e24\u5e74\u5728\u56fd\u5916\u80fd\u4fdd\u6301\u4e00\u5b9a\u7684\u70ed\u5ea6\uff0c\u80af\u5b9a\u662f\u6709\u4ed6\u7684\u4f18\u70b9\u6240\u5728\u7684\u3002\u4f46\u662f\u5728\u76ee\u524d\u56fd\u5185\u8fd9\u79cd\u5927\u524d\u7aef\u73af\u5883\u4e0b\uff0cHTMX \u7684\u4f7f\u7528\u4e0a\u5b58\u5728\u6bd4\u8f83\u5927\u7684\u5c40\u9650\u6027\uff0c\u4f8b\u5982\u56e0\u6846\u67b6\u7279\u6027\u800c\u5bfc\u81f4 HTML \u81c3\u80bf\uff0c\u53ef\u7ef4\u62a4\u6027\u8f83\u5dee\u7684\u95ee\u9898\uff0c\u4e0d\u63a8\u8350\u524d\u7aef\u5728\u751f\u4ea7\u73af\u5883\u4e2d\u4f7f\u7528\u3002\u4e0d\u8fc7\u4ece\u56fd\u5916\u8bba\u575b\u4e0a\u770b\u4e5f\u662f\u540e\u7aef\u5f00\u53d1\u8005\u4f1a\u5c1d\u8bd5\u5b66\u4e60\u548c\u4f7f\u7528\u7684\u504f\u591a\uff0c\u56e0\u4e3a\u65e0\u9700\u8981\u5b66\u4e60\u590d\u6742 JS\uff0c\u662f\u4e86\u89e3\u61c2 HTML \u548c CSS\uff0c\u5e76\u7ed3\u5408\u670d\u52a1\u7aef\u6846\u67b6\u5373\u53ef\u5feb\u901f\u5f00\u53d1\u51fa\u73b0\u4ee3 Web SPA \u9875\u9762\u3002<\/p>\n<p>\u53c2\u8003\u8d44\u6599\uff1a<\/p>\n<ul data-id=\"u738a58b-pIccig4e\">\n<li data-id=\"ld70c578-CkNWMiPj\">https:\/\/www.reddit.com\/r\/ExperiencedDevs\/comments\/1bomixd\/to_those_that_use_htmx_in_production_how_is_it\/?rdt=41869<\/li>\n<li data-id=\"ld70c578-mjFauo6Q\">https:\/\/x.com\/vikingmute\/status\/1682928940086870016<\/li>\n<\/ul>\n<p><strong>(6) Astro 5.0 \u6b63\u5f0f\u53d1\u5e03\uff1a\u5b8c\u5584\u5185\u5bb9\u52a0\u8f7d\u7075\u6d3b\u6027\u5e76\u5c06\u5c9b\u5c7f\u67b6\u6784\u62d3\u5c55\u81f3\u670d\u52a1\u7aef<\/strong><\/p>\n<p>2024 \u5e74 12 \u6708 4 \u53f7 Astro \u5b98\u65b9\u56e2\u961f\u6b63\u5f0f\u53d1\u5e03 Astro 5.0 \u7248\u672c\uff0cAstro \u662f\u7528\u4e8e\u6784\u5efa\u5185\u5bb9\u9a71\u52a8\u7f51\u7ad9\uff08\u5305\u62ec\u535a\u5ba2\u3001\u8425\u9500\u548c\u7535\u5b50\u5546\u52a1\uff09\u7684 Web \u6846\u67b6\uff0c\u4ee5\u6027\u80fd\u548c SEO \u51fa\u8272\u800c\u8457\u540d\u3002Astro 5.0 \u7248\u672c\u5305\u542b\u4e86\u4e00\u7cfb\u5217\u7684\u65b0\u7279\u6027\uff0c\u5982\u5185\u5bb9\u5c42\u3001\u670d\u52a1\u5668\u5b64\u5c9b\u3001\u7b80\u5316\u7684\u9884\u6e32\u67d3\u548c\u7c7b\u578b\u5b89\u5168\u7684\u73af\u5883\u53d8\u91cf\u7b49\uff0c\u4f7f\u5f97\u6846\u67b6\u5185\u5bb9\u52a0\u8f7d\u7075\u6d3b\u6027\u548c\u6027\u80fd\u90fd\u6709\u660e\u663e\u7684\u63d0\u5347\u3002\u56e0\u6b64\u7b14\u8005\u63a5\u4e0b\u6765\u5c06\u4ecb\u7ecd\u5185\u5bb9\u5c42 (Content Layer)\u548c\u670d\u52a1\u5c9b (Server Islands)\u4e24\u4e2a\u8f83\u4e3a\u5173\u952e\u7684\u65b0\u7279\u6027\uff0c\u5176\u4f59\u65b0\u7279\u6027\u8bf7\u53c2\u53c2\u9605\u4ee5\u4e0b\u6587\u7ae0\u8bf4\u660e\u00a0https:\/\/www.laughingzhu.cn\/posts\/astro-version-5\u00a0\u3002<\/p>\n<p><strong>\u2460 \u5185\u5bb9\u5c42\uff08Content Layer\uff09\u5f15\u5165\u6781\u5927\u63d0\u9ad8\u6846\u67b6\u5185\u5bb9\u52a0\u8f7d\u7684\u7075\u6d3b\u6027<\/strong><\/p>\n<p>\u81ea Astro 2.0 \u4ee5\u6765\uff0c\u9996\u5148\u4e3b\u8981\u652f\u6301\u4ece\u672c\u5730\u6587\u4ef6\u7cfb\u7edf\u52a0\u8f7d Markdown \u6587\u4ef6\u4f5c\u4e3a\u5185\u5bb9\u6e90\u3002\u5bf9\u4e8e\u9700\u8981\u4ece\u8fdc\u7a0b CMS\u3001API \u6216\u5176\u4ed6\u6570\u636e\u6e90\u83b7\u53d6\u5185\u5bb9\u7684\u573a\u666f\uff0c\u5f00\u53d1\u8005\u9700\u8981\u81ea\u884c\u5b9e\u73b0\u6570\u636e\u83b7\u53d6\u548c\u5904\u7406\u903b\u8f91\uff0c\u5176\u6b21\u5185\u5bb9\u7684\u7ba1\u7406\u548c\u7ec4\u7ec7\u4e3b\u8981\u4f9d\u8d56\u4e8e\u6587\u4ef6\u7cfb\u7edf\u7684\u76ee\u5f55\u7ed3\u6784\uff0c\u5bf9\u4e8e\u5927\u578b\u9879\u76ee\u6216\u9700\u8981\u590d\u6742\u5185\u5bb9\u7ba1\u7406\u7684\u573a\u666f\uff0c\u8fd9\u79cd\u65b9\u5f0f\u53ef\u80fd\u5bfc\u81f4\u5185\u5bb9\u7ec4\u7ec7\u4e0d\u591f\u7075\u6d3b\uff0c\u96be\u4ee5\u6ee1\u8db3\u591a\u6837\u5316\u7684\u5185\u5bb9\u7ba1\u7406\u9700\u6c42\u3002<\/p>\n<p>\u56e0\u6b64 Astro 5.0 \u5f15\u5165\u5185\u5bb9\u5c42\u6765\u89e3\u51b3\u4e0a\u8ff0\u95ee\u9898\uff0c\u63d0\u4f9b\u4e86\u4e00\u4e2a\u7edf\u4e00\u4e14\u7c7b\u578b\u5b89\u5168\u7684 API \u6765\u5b9a\u4e49\u3001\u52a0\u8f7d\u548c\u8bbf\u95ee\u5185\u5bb9\u3002\u65e0\u8bba\u5185\u5bb9\u662f\u6765\u81ea\u672c\u5730\u6587\u4ef6\u3001\u8fdc\u7a0b CMS\u3001API \u8fd8\u662f\u5176\u4ed6\u6570\u636e\u6e90\uff0c\u90fd\u53ef\u4ee5\u901a\u8fc7\u8fd9\u4e2a API \u8fdb\u884c\u7ba1\u7406\u548c\u64cd\u4f5c\uff0c\u6781\u5927\u5730\u63d0\u9ad8\u4e86\u5185\u5bb9\u7ba1\u7406\u7684\u7075\u6d3b\u6027\u548c\u4e00\u81f4\u6027\u3002\u6b64\u5916 Astro 5.0 \u5185\u5bb9\u5c42\u8fd8\u80fd\u591f\u4e3a\u9875\u9762\u6027\u80fd\u5e26\u6765\u63d0\u5347\u3002\u5728 Astro 5 \u4e2d\uff0c\u5185\u5bb9\u4e30\u5bcc\u7684\u7f51\u7ad9\u4e0a\u7684 Markdown \u9875\u9762\u7684\u5185\u5bb9\u96c6\u5408\u6784\u5efa\u901f\u5ea6\u63d0\u9ad8\u4e86 5 \u500d \uff0cMDX \u7684\u6784\u5efa\u901f\u5ea6\u63d0\u9ad8\u4e86 2 \u500d \uff0c\u540c\u65f6\u5185\u5b58\u4f7f\u7528\u91cf\u51cf\u5c11\u4e86 25%-50%\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s6.51cto.com\/oss\/202503\/05\/93f196f8636df3c825b2285bfc57437252d1de.webp\" data-type=\"block\" \/><\/p>\n<p>\uff08\u56fe\u8282\u9009\u81ea\u00a0https:\/\/www.laughingzhu.cn\/posts\/astro-version-5\u00a0\uff09<\/p>\n<p>\u2461 \u670d\u52a1\u5c9b (Server Islands)<\/p>\n<p>\u5728 Astro 4.0 \u7684\u7ec4\u4ef6\u5c9b\u67b6\u6784\u5141\u8bb8\u5728\u9759\u6001\u9875\u9762\u4e2d\u5d4c\u5165\u52a8\u6001\u7684\u4ea4\u4e92\u5f0f\u7ec4\u4ef6\uff0c\u8fd9\u4e9b\u7ec4\u4ef6\u4f1a\u8ddf\u968f\u9875\u9762\u9759\u6001\u5185\u5bb9\u4e00\u8d77\u8fd4\u56de\u7ed9\u5ba2\u6237\u7aef\uff0c\u5e76\u5728\u5ba2\u6237\u7aef\u52a0\u8f7d\u65f6\u8fdb\u884c\u6c34\u5408\u3002\u800c\u5728 Astro 5.0 \u5f15\u5165\u670d\u52a1\u5c9b\u7ec4\u4ef6\uff08Server Islands Components\uff09\u540e\uff0c\u670d\u52a1\u5c9b\u4e0e\u670d\u52a1\u5c9b\u4e4b\u95f4\uff0c\u670d\u52a1\u5c9b\u4e0e\u5176\u4ed6\u5c9b\u5c7f\u4e4b\u95f4\u7684\u52a0\u8f7d\u90fd\u662f\u76f8\u4e92\u72ec\u7acb\uff0c\u56e0\u6b64\u53ef\u5229\u7528\u670d\u52a1\u5c9b\uff0c\u5c06\u9875\u9762\u9759\u6001\u5185\u5bb9\u548c\u52a8\u6001\u5185\u5bb9\u5206\u5f00\u5904\u7406\uff0c\u9759\u6001\u5185\u5bb9\u76f4\u63a5\u8fdb\u884c CDN \u7f13\u5b58\uff0c\u4ece\u800c\u5b9e\u73b0\u5feb\u901f\u52a0\u8f7d\uff0c\u800c\u52a8\u6001\u5185\u5bb9\u5219\u5728\u670d\u52a1\u5668\u7aef\u6309\u9700\u6e32\u67d3\u3002\u5176\u6b21\u670d\u52a1\u5c9b\u5141\u8bb8\u901a\u8fc7 headers \u65b9\u5f0f\u4e3a\u6bcf\u4e2a\u5c9b\u5c7f\u81ea\u5b9a\u4e49\u7f13\u5b58\u751f\u547d\u5468\u671f\uff0c\u8fd9\u4f7f\u5f97\u5f00\u53d1\u8005\u53ef\u4ee5\u6839\u636e\u5185\u5bb9\u7684\u52a8\u6001\u6027\u548c\u66f4\u65b0\u9891\u7387\uff0c\u7075\u6d3b\u5730\u5236\u5b9a\u7f13\u5b58\u7b56\u7565\uff0c\u8fdb\u4e00\u6b65\u63d0\u5347\u9875\u9762\u6027\u80fd\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s2.51cto.com\/oss\/202503\/05\/d7d06e895989773aff05082349ebbb00aafec1.webp\" data-type=\"block\" \/><\/p>\n<p>\u7b14\u8005\u8ba4\u4e3a Astro 5.0 \u670d\u52a1\u5c9b\u7684\u5f15\u5165\u80fd\u591f\u4f7f\u9875\u9762\u9759\u6001\u5185\u5bb9\u7684\u9996\u5c4f\u53ef\u89c1\u6027\u80fd\u6bd4\u5e38\u89c4 SSR \u6e32\u67d3\u6709\u4e00\u5b9a\u7684\u63d0\u5347\uff0c\u4f46\u662f\u5bf9\u4e8e\u52a8\u6001\u5316\u5185\u5bb9\u8f83\u591a\u7684\u9875\u9762\uff0c\u6709\u6548\u5185\u5bb9\u7684\u9996\u5c4f\u53ef\u89c1\u548c\u53ef\u4ea4\u4e92\u8017\u65f6\u76f8\u8f83\u4e8e\u5e38\u89c4 SSR \u6e32\u67d3\u76f8\u6bd4\u6ca1\u6709\u592a\u5927\u7684\u63d0\u5347\u3002<\/p>\n<h4>3. \u524d\u7aef\u57fa\u7840\u5efa\u8bbe\uff1aRust \u5316\u6108\u6f14\u6108\u70c8<\/h4>\n<p>\u5728 2024 \u5e74 Stack Overflow \u8c03\u67e5\u4e2d\uff0cRust \u56e0\u5176\u5b89\u5168\u6027\u3001\u6027\u80fd\u7b49\u539f\u56e0\uff0c\u53d7\u5230\u9ad8\u8fbe 82% \u7684\u8c03\u67e5\u7528\u6237\u9752\u7750\uff0c\u7ee7\u7eed\u6210\u4e3a 2024 \u5e74\u6700\u53d7\u63a8\u5d07\u7684\u8bed\u8a00\uff0c\u4f8b\u5982Windows \u4e5f\u6b63\u5728\u4f7f\u7528 Rust \u91cd\u5199\u5176\u6838\u5fc3\u5e93\u3002<\/p>\n<p>Rust for Windows, and the windows crate | Microsoft Learn<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s2.51cto.com\/oss\/202503\/05\/c3c797d83dc7fbe40f80017110b1617d9c40c3.webp\" data-type=\"block\" \/><\/p>\n<p>\uff08\u56fe\u8282\u9009\u81ea\u00a0Technology | 2024 Stack Overflow Developer Survey\uff09<\/p>\n<p>\u5728\u524d\u7aef\u57fa\u7840\u5efa\u8bbe\u9886\u57df\uff0cRust \u5316\u4f9d\u65e7\u6108\u6f14\u6108\u70c8\u30022024 \u5e74\u671f\u95f4\u4e5f\u6d8c\u73b0\u51fa\u8bb8\u591a\u65b0\u7684\u57fa\u4e8e Rust \u5b9e\u73b0\u7684\u5de5\u5177\u7c7b\u5e93\uff0c\u4f8b\u5982 Vite \u7684 RollDown\u3001Rust Farm\u3001RsBuild\u3001Oxlint \u7b49\uff0c\u63a5\u4e0b\u6765\u8ba9\u6211\u4eec\u4e00\u8d77\u6765\u56de\u987e\u4e00\u4e0b\u5427\u3002<\/p>\n<p><strong>(1) Vite 6.0 \u4f18\u5316\u5f00\u53d1\u4f53\u9a8c\uff0c\u62e5\u62b1 Rust \u5927\u52bf\u6240\u8d8b<\/strong><\/p>\n<p>\u4ece State of FrontEnd \u8c03\u67e5\u7ed3\u679c\u663e\u793a\uff0c\u6709 82.4% \u7684\u5f00\u53d1\u8005\u9752\u7750\u4f7f\u7528 Vite\uff0c \u7531\u6b64\u53ef\u89c1 Vite \u5df2\u6210\u4e3a 2024 \u5e74\u6700\u53d7\u6b22\u8fce\u7684\u524d\u7aef\u6784\u5efa\u5de5\u5177\u30022024 \u5e74\u671f\u95f4 Vite \u4e3b\u8981\u6709\u4e24\u4e2a\u503c\u5f97\u6211\u4eec\u5173\u6ce8\u7684\u4e8b\u60c5\uff1aVite 6.0 \u6b63\u5f0f\u53d1\u5e03\u548c\u00a0Rolldown \u6b63\u5f0f\u5f00\u6e90\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s7.51cto.com\/oss\/202503\/05\/e62dda465ef8d901a995153b8afc6fb329382d.webp\" data-type=\"block\" \/><\/p>\n<p>\uff08\u56fe\u8282\u9009\u81ea\u00a0https:\/\/tsh.io\/state-of-frontend\/#building-tools\u00a0\uff09<\/p>\n<p><strong>(2) Vite 6.0 \u6b63\u5f0f\u53d1\u5e03<\/strong><\/p>\n<p>2024 \u5e74 11 \u6708 26 \u65e5\uff0cVite 6.0 \u6b63\u5f0f\u53d1\u5e03\u3002Vite 6.0 \u5e26\u6765\u4e86\u5927\u91cf\u66f4\u65b0\u4e0e\u4f18\u5316\uff0c\u65e8\u5728\u7b80\u5316\u5f00\u53d1\u6d41\u7a0b\u3001\u63d0\u5347\u6027\u80fd\uff0c\u5e76\u89e3\u51b3\u73b0\u4ee3 Web \u5f00\u53d1\u4e2d\u7684\u8bf8\u591a\u6311\u6218\u3002\u65b0\u7279\u6027\u5305\u62ec\u5b9e\u9a8c\u6027\u73af\u5883 API\u3001\u6539\u8fdb\u7684 JSON \u5904\u7406\u3001HTML \u7684\u8d44\u4ea7\u5904\u7406\u6269\u5c55\u3001\u9ed8\u8ba4\u4f7f\u7528\u73b0\u4ee3 Sass API\u3001CSS \u8f93\u51fa\u6587\u4ef6\u540d\u53ef\u81ea\u5b9a\u4e49\u7b49\u3002\u5176\u4e2d\u65b0\u7684\u5b9e\u9a8c\u6027\u73af\u5883 API \u4f7f\u6846\u67b6\u4f5c\u8005\u80fd\u63d0\u4f9b\u66f4\u63a5\u8fd1\u751f\u4ea7\u7684\u5f00\u53d1\u4f53\u9a8c\uff0c\u540c\u65f6\u4fdd\u6301\u4e86\u5411\u540e\u517c\u5bb9\u6027\u3002\u5177\u4f53\u66f4\u8be6\u7ec6\u7684\u6539\u52a8\u4ecb\u7ecd\u8bf7\u53c2\u9605\u5b98\u65b9\u6587\u6863\u4ecb\u7ecd\u3002Vite 6.0 is out! | Vite \u5b98\u65b9\u4e2d\u6587\u6587\u6863<\/p>\n<p><strong>(3) Rolldown \u6b63\u5f0f\u5f00\u6e90<\/strong><\/p>\n<p>2024 \u5e74 3 \u6708 8 \u65e5\uff0cVue \u5b98\u65b9\u56e2\u961f\u5b98\u5ba3 Rolldown \u6b63\u5f0f\u5f00\u6e90\uff0c\u622a\u6b62\u81f3\u6587\u7ae0\u53d1\u5e03\u5df2\u83b7\u5f97 9.9k \u7684 star\uff0c\u7531\u6b64\u53ef\u89c1\u5176\u70ed\u5ea6\u4e4b\u9ad8\u3002\u76ee\u524d Vite \u5e95\u5c42\u4f9d\u8d56\u4e86\u4e24\u4e2a\u6253\u5305\u6784\u5efa\u5de5\u5177\uff0c\u4f7f\u7528 Esbuild \u8fdb\u884c\u4f9d\u8d56\u9884\u6253\u5305\uff0c\u4ee5\u53ca\u4f7f\u7528 Rollup \u4f5c\u4e3a\u751f\u4ea7\u73af\u5883\u7684\u6253\u5305\u5de5\u5177\u3002\u8fd9\u79cd\u53cc\u5de5\u5177\u7b56\u7565\u5728\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u63d0\u5347\u4e86\u6784\u5efa\u6548\u7387\uff0c\u4f46\u4e5f\u5e26\u6765\u4e86\u5f00\u53d1\u73af\u5883\u4e0e\u751f\u4ea7\u73af\u5883\u4e4b\u95f4\u7684\u4e00\u81f4\u6027\u95ee\u9898\u548c\u989d\u5916\u7684\u6027\u80fd\u5f00\u9500\u3002\u56e0\u6b64\uff0c\u6b63\u662f\u5728\u8fd9\u4e2a\u80cc\u666f\u4e0b\uff0cRolldown \u5e94\u8fd0\u800c\u751f\uff0c\u65e8\u5728\u89e3\u51b3\u8fd9\u4e9b\u95ee\u9898\uff0c\u901a\u8fc7\u63d0\u4f9b\u4e00\u4e2a\u5355\u4e00\u3001\u9ad8\u6548\u7684\u6253\u5305\u89e3\u51b3\u65b9\u6848\uff0c\u51cf\u5c11\u5f00\u53d1\u73af\u5883\u4e0e\u751f\u4ea7\u73af\u5883\u7684\u5dee\u5f02\uff0c\u63d0\u5347\u6574\u4f53\u6027\u80fd\u3002<\/p>\n<p>Rolldown \u4f7f\u7528 Rust \u8bed\u8a00\u7f16\u5199\uff0c\u5229\u7528\u5e76\u884c\u5904\u7406\u6280\u672f\uff0c\u63d0\u4f9b\u4e86\u6bd4\u73b0\u6709\u5de5\u5177\u66f4\u9ad8\u7684\u6027\u80fd\uff0c\u5728\u6346\u7ed1\u7eaf ESM \u6a21\u5757\u65f6\uff0cRolldown \u6bd4 esbuild \u5feb\u7ea6 1.4 \u5230 2 \u500d\u3002\u800c\u4e14\u66f4\u91cd\u8981\u7684\u662f\uff0cRolldown \u8bbe\u8ba1\u4e4b\u521d\u5c31\u8003\u8651\u5230\u4e86\u4e0e Rollup \u7684\u517c\u5bb9\u6027\uff0c\u8fd9\u610f\u5473\u7740\u73b0\u6709\u7684 Rollup \u63d2\u4ef6\u548c\u914d\u7f6e\u53ef\u4ee5\u65e0\u7f1d\u8fc1\u79fb\u5230 Rolldown\uff0c\u6781\u5927\u5730\u65b9\u4fbf\u4e86\u5f00\u53d1\u8005\u7684\u8fc7\u6e21\u548c\u4f7f\u7528\u3002\u56e0\u6b64\u53ef\u4ee5\u770b\u4f5c\u662f\u5177\u6709\u517c\u5bb9\u6027 API \u7684 Rust \u79fb\u690d\u7248 Rollup\uff0c\u80fd\u591f\u5728\u89e3\u51b3\u4e0a\u8ff0\u4e00\u81f4\u6027\u7684\u95ee\u9898\u7684\u540c\u65f6\uff0c\u63d0\u5347\u6253\u5305\u6784\u5efa\u7684\u6027\u80fd\u3002<\/p>\n<p>\u76ee\u524d Rolldown \u4ecd\u5904\u4e8e\u5f00\u53d1\u9636\u6bb5\uff0c\u5c1a\u672a\u8fbe\u5230\u751f\u4ea7\u73af\u5883\u7684\u4f7f\u7528\u6807\u51c6\uff0c\u800c\u4e14 Rolldown \u4e0e Vite \u7684\u6574\u5408\u9700\u8981\u5206\u9636\u6bb5\u8fdb\u884c\uff1a<\/p>\n<ul data-id=\"u738a58b-Zm9d36Tz\">\n<li data-id=\"ld70c578-9tRqIflt\">\u7b2c\u4e00\u9636\u6bb5\uff1a\u4e13\u6ce8\u4e8e\u6253\u5305\uff0c\u76ee\u6807\u662f\u80fd\u591f\u66ff\u4ee3 Esbuild \u8fdb\u884c\u4f9d\u8d56\u9884\u6253\u5305\uff1b<\/li>\n<li data-id=\"ld70c578-p0LZhfdg\">\u7b2c\u4e8c\u9636\u6bb5\uff1a\u5b9e\u73b0 Rollup \u529f\u80fd\u7684\u5bf9\u7b49\u6027\uff0c\u6700\u91cd\u8981\u7684\u662f\u4e0e Rollup \u63d2\u4ef6\u751f\u6001\u7cfb\u7edf\u7684\u517c\u5bb9\u6027\uff0c\u8fd8\u9700\u8981\u5b9e\u73b0 Tree-shaking \u548c\u9ad8\u7ea7\u5757\u5206\u5272\u63a7\u5236\uff0c\u76ee\u6807\u662f\u5728 Vite \u7684\u751f\u4ea7\u6784\u5efa\u4e2d\u80fd\u591f\u4f7f\u7528 Rolldown \u4ee3\u66ff Rollup\uff1b<\/li>\n<li data-id=\"ld70c578-Uq6D5La0\">\u7b2c\u4e09\u9636\u6bb5\uff1a\u9488\u5bf9\u4e00\u4e9b\u5185\u7f6e\u7684\u8f6c\u6362\uff0c\u4f8b\u5982 TypeScript\u3001JSX\u3001\u4ee3\u7801\u538b\u7f29\u548c\u57fa\u4e8e\u76ee\u6807\u6d4f\u89c8\u5668\u7684\u8bed\u6cd5\u964d\u7ea7\u7b49\u3002<\/li>\n<\/ul>\n<p>\u4e0d\u8fc7\u76f8\u4fe1\u5f53 Rolldown \u53d1\u5c55\u81f3\u6210\u719f\u9636\u6bb5\uff0c\u80fd\u591f\u4e3a Vite \u751a\u81f3\u5176\u4ed6\u524d\u7aef\u6253\u5305\u6784\u5efa\u5de5\u5177\u5e26\u6765\u65b0\u7684\u7a81\u7834\u3002<\/p>\n<p><strong>(4) RsBuild 1.1 \u6b63\u5f0f\u53d1\u5e03\uff1a\u6301\u7eed\u8fed\u4ee3\u4f18\u5316\u5f00\u53d1\u4f53\u9a8c\uff0c\u8ffd\u6c42\u6781\u81f4\u6027\u80fd<\/strong><\/p>\n<p>\u5728 2024 \u5e74\u671f\u95f4\uff0cRsBuild \u4ece v0.2 \u7248\u672c\u5347\u7ea7\u8fed\u4ee3\u81f3 v.1.1 \u7248\u672c\uff0c\u5176\u4e2d\u4f9d\u8d56\u7684 Rspack \u4e5f\u540c\u6837\u5347\u7ea7\u81f3 v1.1 \u7248\u672c\u3002\u76ee\u524d RsBuild \u6838\u5fc3\u529f\u80fd\u5df2\u7ecf\u7a33\u5b9a\uff0cnpm \u6bcf\u5929\u4e0b\u8f7d\u91cf\u8fbe\u5230 3w+\uff0c\u7b14\u8005\u6240\u5728\u56e2\u961f\u4e5f\u5df2\u7ecf\u5728\u751f\u4ea7\u73af\u5883\u4e0a\u4f7f\u7528\u4e86\uff0c\u5c06\u67d0\u9879\u76ee\u7684\u6784\u5efa\u6253\u5305\u8017\u65f6\u4ece 5 \u5206\u949f\u4ee5\u4e0a\u4f18\u5316\u5230\u4e86 1 \u5206\u949f\u5de6\u53f3\u3002RsBuild \u53ef\u4ee5\u8bf4\u662f\u524d\u7aef\u57fa\u5efa Rust \u8d8b\u52bf\u5316\u4e2d\u8f83\u4e3a\u7a81\u51fa\u7684\u9886\u8dd1\u8005\uff0c\u671f\u5f85\u540e\u7eed\u66f4\u4f18\u7684\u6027\u80fd\u548c\u517c\u5bb9\u6027\u3002\u63a5\u4e0b\u6765\u7b14\u8005\u4e5f\u5c06\u5e26\u9886\u5927\u5bb6\u7b80\u5355\u56de\u987e\u4e00\u4e0b 2024 \u5e74\u671f\u95f4\u53d1\u5e03\u7684\u6bd4\u8f83\u91cd\u8981\u7684\u65b0\u7279\u6027\uff0c\u82e5\u60f3\u4e86\u89e3\u66f4\u591a\u65b0\u7279\u6027\u8bf7\u53c2\u9605\u5b98\u65b9\u6587\u6863\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s8.51cto.com\/oss\/202503\/05\/472976a742c69291fc617384bfbde78ade2ffb.webp\" data-type=\"block\" \/><\/p>\n<p>\u2460\u00a0<strong>\u652f\u6301 Lightning CSS \u52a0\u901f CSS \u7f16\u8bd1<\/strong><\/p>\n<p>Rsbuild 0.5 \u65b0\u589e Lightning CSS\u3002Lightning CSS \u662f\u4e00\u4e2a\u57fa\u4e8e Rust \u7f16\u5199\u7684\u9ad8\u6027\u80fd CSS \u89e3\u6790\u3001\u8f6c\u8bd1\u548c\u538b\u7f29\u5de5\u5177\u3002\u5b83\u652f\u6301\u5c06\u8bb8\u591a\u73b0\u4ee3\u7684 CSS \u7279\u6027\u89e3\u6790\u5e76\u8f6c\u5316\u4e3a\u6307\u5b9a\u6d4f\u89c8\u5668\u652f\u6301\u7684\u8bed\u6cd5\uff0c\u5e76\u63d0\u4f9b\u66f4\u597d\u7684\u538b\u7f29\u6bd4\u4f8b\u3002\u4ece\u800c\u83b7\u5f97\u7684\u66f4\u4f18 CSS\u7f16\u8bd1\u6027\u80fd\uff0c\u5982\u5b98\u65b9\u6587\u6863\u6240\u8ff0\uff0c\u5728\u4e00\u4e2a\u771f\u5b9e\u7684\u5927\u578b Web \u5e94\u7528\u4e2d\uff0cCSS \u7f16\u8bd1\u8017\u65f6\u7531 8.4s \u964d\u4f4e\u5230 0.12s\uff0c\u63d0\u5347 70 \u500d\uff1b\u6574\u4f53\u6784\u5efa\u8017\u65f6\u7531 33.1s \u964d\u4f4e\u5230 25.4s\uff0c\u63d0\u5347 30%\u3002<\/p>\n<p>\u2461\u00a0<strong>\u63d0\u4f9b\u5168\u65b0 Transform API \u652f\u6301\u81ea\u5b9a\u4ee3\u7801\u8f6c\u6362\u529f\u80fd<\/strong><\/p>\n<p>\u4ece Rsbuild 0.6 \u5f00\u59cb\uff0cRsbuild \u63d2\u4ef6\u652f\u6301\u65b0\u7684 transform API\uff0c\u53ef\u4ee5\u770b\u4f5c\u662f Rspack loader \u7684\u4e00\u4e2a\u8f7b\u91cf\u5316\u5b9e\u73b0\uff0c\u5b83\u63d0\u4f9b\u4e86\u7b80\u5355\u6613\u7528\u7684 API\uff0c\u5e76\u5728\u5e95\u5c42\u81ea\u52a8\u8c03\u7528 Rspack loader \u8fdb\u884c\u4ee3\u7801\u8f6c\u6362\u3002\u5728 Rsbuild \u63d2\u4ef6\u4e2d\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7 api.transform \u5feb\u901f\u5b9e\u73b0\u4ee3\u7801\u8f6c\u6362\u529f\u80fd\uff0c\u80fd\u591f\u6ee1\u8db3\u5927\u90e8\u5206\u5e38\u89c1\u573a\u666f\uff0c\u4e0d\u8fc7\u5bf9\u4e8e\u590d\u6742\u7684\u4ee3\u7801\u8f6c\u6362\u573a\u666f\u53ef\u80fd\u65e0\u6cd5\u6ee1\u8db3\uff0c\u9700\u8981\u4f7f\u7528 Rspack loader api \u81ea\u884c\u5b9e\u73b0\u3002<\/p>\n<p><strong>\u2462 \u6027\u80fd\u4f18\u5316\u65b9\u9762<\/strong><\/p>\n<p>\u5728 Rsbuild 0.7 \u4e2d\uff0cSass \u7f16\u8bd1\u901f\u5ea6\u63d0\u9ad8\u4e86 3~10 \u500d\uff0c\u5728\u5927\u578b\u9879\u76ee\u9879\u76ee\u4e2d\u7684\u6027\u80fd\u63d0\u5347\u5c24\u4e3a\u663e\u8457\u3002\u800c\u5728 Rspack v1.1 \u4f18\u5316\u91c7\u7528\u4e86\u66f4\u4f73\u7684\u7ebf\u7a0b\u8c03\u5ea6\u7b56\u7565\uff0c\u5176\u7075\u611f\u6765\u81ea\u4e8e\u300a\u4f7f\u7528 Rust \u8bed\u8a00\u7684 Async Tokio \u8fd0\u884c\u65f6\u5904\u7406 CPU \u5bc6\u96c6\u578b\u4efb\u52a1\u300b\uff0c\u540c\u65f6 SWC \u4e5f\u4f18\u5316\u4e86\u5176\u5e76\u53d1\u652f\u6301\uff0c\u4ece\u800c\u80fd\u591f\u66f4\u9ad8\u6548\u5730\u8c03\u5ea6\u5f02\u6b65\u4efb\u52a1\uff0c\u76f8\u8f83\u4e8e 1.0 \u7248\u672c\u6027\u80fd\u63d0\u5347\u8fbe 10%\u3002\u5e76\u4e14\u901a\u8fc7\u5b9e\u73b0\u65b0\u7684\u589e\u91cf\u6784\u5efa\uff0c\u5f00\u542f\u540e\u53ef\u4f7f HMR \u6027\u80fd\u63d0\u5347\u9ad8\u8fbe 38%\u3002<\/p>\n<p><strong>(5) Rust Farm 1.0 \u6b63\u5f0f\u53d1\u5e03\uff1aRust \u65b0\u65f6\u4ee3\u6784\u5efa\u5de5\u5177<\/strong><\/p>\n<p>2024 \u5e74 4 \u6708 15 \u65e5\u57fa\u4e8e Rust \u8bed\u8a00\u7f16\u5199\u6253\u5305\u6784\u5efa\u5de5\u5177 Rust Fram \u6b63\u5f0f\u53d1\u5e03 v1.0 \u7248\u672c\u3002v1.0 \u7248\u672c\u652f\u6301\u591a\u7ebf\u7a0b\u5e76\u884c\u7f16\u8bd1\u3001\u61d2\u7f16\u8bd1\u3001\u5c40\u90e8\u6253\u5305\u3001\u63d2\u4ef6\u7cfb\u7edf\u7b49\u7279\u6027\uff0c\u800c\u4e14\u652f\u6301 React\u3001Vue\u3001Svelte \u7b49\u5e38\u7528\u6846\u67b6\uff0c\u7f16\u8bd1\u80fd\u529b\u7531\u63d2\u4ef6\u5b9e\u73b0\uff0c\u517c\u5bb9 Vite \u63d2\u4ef6\u751f\u6001\uff0c\u652f\u6301 Rust\u3001Js \u63d2\u4ef6\u3002\u5728\u6027\u80fd\u4e0a\uff0cFarm \u5728 benchmark \u6d4b\u8bd5\u4e2d\u6bd4 webpack \u5feb 20 \u500d\uff0c\u6bd4 Vite \u5feb 10 \u500d\uff0c\u5177\u6709\u6781\u81f4\u6027\u80fd\u548c\u517c\u5bb9\u6027\uff0c\u662f\u771f\u6b63\u610f\u4e49\u4e0a\u7684\u4e0b\u4e00\u4ee3\u6784\u5efa\u5f15\u64ce\u3002\u63a5\u4e0b\u6765\u7b14\u8005\u5c06\u9009\u62e9\u5176\u4e2d\u90e8\u5206\u7279\u6027\u8fdb\u884c\u7b80\u5355\u8bb2\u89e3\uff0c\u5177\u4f53\u66f4\u591a\u65b0\u7279\u6027\u7684\u60f3\u5199\u89e3\u8bfb\u53ef\u4ee5\u53c2\u9605\u5b98\u65b9\u6587\u7ae0\u3002<\/p>\n<p><strong>\u2460 \u6781\u81f4\u7684\u7f16\u8bd1\u6027\u80fd<\/strong><\/p>\n<p>\u4e3a\u4f55 Rust Farm \u80fd\u5982\u6b64\u4e4b\u5feb\uff1f\u9996\u5148\u6240\u6709\u7f16\u8bd1\u80fd\u529b\u5747\u7531 Rust \u5b9e\u73b0\uff0c\u5229\u7528 Rust \u9ad8\u6027\u80fd\u7684\u7b49\u7279\u6027\u652f\u6301\u591a\u7ebf\u7a0b\u7f16\u8bd1\uff0c\u5b9e\u73b0\u6beb\u79d2\u7ea7 HMR\uff1b\u5176\u6b21\u901a\u8fc7\u61d2\u7f16\u8bd1\u7684\u65b9\u5f0f\u5b9e\u73b0\u4ec5\u5728\u8d44\u6e90\u771f\u6b63\u9700\u8981\u88ab\u52a0\u8f7d\u7684\u65f6\u5019\u624d\u8fdb\u884c\u7f16\u8bd1\uff0c\u6781\u5927\u63d0\u5347\u9879\u76ee\u7684\u542f\u52a8\u901f\u5ea6\uff1b\u518d\u8005\u901a\u8fc7\u5c06\u6a21\u5757\u7ea7\u522b\u7684\u7f16\u8bd1\u4ea7\u7269\u8fdb\u884c\u6301\u4e45\u7f13\u5b58\u548c\u589e\u91cf\u6784\u5efa\uff0c\u5728\u652f\u6301 HMR \u7684\u540c\u65f6\u51cf\u5c11\u91cd\u590d\u7f16\u8bd1\u5e26\u6765\u7684\u6027\u80fd\u635f\u8017\u3002<\/p>\n<p><strong>\u2461 \u5c40\u90e8\u6253\u5305\uff08Partial Bundling\uff09\u63d0\u5347\u8fd0\u884c\u65f6\u6027\u80fd<\/strong><\/p>\n<p>\u76ee\u524d\u6253\u5305\u6784\u5efa\u5de5\u5177\u4e3b\u6d41\u7684\u6a21\u5757\u5904\u7406\u65b9\u5f0f\u4e3b\u8981\u6709\u5b8c\u5168\u6253\u5305\u548c\u539f\u751f ESM \u4e24\u79cd\u65b9\u5f0f\uff1a\u5b8c\u5168\u6253\u5305\u5c06\u6240\u6709\u5185\u5bb9\u6253\u5305\u5728\u4e00\u8d77\uff0c\u7136\u540e\u62c6\u5206\u51fa\u6765\u8fdb\u884c\u4f18\u5316\uff0c\u4f46\u62c6\u5206\u901a\u5e38\u96be\u4ee5\u914d\u7f6e\uff0c\u624b\u52a8\u5e73\u8861\u8d44\u6e90\u52a0\u8f7d\u6027\u80fd\u548c\u7f13\u5b58\u547d\u4e2d\u7387\u5f88\u96be\uff1b\u539f\u751f ESM \u5219\u662f\u6bcf\u4e2a\u6a21\u5757\u5355\u72ec\u7f16\u8bd1\u5f62\u6210\u6784\u5efa\u4ea7\u7269\uff0c\u652f\u6301\u66f4\u7ec6\u529b\u5ea6\u7684\u7f13\u5b58\uff0c\u4f46\u5f53\u9879\u76ee\u89c4\u6a21\u5927\u8d77\u6765\uff0c\u6709\u6570\u767e\u4e2a\u6216\u6570\u5343\u6a21\u5757\u8bf7\u6c42\u65f6\uff0c\u4f1a\u4e25\u91cd\u5f71\u54cd\u52a0\u8f7d\u6027\u80fd\u3002<\/p>\n<p>\u56e0\u6b64 Rust Farm \u901a\u8fc7\u8bbe\u8ba1\u4e86\u5c40\u90e8\u6253\u5305\uff08Partial Bundling\uff09\u7684\u6253\u5305\u7b97\u6cd5\u5728 bundle \u548c bundless \u4e4b\u95f4\u53d6\u5f97\u4e00\u4e2a\u5e73\u8861\u3002\u5c06\u6709\u4f9d\u8d56\u5173\u7cfb\u7684\u6570\u5343\u4e2a\u6a21\u5757\u8bf7\u6c42\u51cf\u5c11\u5230 20-30 \u4e2a\u8bf7\u6c42\uff0c\u907f\u514d\u5927\u91cf\u5e76\u53d1\u8bf7\u6c42\uff0c\u5e76\u4e14\u7531\u4e8e\u4f9d\u8d56\u5c42\u6b21\u7ed3\u6784\u800c\u5fc5\u987b\u6309\u7167\u62d3\u6251\u987a\u5e8f\u9010\u5c42\u52a0\u8f7d\u6a21\u5757\uff0c\u4ece\u800c\u52a0\u5feb\u8d44\u6e90\u7684\u52a0\u8f7d\uff1b\u5176\u6b21\u76f8\u5173\u6a21\u5757\u5c3d\u53ef\u80fd\u6253\u5305\u5230\u4e00\u8d77\uff0c\u51cf\u5c11\u6a21\u5757\u53d8\u66f4\u5e26\u6765\u7684\u6587\u4ef6\u53d8\u52a8\u5f71\u54cd\uff0c\u63d0\u9ad8\u8d44\u6e90\u7f13\u5b58\u547d\u4e2d\u7387\u3002<\/p>\n<p><strong>\u2462 \u603b\u7ed3<\/strong><\/p>\n<p>Rust Farm \u7684\u53d1\u5e03\u4e3a Web \u6784\u5efa\u9886\u57df\u5e26\u6765\u4e86\u65b0\u7684\u9009\u62e9\uff0c\u5176\u57fa\u4e8e Rust \u7684\u9ad8\u6027\u80fd\u7279\u6027\u4f7f\u5176\u5728\u5904\u7406\u5927\u578b\u9879\u76ee\u65f6\u5177\u6709\u663e\u8457\u4f18\u52bf\u3002Farm \u7684\u63d2\u4ef6\u5316\u8bbe\u8ba1\u548c\u5bf9 Vite \u63d2\u4ef6\u751f\u6001\u7684\u517c\u5bb9\u6027\uff0c\u4e5f\u4f7f\u5f97\u5f00\u53d1\u8005\u53ef\u4ee5\u66f4\u5bb9\u6613\u5730\u5c06\u5176\u96c6\u6210\u5230\u73b0\u6709\u7684\u5f00\u53d1\u6d41\u7a0b\u4e2d\uff0c\u63d0\u5347\u6784\u5efa\u6548\u7387\u548c\u6027\u80fd\u3002<\/p>\n<p><strong>(6) Oxlint 1.0 \u6b63\u5f0f\u53d1\u5e03\uff1aRust \u5316\u7248 Eslint<\/strong><\/p>\n<p>Oxlint \u662f\u4e00\u4e2a\u57fa\u4e8e Rust \u7f16\u5199\u7684 JavaScript linter\uff0c\u8bbe\u8ba1\u76ee\u6807\u662f\u65e0\u9700\u914d\u7f6e\u5373\u53ef\u5feb\u901f\u8bc6\u522b\u4ee3\u7801\u4e2d\u7684\u9519\u8bef\u6216\u65e0\u7528\u90e8\u5206\u3002\u5b83\u6bd4 ESLint \u5feb 50 \u5230 100 \u500d\uff0c\u4e3b\u8981\u5229\u7528 Rust \u8bed\u8a00\u548c\u5e76\u884c\u5904\u7406\u6280\u672f\u6765\u5b9e\u73b0\u9ad8\u6027\u80fd\u3002Oxlint \u7684\u6613\u7528\u6027\u4f53\u73b0\u5728\u96f6\u914d\u7f6e\u5f00\u7bb1\u5373\u7528\uff0c\u751a\u81f3\u4e0d\u9700\u8981 Node.js \u73af\u5883\uff0c\u4e14\u63d0\u4f9b\u4e86\u589e\u5f3a\u7684\u8bca\u65ad\u80fd\u529b\uff0c\u7b80\u5316\u4e86\u7406\u89e3 linter \u6d88\u606f\u7684\u8fc7\u7a0b\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s2.51cto.com\/oss\/202503\/05\/a3a78fb413f20eaaab6104caa9a7dd90f1a699.webp\" data-type=\"block\" \/><\/p>\n<p>\u90a3\u4e48 Oxint \u51fa\u73b0\u662f\u5426\u4f1a\u53d6\u4ee3 EsLint\uff1f\u7b14\u8005\u8ba4\u4e3a\uff0cOxlint \u7684\u51fa\u73b0\u5bf9 ESLint \u6784\u6210\u4e86\u6311\u6218\uff0c\u5176\u5728\u6267\u884c\u901f\u5ea6\u4e0a\u7684\u5de8\u5927\u4f18\u52bf\u4f7f\u5176\u5728\u5927\u578b\u9879\u76ee\u548c\u9ad8\u6548\u7387\u8981\u6c42\u7684\u573a\u666f\u4e2d\u66f4\u5177\u5438\u5f15\u529b\u3002\u7136\u800c\uff0cESLint \u62e5\u6709\u6210\u719f\u7684\u751f\u6001\u7cfb\u7edf\u548c\u4e30\u5bcc\u7684\u63d2\u4ef6\u652f\u6301\uff0c\u8fd9\u662f Oxlint \u76ee\u524d\u65e0\u6cd5\u6bd4\u62df\u7684\u3002\u4e0d\u8fc7\uff0c\u4ece Oxlint \u5b98\u65b9\u8d1f\u8d23\u4eba\u8868\u660e\uff0c\u73b0\u9636\u6bb5 Oxlint \u5e76\u4e0d\u6253\u7b97\u5b8c\u5168\u53d6\u4ee3 ESlint\uff0c\u53ef\u4ee5\u8003\u8651\u5728 ESLint \u7684\u7f13\u6162\u6210\u4e3a\u5de5\u4f5c\u6d41\u7a0b\u7684\u74f6\u9888\u65f6\uff0c\u4f5c\u4e3a\u589e\u5f3a\u529f\u80fd\u7684\u8865\u5145\u3002<\/p>\n<p><strong>(7) Biome \u8363\u83b7 JavaScript \u5de5\u5177\u699c\u5355\u660e\u661f\u9879\u76ee<\/strong><\/p>\n<p>\u5728 2024 \u5e74\u7684 JavaScript \u660e\u661f\u9879\u76ee\u699c\u5355\u4e2d\uff0cBiome \u8363\u83b7\u524d\u7aef\u5de5\u5177\u699c\u5355\u7684\u660e\u661f\u9879\u76ee\u3002Biome \u662f\u4ec0\u4e48\uff1fBiome \u662f\u57fa\u4e8e Rust \u8bed\u8a00\u4e00\u4e2a\u4ee3\u7801\u5feb\u901f\u683c\u5f0f\u5316\u5de5\u5177\uff0c\u9002\u7528\u4e8e JavaScript\u3001TypeScript\u3001JSX\u3001JSON\u3001CSS \u548c GraphQL \u7b49\u8bed\u8a00\uff0c\u4e0e Prettier \u6709\u9ad8\u8fbe 97% \u7684\u517c\u5bb9\u8986\u76d6\u7387\u3002\u6b64\u5916\uff0c\u5b83\u8fd8\u662f\u4e00\u4e2a lint \u5de5\u5177\uff0c\u53ef\u4ee5\u8f93\u51fa\u66f4\u8be6\u7ec6\u66f4\u53cb\u597d\u7684\u9519\u8bef\u63d0\u793a\uff0c\u5e2e\u52a9\u5f00\u53d1\u8005\u5feb\u901f\u5b9a\u4f4d\u548c\u89e3\u51b3\u95ee\u9898\u3002\u5177\u4f53\u66f4\u8be6\u7ec6\u7684\u4ecb\u7ecd\u53ef\u4ee5\u53c2\u8003\u5b98\u65b9\u6587\u6863\uff1a<a href=\"https:\/\/biomejs.dev\/zh-cn\/\" target=\"_blank\" rel=\"noopener\">Biome<\/a>\uff0c<a href=\"https:\/\/biomejs.dev\/zh-cn\/\" target=\"_blank\" rel=\"noopener\">Web \u5de5\u5177\u94fe<\/a><\/p>\n<p>Biome \u7684\u8eab\u4e16\u6765\u6e90\u4e8e Prettier \u4f5c\u8005 1 \u4e07\u7f8e\u91d1\u60ac\u8d4f\u5f00\u53d1\u4e00\u4e2a\u57fa\u4e8e Rust \u8bed\u8a00\u7684\u4ee3\u7801\u683c\u5f0f\u5316\u7a0b\u5e8f\uff0c\u8981\u6c42\u8be5\u7a0b\u5e8f\u80fd\u591f\u901a\u8fc7 Prettier 95% \u4ee5\u4e0a\u7684\u5355\u5143\u6d4b\u8bd5\uff0c\u6700\u7ec8\u7531 Biome \u56e2\u961f\u53d1\u5e03\u7684 Biome v1.4 \u7248\u672c\u8d62\u5f97\u4e86\u8be5\u5956\u9879\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s8.51cto.com\/oss\/202503\/05\/779d78f630f697154eb95847fa7e520250d1e1.webp\" data-type=\"block\" \/><\/p>\n<p>\uff08\u56fe\u6765\u6e90\u4e8e\u00a0https:\/\/risingstars.js.org\/2024\/en#section-all\u00a0\uff09<\/p>\n<p>\u800c 2024 \u5e74\u671f\u95f4 Biome \u603b\u5171\u53d1\u5e03\u4e86 4 \u4e2a\u7248\u672c\uff08v1.6 -&gt; v1.9\uff09\uff0c\u80fd\u5728 JavaScript \u660e\u661f\u9879\u76ee\u5de5\u5177\u699c\u5355\u4e2d\u8131\u9896\u800c\u51fa\uff0c\u7b14\u8005\u8ba4\u4e3a\u53ef\u80fd\u6709\u4ee5\u4e0b\u4e24\u70b9\u539f\u56e0\uff1a<\/p>\n<ul data-id=\"u738a58b-r7IcGFCV\">\n<li data-id=\"ld70c578-B6riKeot\">\u524d\u7aef Rust \u5316\u6f6e\u6d41\u548c\u4f4e\u6210\u672c\u8fc1\u79fb\uff1aBiome \u57fa\u4e8e\u9ad8\u6027\u80fd Rust \u8bed\u8a00\u8fdb\u884c\u7f16\u5199\uff0c\u76f8\u8f83\u4e8e Eslint\u3001Prettier \u7684\u901f\u5ea6\u66f4\u5feb\uff0c\u800c\u4e14\u80fd\u591f\u901a\u8fc7\u547d\u4ee4\u7684\u65b9\u5f0f\u5feb\u901f\u8f7b\u677e\u4ece Eslint\u3001Prettier \u8fdb\u884c\u8fc1\u79fb\u3002<\/li>\n<li data-id=\"ld70c578-Mr5qaEBE\">\u6587\u4ef6\u9002\u914d\u517c\u5bb9\u66f4\u5168\u9762\uff1a\u65b0\u589e\u4e86\u5bf9 CSS\u3001GraphQL \u7684\u683c\u5f0f\u5316\u548c lint \u7684\u5b8c\u5168\u652f\u6301\uff0c\u4ee5\u53ca\u5bf9 Astro\u3001Svelte\u3001Vue \u6587\u4ef6\u683c\u5f0f\u5316\u548c lint \u7684\u90e8\u5206\u652f\u6301\u3002<\/li>\n<\/ul>\n<h4>4. JavaScript \u8fd0\u884c\u65f6\uff1aNode.js \u4ecd\u65e7\u4e3a\u738b\uff0c\u65b0\u7684\u6311\u6218\u8005 WinterJs \u817e\u7a7a\u51fa\u4e16<\/h4>\n<p>2024 \u5e74\uff0cNode.js \u7531\u4e8e\u65e9\u5e74\u5728 JavaScript \u6253\u4e0b\u7684\u7a33\u56fa\u6c5f\u5c71\uff08\u8d77\u6b65\u65e9\u6240\u5e26\u6765\u7684\u751f\u6001\u5b8c\u6574\u7684\u7ea2\u5229\uff09\uff0c\u4f9d\u65e7\u5750\u7a33 JavaScript \u8fd0\u884c\u65f6\u7684\u738b\u4f4d\u3002Bun \u548c Deno \u8fd1\u4e9b\u5e74\u4e5f\u5728\u6301\u7eed\u5b8c\u5584\uff0c\u4f46\u662f\u76ee\u524d\u4efb\u4f55\u57fa\u4e8e JavaScript \u8bed\u8a00\u7684\u5de5\u5177\u94fe\uff0c\u90fd\u65e0\u6cd5\u56de\u907f Node.js \u8fd9\u4e9b\u5e74\u6784\u5efa\u7684\u751f\u6001\u73af\u5883\uff0c\u56e0\u6b64\u4eca\u5e74\u90fd\u5728 Node.js \u517c\u5bb9\u6027\u65b9\u9762\u505a\u51fa\u4e86\u8bf8\u591a\u52aa\u529b\u3002\u6b64\u5916\u503c\u5f97\u6211\u4eec\u5173\u6ce8\u7684\u662f\uff0c\u65b0\u7684 JavaScript \u8fd0\u884c\u65f6\u6311\u6218\u8005 WinterJs \u5728\u4eca\u5e74\u817e\u7a7a\u51fa\u4e16\u3002\u63a5\u4e0b\u6765\u5c31\u8ba9\u6211\u4eec\u770b\u770b 2024 \u5e74\u671f\u95f4\u8fd9\u56db\u5927 JavaScript \u8fd0\u884c\u65f6\u7a76\u7adf\u4f1a\u78b0\u649e\u51fa\u4ec0\u4e48\u6837\u7684\u706b\u82b1\u5427\u3002<\/p>\n<p><strong>(1) Node.js \u6301\u7eed\u5b8c\u5584\u5f00\u53d1\u8005\u4f53\u9a8c\uff1aCommonJS \u5df2\u5f00\u59cb\u6e10\u6e10\u5e73\u6ed1\u8fc7\u6e21\u81f3 ESM<\/strong><\/p>\n<p>\u5728 2024 \u5e74\u671f\u95f4 Node.js \u5b98\u65b9\u603b\u5171\u53d1\u5e03\u4e86 22\u300123 \u4e24\u4e2a\u5927\u7248\u672c\uff0c\u7b14\u8005\u5c06\u4ecb\u7ecd\u4e00\u4e0b\u5bf9\u524d\u7aef\u5f00\u53d1\u8005\u6bd4\u8f83\u6709\u610f\u4e49\u6216\u9700\u8981\u5173\u6ce8\u7684\u4e00\u4e9b\u65b0\u7279\u6027\uff0c\u5bf9\u5176\u4f59\u65b0\u7279\u6027\u611f\u5174\u8da3\u7684\u8bfb\u8005\u53ef\u4ee5\u53c2\u8003\u5b98\u65b9\u53d1\u5e03\u6587\u6863\u3002<\/p>\n<ul data-id=\"u738a58b-CrkpbtZm\">\n<li data-id=\"ld70c578-wwGtAGz4\">Node.js \u2014 Node.js 22 is now available!<\/li>\n<li data-id=\"ld70c578-QBaCtFb8\">Node.js \u2014 Node v23.0.0 (Current)<\/li>\n<\/ul>\n<p><strong>\u2460 \u5b8c\u5584\u539f\u751f ESM \u7684\u4f7f\u7528\u4f53\u9a8c<\/strong><\/p>\n<p>\u5728 Node 22 \u7248\u672c\u4ee5\u524d\uff0cCommonJS \u4e0e ESM \u7684\u5bfc\u5165\u90fd\u662f\u4e0d\u4e00\u81f4\u7684\u3002\u5728 CommonJS \u4e2d\uff0c\u4f7f\u7528 module.exports \u5bfc\u51fa\u6a21\u5757\u548c require() \u5bfc\u5165\u6a21\u5757\uff1b\u5728 ESM \u4e2d\uff0c\u4f7f\u7528 export \u5bfc\u51fa\u6a21\u5feb\u548c import \u5bfc\u5165\u6a21\u5757\u3002\u800c\u5728 Node 22 \u7248\u672c\u4e2d\u652f\u6301\u4e86 require \u5bfc\u5165 ESM \u6a21\u5757\uff0c\u5e76\u5728 Node 23 \u7248\u672c\u4e2d\u9ed8\u8ba4\u542f\u7528\uff0c\u6d88\u9664\u4e86\u9700\u8981\u6dfb\u52a0\u5b9e\u9a8c\u6807\u8bc6\u7684\u8981\u6c42\u3002\u8fd9\u4e00\u5957\u7ec4\u5408\u62f3\u80fd\u591f\u8ba9\u539f\u6765\u4f7f\u7528 CommonJS \u7684\u8001\u9879\u76ee\u53ef\u4ee5\u5e73\u6ed1\u5730\u8fc1\u79fb\u8fc7\u6e21\u81f3 ESM\u3002<\/p>\n<div>\n<div class=\"hljs-cto\">\n<div class=\"hljs-cto\"><button class=\"copy_btn disable\" data-clipboard-target=\"#code_id_11\">\u590d\u5236<\/button><\/p>\n<div class=\"code-toolbar\">\n<pre class=\"has-pre-numbering language-javascript\" tabindex=\"0\"><code class=\"language-javascript\"><span class=\"token comment\">\/\/ main.js<\/span>\r\n<span class=\"token keyword\">const<\/span> required <span class=\"token operator\">=<\/span> <span class=\"token function\">require<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">'.\/point.mjs'<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span>\r\n<span class=\"token comment\">\/\/ [Module: null prototype] {<\/span>\r\n<span class=\"token comment\">\/\/   default: [class Point],<\/span>\r\n<span class=\"token comment\">\/\/   distance: [Function: distance]<\/span>\r\n<span class=\"token comment\">\/\/ }<\/span>\r\nconsole<span class=\"token punctuation\">.<\/span><span class=\"token function\">log<\/span><span class=\"token punctuation\">(<\/span>required<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span>\r\n\r\n<span class=\"token punctuation\">(<\/span><span class=\"token keyword\">async<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">=&gt;<\/span> <span class=\"token punctuation\">{<\/span>\r\n  <span class=\"token keyword\">const<\/span> imported <span class=\"token operator\">=<\/span> <span class=\"token keyword\">await<\/span> <span class=\"token keyword\">import<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">'.\/point.mjs'<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span>\r\n  console<span class=\"token punctuation\">.<\/span><span class=\"token function\">log<\/span><span class=\"token punctuation\">(<\/span>imported <span class=\"token operator\">===<\/span> required<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span>  <span class=\"token comment\">\/\/ true<\/span>\r\n<span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/code><\/pre>\n<ul id=\"code_id_11\" class=\"pre-numbering\">\n<li>1.<\/li>\n<li>2.<\/li>\n<li>3.<\/li>\n<li>4.<\/li>\n<li>5.<\/li>\n<li>6.<\/li>\n<li>7.<\/li>\n<li>8.<\/li>\n<li>9.<\/li>\n<li>10.<\/li>\n<li>11.<\/li>\n<li>12.<\/li>\n<\/ul>\n<div class=\"toolbar\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>\u4e0d\u8fc7\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u53ea\u6709\u5b8c\u5168\u540c\u6b65\u7684 ESM \u624d\u80fd\u88ab require \u5bfc\u5165\uff0c\u5982\u679c ESM \u6587\u4ef6\u5305\u542b\u9876\u7ea7 await \u65e0\u6cd5\u88ab\u8fd9\u79cd\u65b9\u5f0f\u52a0\u8f7d\u3002<\/p>\n<p><strong>\u2461 \u652f\u6301 TypeScript<\/strong><\/p>\n<p>Node.js 23 \u5f15\u5165\u5bf9\u539f\u751f TypeScript \u7684\u652f\u6301\uff0c\u5141\u8bb8\u5f00\u53d1\u8005\u65e0\u9700 tsc \u7f16\u8bd1\u76f4\u63a5\u8fd0\u884c TypeScript \u6587\u4ef6\uff0c\u8fd9\u5bf9\u4e8e TypeScript \u5f00\u53d1\u8005\u800c\u8a00\u65e0\u7591\u662f\u4e00\u4e2a\u798f\u97f3\uff0c\u4e5f\u8fdb\u4e00\u6b65\u5370\u8bc1\u4e86 JavaScript \u5f00\u53d1\u8005\u62e5\u62b1\u66f4\u5177\u7c7b\u578b\u5b89\u5168\u6027\u7684 TypeScript \u5df2\u662f\u5927\u52bf\u6240\u8d8b\u3002\u4e0d\u8fc7\u76ee\u524d\u8be5\u7279\u65b0\u4ecd\u7136\u662f\u5b9e\u9a8c\u6027\u7279\u6027\uff0c\u9700\u8981\u4f7f\u7528 &#8211;experimental-strip-types\u3002<\/p>\n<p>https:\/\/github.com\/nodejs\/node\/pull\/55536<\/p>\n<p>\u6027\u80fd\u4e0e\u517c\u5bb9\u6027\u4e0a\u7684\u6539\u52a8\uff1a<\/p>\n<ul data-id=\"u738a58b-kt6dJcTf\">\n<li data-id=\"ld70c578-UPOAKJM0\">Node.js 23 \u4e0d\u518d\u652f\u6301 Windows 32 \u4f4d\u3002<\/li>\n<li data-id=\"ld70c578-YDnOJKud\">Node.js 23 \u4f18\u5316\u4e86\u7f13\u51b2\u533a\u548c\u6587\u4ef6\u64cd\u4f5c\u7684\u6027\u80fd\uff0c\u5982 Buffer.concat \u548c Buffer.copy \u6bd4 Node.js 22 \u5feb\u591a\u8fbe15%\uff1b\u4f7f\u7528 fs.readFile \u548c fs.writeFile \u7684\u6587\u4ef6 I\/O \u64cd\u4f5c\u7531\u4e8e\u5185\u90e8\u5904\u7406\u4f18\u5316\u5ef6\u8fdf\u51cf\u5c11\u591a\u8fbe10%\u3002<\/li>\n<li data-id=\"ld70c578-2jG2HtGy\">Node.js 23 \u5347\u7ea7\u4e86 V8 JavaScript \u5f15\u64ce\uff08\u7248\u672c11.7\uff09\uff0c\u6267\u884c\u6027\u80fd\u548c\u5185\u5b58\u7ba1\u7406\u4e0a\u66f4\u4f18\u3002<\/li>\n<\/ul>\n<p><strong>(2) WinterJS\uff1a\u53c8\u4e00\u8ffd\u6c42\u6781\u81f4\u6027\u80fd\u7684\u524d\u7aef\u8fd0\u884c\u65f6\u6311\u6218\u8005<\/strong><\/p>\n<p>WinterJS \u662f\u57fa\u4e8e Rust \u7f16\u5199\uff0c\u517c\u5bb9 WinterCG \u7684 JavaScript \u8fd0\u884c\u65f6\uff0c\u4f7f\u7528 SpiderMonkey \u5f15\u64ce\u6267\u884c JavaScript\uff0c\u5e76\u4f7f\u7528 Tokio \u5904\u7406\u5e95\u5c42 HTTP \u8bf7\u6c42\u548c JS \u4e8b\u4ef6\u5faa\u73af\u3002WinterJS \u8fd0\u884c\u65f6\u4e5f\u53ef\u4ee5\u7f16\u8bd1\u4e3a WebAssembly\uff0c\u56e0\u6b64\u4e5f\u662f\u7b2c\u4e00\u4e2a\u5b8c\u5168\u53ef\u5728 Wasmer Edge \u4e2d\u8fd0\u884c\u7684\u751f\u4ea7\u7ea7\u8fd0\u884c\u65f6\u3002WinterJS \u9664\u4e86\u517c\u5bb9 WinterCG \u5168\u5957 API \u5916\uff0c\u4e5f\u5b8c\u5168\u652f\u6301 Next.js\u3001Nuxt\u3001Remix\u3001Astro\u3001Svelte \u7b49\u4e3b\u6d41 Web \u6846\u67b6\u3002\u7b14\u8005\u6b64\u5904\u4ec5\u7b80\u5355\u4ecb\u7ecd\u5176\u90e8\u5206\u7279\u70b9\uff0c\u5bf9\u5176\u4f59\u7279\u6027\u611f\u5174\u8da3\u7684\u8bfb\u8005\u53ef\u4ee5\u53c2\u8003\u5b98\u7f51\u6587\u6863\u4ecb\u7ecd\uff1aWinterJS 1.0 \u00b7 Blog \u00b7 Wasmer\u3002<\/p>\n<p><strong>\u2460 \u57fa\u4e8e WinterCG \u7edf\u4e00\u7684\u524d\u7aef\u8fd0\u884c\u65f6\u89c4\u8303<\/strong><\/p>\n<p>WinterJS \u662f\u7b2c\u4e00\u4e2a\u9075\u5faa WinterCG \u8fd0\u884c\u65f6\u89c4\u8303\u7684\uff0c\u56e0\u6b64\u6211\u4eec\u6709\u5fc5\u8981\u5148\u7b80\u5355\u8ba4\u8bc6\u4e00\u4e0b WinterCG\u3002WinterCG \u662f\u4e00\u4e2a Web \u524d\u7aef\u8fd0\u884c\u65f6\u793e\u533a\u7ec4\uff0c\u4ee3\u8868\u4e86\u5728\u8fd0\u884c\u65f6\u793e\u533a\u4e2d\u5efa\u7acb\u6807\u51c6\u57fa\u7840\u7684\u5c1d\u8bd5\u3002WinterCG \u7684\u76ee\u6807\u662f\u8ba9\u670d\u52a1\u5668\u7aef JavaScript \u4ee3\u7801\u5728\u6240\u6709\u4e0d\u540c\u7684\u8fd0\u884c\u65f6\uff08\u5305\u62ec Node\u3001Deno\u3001Cloudflare Workers\u3001Bun\u3001LRT \u548c WinterJS\uff09\u4e2d\u65e0\u7f1d\u5de5\u4f5c\u3002\u7b80\u800c\u8a00\u4e4b\uff0cWinterCG \u65e8\u5728\u6807\u51c6\u5316\u8fd0\u884c\u65f6\uff0c\u4ee5\u4fbf JavaScript \u4ee3\u7801\u65e0\u8bba\u4f7f\u7528\u54ea\u79cd\u8fd0\u884c\u65f6\u90fd\u80fd\u6b63\u5e38\u5de5\u4f5c\u5e76\u4e14\u770b\u8d77\u6765\u76f8\u540c\u3002<\/p>\n<p><strong>\u2461 \u62e5\u6709\u5353\u8d8a\u7684\u6027\u80fd<\/strong><\/p>\n<p>\u5f97\u76ca\u4e8e Rust \u8bed\u8a00\u548c SpiderMonkey \u5f15\u64ce\uff0c WinterJS \u5177\u6709\u975e\u5e38\u4f18\u5f02\u7684\u6027\u80fd\uff0c\u4ece\u5b98\u65b9\u6587\u6863\u7684\u63cf\u8ff0\u4e2d\u53ef\u5f97\u77e5\uff0c\u5728\u672c\u673a\u6267\u884c\u65f6\u80fd\u591f\u6bcf\u79d2\u5904\u7406 150k \u8bf7\u6c42\uff08\u4f7f\u7528WASIX\u7f16\u8bd1\u4e3a Wasm \u65f6\u6bcf\u79d2\u80fd\u591f\u5904\u7406 20k \u8bf7\u6c42\uff09\uff0c\u6bd4 Bun\u3001WorkerD \u548c Node.js \u90fd\u8981\u591a\u3002\u800c\u4e14 Rust \u7684\u5185\u5b58\u5b89\u5168\u6027\u6709\u6548\u51cf\u5c11\u5176\u5728\u957f\u65f6\u95f4\u8fd0\u884c\u7684\u8fc7\u7a0b\u4e2d\u56e0\u5185\u5b58\u6cc4\u9732\u7b49\u539f\u56e0\u800c\u5bfc\u81f4\u5d29\u6e83\u95ee\u9898\uff0c\u66f4\u52a0\u9002\u7528\u4e8e\u9700\u8981\u5904\u7406\u5927\u91cf\u5e76\u53d1\u8bf7\u6c42\u548c\u6570\u636e\u7684 Web \u5e94\u7528\u573a\u666f\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s5.51cto.com\/oss\/202503\/05\/d4077be18525f9e147c936641c18f53e5a8ca8.webp\" data-type=\"block\" \/><\/p>\n<p><strong>(3) Bun\uff1a\u8ffd\u6c42\u6781\u81f4\u6027\u80fd\uff0c\u5b8c\u5584\u517c\u5bb9\u6027\u4ecd\u65e7\u662f\u9996\u8981\u4efb\u52a1<\/strong><\/p>\n<p>\u66fe\u8fde\u7eed\u4e24\u5e74\u767b\u9876 JavaScript \u660e\u661f\u9879\u76ee\u7684 Bun\uff0c\u5728 2024 \u5e74JavaScript \u660e\u661f\u9879\u76ee\u699c\u5355\u4e2d\u4e5f\u83b7\u5f97\u4e86\u5de5\u5177\u699c\u7b2c\u4e8c\u540d\u7684\u597d\u6210\u7ee9\uff0c\u8bc1\u660e Bun \u7684\u53d1\u5c55\u8fd8\u662f\u6df1\u53d7\u524d\u7aef\u5f00\u53d1\u8005\u6240\u5173\u6ce8\u7684\u3002\u5728 2024 \u5e74\u5230 2025 \u5e74\u5e74\u521d\uff0cBun \u4e00\u5171\u53d1\u5e03\u4e86 2 \u4e2a\u7248\u672c\uff08v1.1\/ v.1.2\uff09\uff0c\u9664\u4e86\u5728\u591a\u4e2a\u65b9\u9762\u90fd\u5b9e\u73b0\u4e86\u663e\u8457\u7684\u6027\u80fd\u63d0\u5347\uff0c\u8fd8\u5927\u5e45\u5ea6\u63d0\u5347\u4e86\u4e0e Node.js \u7684\u517c\u5bb9\u6027\uff0c\u800c\u4e14\u5728 JavaScript \u6253\u5305\u65b9\u9762\u4e5f\u5728\u6301\u7eed\u5b8c\u5584\uff0c\u53ef\u4ee5\u770b\u51fa Bun \u6210\u4e3a\u5168\u80fd\u5de5\u5177\u5305\u7684\u91ce\u5fc3\uff0c\u5176\u4ed6\u66f4\u52a0\u8be6\u7ec6\u4ecb\u7ecd\u53ef\u4ee5\u53c2\u8003\u5b98\u65b9\u53d1\u5e03\u65e5\u5fd7\u3002<\/p>\n<p>Bun 1.1 | Bun Blog<\/p>\n<p>Bun 1.2 | Bun Blog<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s2.51cto.com\/oss\/202503\/05\/510391f68f2ada7e83f0111994569b23230de4.webp\" data-type=\"block\" \/><\/p>\n<p>\u5728\u8fd9\u4e24\u6b21\u7248\u672c\u7684\u91cd\u5927\u66f4\u65b0\u4e2d\uff0c\u7b14\u8005\u8ba4\u4e3a\u503c\u5f97\u5173\u6ce8\u7684\u4e3b\u8981\u6709\u4ee5\u4e0b\u4e09\u70b9\uff1a<\/p>\n<ul data-id=\"u738a58b-e7ilUXFP\">\n<li data-id=\"ld70c578-TXh2rNp2\">Node.js \u517c\u5bb9\u6027\u6709\u4e86\u663e\u8457\u63d0\u5347\uff0c\u4f46\u662f\u8ddd\u79bb\u5b8c\u5168\u517c\u5bb9\u8fd8\u662f\u5b58\u5728\u4e00\u5b9a\u8ddd\u79bb\u3002\u56e0\u4e3a\u6210\u4e3a Node.js \u7684\u76f4\u63a5\u66ff\u4ee3\u54c1\u662f Bun \u7684\u6838\u5fc3\u76ee\u6807\u4e4b\u4e00\uff0c\u6240\u4ee5\u53ef\u4ee5\u63a8\u6d4b\u540e\u7eed\u517c\u5bb9 Node.js \u4ecd\u7136\u662f Bun \u9996\u8981\u4efb\u52a1\u4e4b\u4e00\u3002<\/li>\n<li data-id=\"ld70c578-YImATLH1\">Bun \u76ee\u524d\u5df2\u652f\u6301\u5728 Windows 10 \u4ee5\u53ca\u66f4\u9ad8\u7248\u672c\u4e2d\u8fd0\u884c\uff0cWindows \u4e0a\u7684 Bun \u5df2\u901a\u8fc7\u4e86\u5728 macOS \u548c Linux \u4e0a\u7684\u6d4b\u8bd5\u5957\u4ef6\u7684 98%\uff0c\u8fd9\u610f\u5473\u7740\u5176\u8fd0\u884c\u65f6\u3001\u5305\u7ba1\u7406\u5668\u7b49\u529f\u80fd\u5747\u53ef\u4ee5\u5728 Windows \u4e0a\u987a\u5229\u8fd0\u884c\uff0c\u8fd9\u53ef\u4ee5\u8bf4\u662f\u4e00\u4e2a\u91cc\u7a0b\u7891\u5f0f\u7684\u7a81\u7834\uff0c\u5927\u5927\u62d3\u5bbd\u4e86 Bun \u7684\u53ef\u7528\u573a\u666f\u3002<\/li>\n<li data-id=\"ld70c578-PiZJsA2W\">Bun \u5728 JavaScript \u8fd0\u884c\u65f6\u3001\u6587\u4ef6\u64cd\u4f5c\u3001JSON \u89e3\u6790\u7b49\u65b9\u9762\u90fd\u6709\u663e\u8457\u7684\u6027\u80fd\u63d0\u5347\u3002<\/li>\n<\/ul>\n<p><strong>(4) Deno\uff1a\u5168\u9762\u62e5\u62b1\u517c\u5bb9 Node.js \u548c npm \u751f\u6001<\/strong><\/p>\n<p>2024 \u5e74 Deno \u53d1\u5e03 2.0 \u7248\u672c\uff0c\u867d\u7136 Deno \u8fd1\u4e9b\u5e74\u4e00\u81f4\u5728\u8fdb\u6b65\uff0c\u4f46\u662f\u4f9d\u65e7\u662f\u65e0\u6cd5\u56de\u907f Node.js \u8d77\u6b65\u65e9\u6240\u6784\u5efa\u7684\u5b8c\u6574\u800c\u5f3a\u5927\u7684\u751f\u6001\u7cfb\u7edf\uff0c\u56e0\u6b64\u5728\u672c\u6b21\u5927\u7248\u672c\u66f4\u65b0\u4e2d\u5176\u6700\u4e3b\u8981\u7684\u53d8\u66f4\u662f\u5168\u9762\u62e5\u62b1\u4e86 Node.js \u548c npm \u7684\u751f\u6001\uff0c\u8fd9\u610f\u5473\u7740 Node.js \u9879\u76ee\u53ef\u4ee5\u5e73\u6ed1\u5730\u8fc1\u79fb\u5e76\u8fd0\u884c\u5728 Deno\uff0c\u5e76\u4e14\u652f\u6301\u4f7f\u7528 Deno \u63d0\u4f9b\u7684\u5404\u79cd\u9ad8\u6548\u7684\u5de5\u5177\uff0c\u5982\u4ee3\u7801\u683c\u5f0f\u5316\u5de5\u5177 deno fmt\u3002\u6b64\u5916\uff0cDeno 2.0 \u8fd8\u539f\u751f\u652f\u6301\u4e86 package.json \u548c node_modules\uff0c\u63d0\u4f9b\u4e86\u4e0e npm \u4f7f\u7528\u4f53\u9a8c\u4e00\u81f4\u7684\u5305\u7ba1\u7406\u547d\u4ee4\uff0c\u5982 deno install\u3001deno add \u7b49\u3002\u5982\u679c\u5bf9 Deno 2.0 \u5176\u4f59\u6539\u52a8\u70b9\u611f\u5174\u8da3\u7684\u8bfb\u8005\uff0c\u53ef\u4ee5\u53c2\u9605\u5b98\u65b9\u6587\u6863\uff0c\u7b14\u8005\u5728\u6b64\u5904\u5c31\u4e0d\u518d\u8d58\u8ff0\u4e86\u3002<\/p>\n<p>Announcing Deno 2<\/p>\n<h4>5. Chrome \u6d4f\u89c8\u5668\uff1a\u5927\u6a21\u578b\u63a5\u5165\u4e0e\u65b0\u7279\u6027\u52a9\u529b\u5f00\u53d1\u8005\u4f53\u9a8c\u4f18\u5316<\/h4>\n<p>\u5728 2024 \u5e74\u671f\u95f4\uff0cChrome \u5185\u6838\u4ece 121 \u7248\u672c\u66f4\u65b0\u5230\u4e86\u6700\u65b0\u7684 132 \u7248\u672c\uff08\u622a\u6b62\u7b14\u8005\u7edf\u8ba1\u65f6\u95f4\uff09\u3002\u5176\u4e2d\u6709\u4e0d\u5c11\u4ee4\u524d\u7aef\u5f00\u53d1\u8005\u5728\u5de5\u4f5c\u4e0a\u4f7f\u7528\u66f4\u4fbf\u6377\u7684\u80fd\u529b\u3002\u4e00\u8d77\u6765\u770b\u770b\uff0c\u6709\u6ca1\u6709\u4ee4\u4f60\u5174\u594b\u7684\u529f\u80fd\u5427\u3002<\/p>\n<p><strong>(1) Gemini \u5927\u6a21\u578b\u7684\u5f15\u5165<\/strong><\/p>\n<p>Chrome \u901a\u8fc7\u6574\u5408 AI \u6a21\u578b\uff0c\u5982 Gemini Nano\uff0c\u5141\u8bb8\u5728\u672c\u5730\u6267\u884c AI \u4efb\u52a1\uff0c\u907f\u514d\u4e86\u4f9d\u8d56\u670d\u52a1\u5668\u7aef\u7684\u95ee\u9898\uff0c\u63d0\u9ad8\u4e86\u9690\u79c1\u4fdd\u62a4\u548c\u6267\u884c\u6548\u7387\u3002\u5185\u5efa AI \u652f\u6301\u786c\u4ef6\u52a0\u901f\uff0c\u4f18\u5316\u4e86\u6027\u80fd\uff0c\u5e76\u63d0\u4f9b\u4e86\u591a\u79cd API \u652f\u6301\u4e0d\u540c\u7684 AI \u529f\u80fd\uff0c\u5177\u4f53\u53ef\u4ee5\u53c2\u8003\u00a0Gemini-api \u5b98\u65b9\u6587\u6863\u3002\u6b64\u5916\uff0cChrome Devtools \u4e5f\u5df2\u7ecf\u63a5\u5165\u672c\u5730\u6a21\u578b Gemini\uff0c\u652f\u6301\u5728\u63a7\u5236\u53f0\u91cc\u4f7f\u7528 Gemini AI \u5206\u6790\u9519\u8bef\u548c\u8b66\u544a\uff0c\u5e2e\u52a9\u5f00\u53d1\u8005\u66f4\u9ad8\u6548\u5730\u8c03\u8bd5\u548c\u4fee\u590d\u95ee\u9898\u3002\u4e0d\u8fc7\u9057\u61be\u7684\u662f\uff0c\u8fd9\u4e2a\u529f\u80fd\u5728\u5927\u9646\u548c\u9999\u6e2f\u5730\u533a\u76ee\u524d\u8fd8\u4e0d\u652f\u6301\uff0c\u76f8\u4fe1\u5728\u4e0d\u8fdc\u7684\u5c06\u6765\u4e5f\u4f1a\u5f00\u653e\u8fd9\u4e2a\u529f\u80fd\u3002<\/p>\n<p><strong>\u2460 \u4f7f\u7528 Gemini \u8c03\u8bd5 CSS<\/strong><\/p>\n<p>Chrome \u5f00\u53d1\u8005\u5de5\u5177\u65b0\u589e\u4e86\u5b9e\u9a8c\u6027 AI \u5e2e\u52a9\u9762\u677f\uff0c\u60a8\u53ef\u4ee5\u5728\u5176\u4e2d\u4e0e Gemini \u804a\u5929\uff0c\u5e76\u83b7\u5f97 CSS \u8c03\u8bd5\u65b9\u9762\u7684\u5e2e\u52a9\u3002\u5728\u5143\u7d20\u9762\u677f\u4e2d\uff0c\u53f3\u952e\u70b9\u51fb\u67d0\u4e2a\u5143\u7d20\uff0c\u7136\u540e\u9009\u62e9\u8be2\u95ee AI\uff0c\u6216\u70b9\u51fb\u8be5\u5143\u7d20\u65c1\u8fb9\u7684\u76f8\u5e94\u6309\u94ae\u3002\u5f00\u53d1\u8005\u5de5\u5177\u968f\u5373\u4f1a\u6253\u5f00\u65b0\u7684 AI \u8f85\u52a9\u9762\u677f\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s9.51cto.com\/oss\/202503\/05\/326118b09a611a49de5807ea8284e7f18435bf.webp\" data-type=\"block\" \/><\/p>\n<p>\u5f00\u53d1\u8005\u53ef\u4ee5\u5728\u65b0\u6253\u5f00\u7684 AI \u8f85\u52a9\u9762\u677f\uff0c\u8f93\u5165\u5e76\u8be2\u95ee\u6709\u8be5\u5143\u7d20\u6709\u5173\u7684\u95ee\u9898\u3002\u5982\u9700\u8be6\u7ec6\u4e86\u89e3\u5982\u4f55\u6700\u4f73\u5730\u4f7f\u7528\u65b0\u9762\u677f\uff0c\u8bf7\u53c2\u9605\u5e76\u67e5\u770b\u5b98\u7f51\u6587\u6863\u7528\u4e8e\u6837\u5f0f\u7684 AI \u534f\u52a9\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s4.51cto.com\/oss\/202503\/05\/1675c4436055564bcde3338db66d2e62d2f857.webp\" data-type=\"block\" \/><\/p>\n<p><strong>\u2461 \u4f7f\u7528 Gemini \u5206\u6790\u63a7\u5236\u53f0\u4fe1\u606f<\/strong><\/p>\n<p>\u6b64\u5916\uff0cGemini \u4e5f\u53ef\u4ee5\u7528\u4e8e\u5206\u6790\u63a7\u5236\u53f0\u62a5\u9519\u4fe1\u606f\uff0c\u5e2e\u52a9\u5f00\u53d1\u8005\u5b9a\u4f4d\u548c\u5206\u6790\u95ee\u9898\u3002\u5f53\u5f00\u542f Gemini \u529f\u80fd\u540e\uff0c\u9f20\u6807\u60ac\u6d6e\u5728\u63a7\u5236\u53f0\u62a5\u9519\u4fe1\u606f\u4e0a\uff0c\u4f1a\u5728\u53f3\u4e0a\u89d2\u663e\u793a\u51fa\u4e00\u4e2a\u6309\u94ae\uff0c\u70b9\u51fb\u540e Gemini \u4fbf\u4f1a\u63a7\u5236\u53f0\u62a5\u9519\u4fe1\u606f\u8fdb\u884c\u5206\u6790\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s2.51cto.com\/oss\/202503\/05\/b1a058192d5303c16e450721ee33f24170cf5a.webp\" data-type=\"block\" \/><\/p>\n<p>\u5e76\u5728\u63a7\u5236\u53f0\u4e2d\u53ef\u4ee5\u67e5\u770b\u5230 Gemini \u5bf9\u9519\u8bef\u4fe1\u606f\u7684\u5206\u6790\u60c5\u51b5\uff0c\u5305\u62ec\u5206\u6790\u539f\u56e0\u548c\u89e3\u51b3\u63aa\u65bd\u7b49\uff0c\u5177\u4f53\u53ef\u4ee5\u67e5\u9605\u5b98\u65b9\u6587\u6863\u7406\u89e3\u63a7\u5236\u53f0\u4fe1\u606f\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s4.51cto.com\/oss\/202503\/05\/337c9311086720b5fef018a1b46051a2b24091.webp\" data-type=\"block\" \/><\/p>\n<p><strong>(2) \u951a\u70b9\u5b9a\u4f4d\uff08position-anchor\uff09<\/strong><\/p>\n<p>\u76ee\u524d Chrome 125 \u7248\u672c\u5df2\u7ecf\u6b63\u5f0f\u652f\u6301\u00a0CSS \u951a\u70b9\u5b9a\u4f4d\u3002\u4f7f\u7528\u951a\u70b9\u5b9a\u4f4d\uff0c\u4ec5\u9700\u8981\u51e0\u884c CSS \u4ee3\u7801\uff0c\u5373\u53ef\u5b9e\u73b0\u5c06\u7edd\u5bf9\u5b9a\u4f4d\u5143\u7d20\u951a\u5b9a\u81f3\u4e00\u4e2a\u6216\u591a\u4e2a\u951a\u70b9\u5143\u7d20\u7684\u6548\u679c\uff0c\u5e76\u53ef\u4ee5\u968f\u7740\u951a\u70b9\u5143\u7d20\u7684\u79fb\u52a8\u800c\u79fb\u52a8\u3002\u63a5\u4e0b\u6765\u5c06\u7b80\u5355\u4ecb\u7ecd\u4e00\u4e0b\u951a\u70b9\u5b9a\u4f4d\u7684\u7528\u6cd5\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s7.51cto.com\/oss\/202503\/05\/26e622e01622ffa24935658fa1ccbf1396dfb4.webp\" data-type=\"block\" \/><\/p>\n<p><strong>\u2460 \u5355\u951a\u70b9\u5143\u7d20<\/strong><\/p>\n<p>\u5f53\u5c06\u4e00\u4e2a\u5143\u7d20\u8bbe\u7f6e\u5176\u951a\u5b9a\u81f3\u4e00\u4e2a\u951a\u70b9\u5143\u7d20\u65f6\uff0c\u672c\u8d28\u4e0a\u548c\u7edd\u5bf9\u5b9a\u4f4d\u5dee\u4e0d\u591a\uff0c\u4e0d\u8fc7\u5b9e\u73b0\u4e0a\u66f4\u52a0\u7b80\u6d01\uff0c\u901a\u5e38\u9002\u7528\u5728\u5f39\u51fa\u6846\u6216\u8005\u6d6e\u5c42\u7684\u573a\u666f\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s9.51cto.com\/oss\/202503\/05\/19b8f1634a74a16ef51673bf8e6ff7bc06d09a.webp\" data-type=\"block\" \/><\/p>\n<p><img decoding=\"async\" title=\"\u56fe\u7247\" src=\"https:\/\/s4.51cto.com\/oss\/202503\/05\/c42868a264f9794276733309c85f2823ccfe0e.webp\" alt=\"\u56fe\u7247\" data-type=\"inline\" \/><\/p>\n<div>\n<div class=\"hljs-cto\">\n<div class=\"hljs-cto\"><button class=\"copy_btn disable\" data-clipboard-target=\"#code_id_12\">\u590d\u5236<\/button><\/p>\n<div class=\"code-toolbar\">\n<pre class=\"has-pre-numbering language-javascript\" tabindex=\"0\"><code class=\"language-javascript\"><span class=\"token punctuation\">.<\/span>popup <span class=\"token punctuation\">{<\/span>\r\n    <span class=\"token literal-property property\">position<\/span><span class=\"token operator\">:<\/span> absolute<span class=\"token punctuation\">;<\/span>\r\n    position<span class=\"token operator\">-<\/span>anchor<span class=\"token operator\">:<\/span> <span class=\"token operator\">--<\/span>anchor<span class=\"token operator\">-<\/span>el<span class=\"token punctuation\">;<\/span>   \r\n    <span class=\"token comment\">\/** \u8868\u793a\u5f39\u51fa\u5c42\u5b9a\u4f4d\u53f3\u4fa7\uff08right edge\uff09\u951a\u5b9a\u81f3\u951a\u5b9a\u5143\u7d20\u7684\u53f3\u4fa7\uff08anchor right\uff09 *\/<\/span>\r\n    <span class=\"token literal-property property\">right<\/span><span class=\"token operator\">:<\/span> <span class=\"token function\">anchor<\/span><span class=\"token punctuation\">(<\/span>right<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span>\r\n    <span class=\"token comment\">\/** \u8868\u793a\u5f39\u51fa\u5c42\u5b9a\u4f4d\u53f3\u4fa7\uff08bottom edge\uff09\u951a\u5b9a\u81f3\u951a\u5b9a\u5143\u7d20\u7684\u53f3\u4fa7\uff08anchor top\uff09 *\/<\/span>\r\n    <span class=\"token literal-property property\">bottom<\/span><span class=\"token operator\">:<\/span> <span class=\"token function\">anchor<\/span><span class=\"token punctuation\">(<\/span>top<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span>\r\n<span class=\"token punctuation\">}<\/span><\/code><\/pre>\n<ul id=\"code_id_12\" class=\"pre-numbering\">\n<li>1.<\/li>\n<li>2.<\/li>\n<li>3.<\/li>\n<li>4.<\/li>\n<li>5.<\/li>\n<li>6.<\/li>\n<li>7.<\/li>\n<li>8.<\/li>\n<\/ul>\n<div class=\"toolbar\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>\u951a\u70b9\u5b9a\u4f4d\u57fa\u4e8e CSS \u7edd\u5bf9\u5b9a\u4f4d\uff0c\u56e0\u6b64\u9700\u8981\u58f0\u660e position: absolute\uff0c\u540e\u7eed\u901a\u8fc7 anchor() \u51fd\u6570\u8bbe\u7f6e\u5bf9\u5e94\u5b9a\u4f4d\u503c\uff0c\u7528\u4e8e\u5c06\u5143\u7d20 A \u7684\u5b9a\u4f4d\u503c\u8bbe\u7f6e\u4e3a\u5bf9\u5e94\u951a\u70b9\u5143\u7d20\u7684\u951a\u5b9a\u4f4d\u7f6e\u503c\uff0c\u951a\u5b9a\u7684\u4f4d\u7f6e\u503c\u5177\u4f53\u53ef\u53c2\u8003\u4e0b\u56fe\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s4.51cto.com\/oss\/202503\/05\/232bad028d6c415a42e041e70a59c0224ae67e.webp\" data-type=\"block\" \/><\/p>\n<p><strong>\u2461 \u591a\u4e2a\u951a\u70b9\u5143\u7d20<\/strong><\/p>\n<p>\u9664\u4e86\u4e0a\u8ff0\u63d0\u53ca\u7684\u951a\u5b9a\u81f3\u5355\u4e2a\u951a\u70b9\u5143\u7d20\u5916\uff0c\u951a\u70b9\u5b9a\u4f4d\u8fd8\u652f\u6301\u951a\u5b9a\u81f3\u591a\u4e2a\u951a\u70b9\u5143\u7d20\uff0c\u951a\u70b9\u5b9a\u4f4d\u7684\u5143\u7d20\u7684\u5bbd\u9ad8\u53ef\u4ee5\u6839\u636e\u951a\u5b9a\u5143\u7d20\u7684\u4f4d\u7f6e\u52a8\u6001\u53d8\u5316\uff0c\u8fd9\u662f\u4ee5\u524d\u4ec5\u901a\u8fc7 CSS \u7edd\u5bf9\u5b9a\u4f4d\u96be\u4ee5\u5b9e\u73b0\u7684\u529f\u80fd\uff0c\u901a\u5e38\u9700\u8981\u7ed3\u5408 JS\u3002<\/p>\n<p><img data-dominant-color=\"dbecf3\" data-has-transparency=\"false\" style=\"--dominant-color: #dbecf3;\" loading=\"lazy\" decoding=\"async\" class=\"not-transparent alignnone size-full wp-image-24912\" src=\"https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2025\/03\/47f62743707946ec4ca04592b8b7987acfd71a.gif\" width=\"1080\" height=\"659\" \/><\/p>\n<div>\n<div class=\"hljs-cto\">\n<div class=\"hljs-cto\"><button class=\"copy_btn disable\" data-clipboard-target=\"#code_id_13\">\u590d\u5236<\/button><\/p>\n<div class=\"code-toolbar\">\n<pre class=\"has-pre-numbering language-javascript\" tabindex=\"0\"><code class=\"language-javascript\"><span class=\"token punctuation\">.<\/span>anchor<span class=\"token operator\">-<\/span>el<span class=\"token operator\">-<\/span><span class=\"token number\">1<\/span> <span class=\"token punctuation\">{<\/span>\r\n  anchor<span class=\"token operator\">-<\/span>name<span class=\"token operator\">:<\/span> <span class=\"token operator\">--<\/span>one<span class=\"token punctuation\">;<\/span>\r\n<span class=\"token punctuation\">}<\/span>\r\n\r\n<span class=\"token punctuation\">.<\/span>anchor<span class=\"token operator\">-<\/span>el<span class=\"token operator\">-<\/span><span class=\"token number\">2<\/span> <span class=\"token punctuation\">{<\/span>\r\n  anchor<span class=\"token operator\">-<\/span>name<span class=\"token operator\">:<\/span> <span class=\"token operator\">--<\/span>two<span class=\"token punctuation\">;<\/span>\r\n<span class=\"token punctuation\">}<\/span>\r\n\r\n<span class=\"token punctuation\">.<\/span>anchored <span class=\"token punctuation\">{<\/span>\r\n  <span class=\"token literal-property property\">position<\/span><span class=\"token operator\">:<\/span> absolute<span class=\"token punctuation\">;<\/span>\r\n  <span class=\"token literal-property property\">top<\/span><span class=\"token operator\">:<\/span> <span class=\"token function\">anchor<\/span><span class=\"token punctuation\">(<\/span><span class=\"token operator\">--<\/span>one bottom<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span>\r\n  <span class=\"token literal-property property\">left<\/span><span class=\"token operator\">:<\/span> <span class=\"token function\">anchor<\/span><span class=\"token punctuation\">(<\/span><span class=\"token operator\">--<\/span>one right<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span>\r\n  <span class=\"token literal-property property\">right<\/span><span class=\"token operator\">:<\/span> <span class=\"token function\">anchor<\/span><span class=\"token punctuation\">(<\/span><span class=\"token operator\">--<\/span>two left<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span>\r\n  <span class=\"token literal-property property\">bottom<\/span><span class=\"token operator\">:<\/span> <span class=\"token function\">anchor<\/span><span class=\"token punctuation\">(<\/span><span class=\"token operator\">--<\/span>two top<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span>\r\n<span class=\"token punctuation\">}<\/span><\/code><\/pre>\n<ul id=\"code_id_13\" class=\"pre-numbering\">\n<li>1.<\/li>\n<li>2.<\/li>\n<li>3.<\/li>\n<li>4.<\/li>\n<li>5.<\/li>\n<li>6.<\/li>\n<li>7.<\/li>\n<li>8.<\/li>\n<li>9.<\/li>\n<li>10.<\/li>\n<li>11.<\/li>\n<li>12.<\/li>\n<li>13.<\/li>\n<li>14.<\/li>\n<li>15.<\/li>\n<\/ul>\n<div class=\"toolbar\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><strong>(3) inset-area \u5e03\u5c40\u5b9a\u4f4d<\/strong><\/p>\n<p>\u5728\u65b0\u7248\u672c Chrome \u4e2d\u8fd8\u5305\u542b\u4e00\u4e2a\u65b0\u7684\u5e03\u5c40\u673a\u5236\uff0c\u79f0\u4e3a\u5185\u5d4c\u533a\u57df\u3002\u8be5\u673a\u5236\u5df2\u4f5c\u4e3a\u951a\u70b9\u5b9a\u4f4d API \u7684\u4e00\u90e8\u5206\u8fdb\u884c\u53d1\u5e03\u3002\u7b80\u800c\u8a00\u4e4b\uff0c\u5185\u5d4c\u533a\u57df\u662f\u4e00\u4e2a\u4ee5\u951a\u5b9a\u5143\u7d20\u4e3a\u4e2d\u5fc3\u7684\u4e5d\u5bab\u683c\u5e03\u5c40\uff0c\u6309\u7167\u6392\u5217\u7ec4\u5408\uff0c\u603b\u5171\u6709 20 \u4e0d\u540c\u7684\u5e03\u5c40\uff0c\u5982\u4e0b\u56fe\u6240\u793a\uff0c\u5177\u4f53\u4f53\u9a8c\u53ef PC \u7aef\u8bbf\u95ee\u5982\u4e0b\u94fe\u63a5\u00a0Anchor position tool\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s8.51cto.com\/oss\/202503\/05\/d7db881293ec32cb56116743f86ae33333cd72.webp\" data-type=\"block\" \/><\/p>\n<p>\u7b80\u800c\u8a00\u4e4b\uff0c\u5c31\u662f\u63d0\u4f9b\u4e86\u4e00\u4e2d\u66f4\u52a0\u7b80\u6d01\u4e14\u7075\u6d3b\u7684\u951a\u70b9\u5b9a\u4f4d\u8bbe\u7f6e\u65b9\u5f0f\uff0c\u4f8b\u5982\u4e0a\u8ff0\u7684\u951a\u5b9a\u81f3\u5355\u4e2a\u951a\u70b9\u5143\u7d20\u7684\u4f8b\u5b50\u53ef\u4ee5\u7b80\u5199\u6210\u5982\u4e0b\uff1a<\/p>\n<div>\n<div class=\"hljs-cto\">\n<div class=\"hljs-cto\"><button class=\"copy_btn disable\" data-clipboard-target=\"#code_id_14\">\u590d\u5236<\/button><\/p>\n<div class=\"code-toolbar\">\n<pre class=\"has-pre-numbering language-javascript\" tabindex=\"0\"><code class=\"language-javascript\"><span class=\"token punctuation\">.<\/span>popup <span class=\"token punctuation\">{<\/span>\r\n    <span class=\"token literal-property property\">position<\/span><span class=\"token operator\">:<\/span> absolute<span class=\"token punctuation\">;<\/span>\r\n    position<span class=\"token operator\">-<\/span>anchor<span class=\"token operator\">:<\/span> <span class=\"token operator\">--<\/span>anchor<span class=\"token operator\">-<\/span>el<span class=\"token punctuation\">;<\/span>    \r\n    position<span class=\"token operator\">-<\/span>area<span class=\"token operator\">:<\/span> top span<span class=\"token operator\">-<\/span>left<span class=\"token punctuation\">;<\/span>\r\n<span class=\"token punctuation\">}<\/span><\/code><\/pre>\n<ul id=\"code_id_14\" class=\"pre-numbering\">\n<li>1.<\/li>\n<li>2.<\/li>\n<li>3.<\/li>\n<li>4.<\/li>\n<li>5.<\/li>\n<\/ul>\n<div class=\"toolbar\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>\u6b64\u5916\uff0c\u951a\u70b9\u5b9a\u4f4d\u7528\u6cd5\u4e2d\u8fd8\u6709\u901a\u8fc7 anchor-size \u8bbe\u7f6e\u5143\u7d20\u5927\u5c0f\u3001\u901a\u8fc7 position-visibility \u63a7\u5236\u663e\u9690\u3001\u901a\u8fc7 @position-try \u8c03\u6574\u951a\u5b9a\u4f4d\u7f6e\u7b49\u62d3\u5c55\u7528\u6cd5\uff0c\u611f\u5174\u8da3\u7684\u8bfb\u8005\u53ef\u4ee5\u53c2\u8003\u5982\u4e0b\u6587\u7ae0\uff0c\u6b64\u5904\u7b14\u8005\u4fbf\u4e0d\u518d\u8d58\u8ff0\u4e86\u3002<\/p>\n<p>https:\/\/developer.chrome.com\/blog\/anchor-positioning-api?hl=zh-cn#size_elements_with_anchor-size<\/p>\n<p><strong>(4) Web SQL \u5df2\u88ab\u5b8c\u5168\u5f03\u7528<\/strong><\/p>\n<p>Web SQL \u5728Chrome\u6d4f\u89c8\u5668\u4e2d\u9010\u6b65\u88ab\u5f03\u7528\u5e76\u79fb\u9664\uff0c\u4ece Chromium 97 \u5f00\u59cb\uff0c\u76f4\u81f3\u5b8c\u5168\u4e0d\u652f\u6301\u4e8e Chromium 123\u3002Web SQL \u7684\u5f03\u7528\u539f\u56e0\u5305\u62ec\u53ef\u6301\u7eed\u6027\u548c\u5b89\u5168\u95ee\u9898\u3001API \u8bbe\u8ba1\u95ee\u9898\u4ee5\u53ca\u7f3a\u5c11\u5b9e\u73b0\u8005\u652f\u6301\u3002\u4f5c\u4e3a\u66ff\u4ee3\uff0c\u5efa\u8bae\u4f7f\u7528 WebAssembly \u7f16\u8bd1\u7684 SQLite \u6216\u5176\u4ed6 Web \u5b58\u50a8 API \u5982 IndexedDB\u3002\u6b64\u5916\uff0c\u5f00\u53d1\u8005\u793e\u533a\u73b0\u53ef\u5229\u7528\u65b0\u6280\u672f\u5982 Wasm \u548c\u6587\u4ef6\u7cfb\u7edf\u8bbf\u95ee\u53e5\u67c4\uff0c\u5f00\u53d1\u66f4\u7075\u6d3b\u7684\u5b58\u50a8\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n<p><strong>(5) DevTools \u4f18\u5316\u5347\u7ea7<\/strong><\/p>\n<p>\u5728 2024 \u5e74\u671f\u95f4\uff0cChrome DevTools \u4e5f\u968f\u7740 Chrome \u7248\u672c\u7684\u5347\u7ea7\u800c\u5347\u7ea7\uff0c\u603b\u5171\u53d1\u5e03\u7ea6\u53d1\u5e03 13 \u4e2a\u7248\u672c\uff08120 \u2192 132\uff09\u3002\u4ece Chorme \u5b98\u65b9\u53d1\u5e03\u7684\u66f4\u65b0\u65e5\u5fd7\u4e0a\u770b\uff0cDevTools \u4e3b\u8981\u662f\u56f4\u7ed5\u6027\u80fd\u9762\u677f\uff08Performance\uff09\u3001\u5c5e\u6027\u9762\u677f\uff08Elements\uff09\u00a0\u548c\u00a0Gemini \u5927\u6a21\u578b\u63a5\u5165\u4e09\u4e2a\u65b9\u9762\u5347\u7ea7\u8fed\u4ee3\u5c45\u591a\uff0c\u7b14\u8005\u6b64\u5904\u4ec5\u7b80\u5355\u4ecb\u7ecd\u90e8\u5206\u6539\u52a8\uff0c\u5982\u679c\u5927\u5bb6\u60f3\u4e86\u89e3\u66f4\u591a\u66f4\u65b0\u7ec6\u8282\u53ef\u4ee5\u53c2\u9605\u5b98\u65b9\u65e5\u5fd7\uff0c\u6b64\u5904\u4e0d\u518d\u8d58\u8ff0\u3002<\/p>\n<p>https:\/\/developer.chrome.com\/blog\/new-in-devtools-132#ai-assistance<\/p>\n<p>\u6027\u80fd\u9762\u677f\u7684\u5347\u7ea7\u4f18\u5316\uff08\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\u4ee5\u4e0b\uff09\uff1a<\/p>\n<p>\u6027\u80fd\u9762\u677f\u652f\u6301\u901a\u8fc7 Ctrl \/ Cmd + F \u5feb\u6377\u952e\u67e5\u627e\u7f51\u7edc\u8bf7\u6c42\u8d44\u6e90\uff0c\u4fbf\u4e8e\u5f00\u53d1\u8005\u5feb\u901f\u67e5\u627e\u5bf9\u5e94\u8d44\u6e90\u52a0\u8f7d\u60c5\u51b5\u5e76\u8fdb\u884c\u5206\u6790\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s2.51cto.com\/oss\/202503\/05\/e6a535f9374615845b1578ed6cced9920f4313.webp\" data-type=\"block\" \/><\/p>\n<p>\u6027\u80fd\u9762\u677f\u652f\u6301\u67e5\u770b JavaScript \u8c03\u7528\u7684\u5806\u6808\u8f68\u8ff9\uff0c\u5305\u62ec\u5f02\u6b65\u8c03\u7528\uff0c\u65e0\u9700\u8df3\u8f6c\u518d\u81f3 Network \u9762\u677f\u8fdb\u884c\u67e5\u770b\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s3.51cto.com\/oss\/202503\/05\/f61f73a321a8d024a1f626c60fdb8fe1f8fc80.webp\" data-type=\"block\" \/><\/p>\n<p>\u5c5e\u6027\u9762\u677f\u7684\u5347\u7ea7\u4f18\u5316\uff08\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\u4ee5\u4e0b\uff09\uff1a<\/p>\n<p>\u5c5e\u6027\u9762\u677f\u652f\u6301\u5f3a\u5236\u542f\u7528\u66f4\u591a\u7684\u4f2a\u7c7b\u5143\u7d20\uff0c\u4fbf\u4e8e\u66f4\u597d\u5730\u8c03\u8bd5\u4f2a\u7c7b\u6837\u5f0f\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s7.51cto.com\/oss\/202503\/05\/b4ff59b32402cdc4635176802855d6c80d30b2.webp\" data-type=\"block\" \/><\/p>\n<h4>6. AI\uff1a\u5927\u6a21\u578b\u767e\u82b1\u9f50\u653e\u5f15\u9886\u6280\u672f\u65b0\u9769\u547d<\/h4>\n<p>2024 \u5e74\uff0cAI \u5927\u6a21\u578b\u8fce\u6765\u55b7\u6d8c\u5f0f\u53d1\u5c55\uff0c\u5404\u5bb6\u5927\u6a21\u578b\u767e\u82b1\u9f50\u653e\uff0c\u591a\u6a21\u6001\u878d\u5408\u4e0e\u8de8\u9886\u57df\u534f\u540c\u6210\u4e3a\u6838\u5fc3\u8d8b\u52bf\uff0c\u63a8\u52a8\u4eba\u673a\u534f\u4f5c\u8fc8\u5411\u65b0\u9ad8\u5ea6\u3002\u4e2d\u56fd\u540e\u8d77\u4e4b\u79c0DeepSeek \u4ee5\u5f00\u6e90\u6a21\u578b DeepSeek-R1 \u5b9e\u73b0\u7a81\u7834\uff0c\u5f15\u9886\u5927\u6a21\u578b\u63a8\u7406\u80fd\u529b\u9769\u65b0\u3002\u5927\u6a21\u578b\u5f15\u9886\u4e86\u6280\u672f\u65b0\u9769\u547d\u7684\u540c\u65f6\uff0c\u4e5f\u5df2\u7ecf\u6210\u4e3a\u6211\u4eec\u751f\u6d3b\u4e2d\u4e0d\u53ef\u6216\u7f3a\u7684\u90e8\u5206\u4e86\u3002\u63a5\u4e0b\u6765\u5c31\u8ba9\u6211\u4eec\u770b\u770b 2024 \u5e74\u5927\u6a21\u578b\u9886\u57df\u6709\u54ea\u4e9b\u53e6\u5916\u503c\u5f97\u5173\u6ce8\u7684\u8fdb\u5c55\u8be6\u60c5\u5427\u3002<\/p>\n<p><strong>(1) AI Agent\uff0c\u4f60\u7684\u81ea\u4e3b\u611f\u77e5\u3001\u51b3\u7b56\u548c\u6267\u884c\u4efb\u52a1\u7684\u667a\u80fd\u7cfb\u7edf<\/strong><\/p>\n<p>AI Agent \u662f\u8fd1\u671f\u4eba\u5de5\u667a\u80fd\u9886\u57df\u6700\u70ed\u95e8\u7684\u53d1\u5c55\u65b9\u5411\u4e4b\u4e00\uff0c\u5b83\u662f\u4e00\u4e2a\u80fd\u591f\u81ea\u4e3b\u611f\u77e5\u3001\u51b3\u7b56\u548c\u6267\u884c\u4efb\u52a1\u7684\u667a\u80fd\u7cfb\u7edf\u3002\u5176\u6838\u5fc3\u539f\u7406\u57fa\u4e8e\u00a0ReAct\uff08\u63a8\u7406-\u884c\u52a8\uff09\u8303\u5f0f\uff0c\u901a\u8fc7\u5de5\u5177\u5b66\u4e60\u548c\u8c03\u7528\u80fd\u529b\uff0c\u4ee5\u53ca\u5f3a\u5927\u7684\u4efb\u52a1\u89c4\u5212\u80fd\u529b\u6765\u5b8c\u6210\u590d\u6742\u76ee\u6807\u3002\u76ee\u524d\u5e02\u9762\u4e0a\u8f83\u4e3a\u77e5\u540d\u7684\u5b9e\u73b0\u5305\u62ec AutoGPT\u3001BabyAGI \u548c\u57fa\u4e8e LangChain \u7684\u5e94\u7528\u7b49\u3002\u8fd9\u4e9b Agent \u5728\u4e2a\u4eba\u52a9\u7406\u3001\u7f16\u7a0b\u5f00\u53d1\u3001\u6570\u636e\u5206\u6790\u548c\u5ba2\u6237\u670d\u52a1\u7b49\u9886\u57df\u5c55\u73b0\u51fa\u5de8\u5927\u6f5c\u529b\u3002<\/p>\n<p>\u4f46\u662f\u4e0d\u80fd\u5c06 AI Agent \u7b80\u5355\u7684\u7406\u89e3\u4e3a\u662f\u5728\u57fa\u7840\u6a21\u578b\u4e0a\u7684\u7279\u8bad\u548c\u4e13\u7cbe\uff0cAI Agent \u4e0e\u5355\u7eaf\u7684\u6a21\u578b\u5fae\u8c03\u7279\u8bad\uff08Fine-tuning\uff09\u6709\u672c\u8d28\u533a\u522b\uff1a<\/p>\n<ul data-id=\"u738a58b-j5hycBQZ\">\n<li data-id=\"ld70c578-guOrAdPE\">\u7279\u8bad\u6a21\u578b\u662f\u4e00\u79cd\u9759\u6001\u7684\u3001\u9488\u5bf9\u7279\u5b9a\u9886\u57df\u4f18\u5316\u7684\u6a21\u578b\uff0c\u5176\u6838\u5fc3\u529f\u80fd\u662f\u5b9e\u73b0\u8f93\u5165\u4e0e\u8f93\u51fa\u4e4b\u95f4\u7684\u6620\u5c04\u3002<\/li>\n<li data-id=\"ld70c578-HGSgknes\">\u800c Agent \u5219\u662f\u4e00\u4e2a\u66f4\u4e3a\u590d\u6742\u7684&#8221;\u4e3b\u52a8\u5f0f&#8221;\u7cfb\u7edf\uff0c\u5b83\u4e0d\u4ec5\u5177\u5907\u57fa\u7840\u7684\u7406\u89e3\u80fd\u529b\uff0c\u8fd8\u62e5\u6709\u89c4\u5212\u3001\u51b3\u7b56\u548c\u6267\u884c\u7684\u80fd\u529b\uff0c\u80fd\u591f\u4e0e\u73af\u5883\u8fdb\u884c\u5b9e\u65f6\u4ea4\u4e92\u3002<\/li>\n<\/ul>\n<p><strong>\u2460 \u539f\u7406\u7b80\u4ecb<\/strong><\/p>\n<p>\u4e00\u4e2a\u5b8c\u6574\u7684 Agent \u7cfb\u7edf\u901a\u5e38\u7531\u56db\u4e2a\u5173\u952e\u7ec4\u4ef6\u6784\u6210\uff1a\u57fa\u7840\u6a21\u578b + \u5de5\u5177\u8c03\u7528\u80fd\u529b + \u8bb0\u5fc6\u7cfb\u7edf + \u51b3\u7b56\u6846\u67b6\u3002\u4e0e\u4ec5\u80fd&#8221;\u7406\u89e3&#8221;\u7684\u4f20\u7edf\u6a21\u578b\u76f8\u6bd4\uff0cAgent \u7684\u72ec\u7279\u4e4b\u5904\u5728\u4e8e\u5b83&#8221;\u4f1a\u505a\u4e8b&#8221;\u2014\u2014\u5b83\u80fd\u591f\u8c03\u7528\u5404\u79cd API\u3001\u64cd\u4f5c\u6587\u4ef6\u7cfb\u7edf\u3001\u8fdb\u884c\u7f51\u7edc\u641c\u7d22\u7b49\u5b9e\u9645\u64cd\u4f5c\u3002\u6b64\u5916\uff0cAgent \u8fd8\u5177\u5907\u6301\u7eed\u6027\u7279\u5f81\uff0c\u80fd\u591f\u5728\u957f\u671f\u4efb\u52a1\u4e2d\u4fdd\u6301\u4e0a\u4e0b\u6587\u7684\u8fde\u8d2f\u6027\u3002\u66f4\u91cd\u8981\u7684\u662f\uff0cAgent \u5177\u6709\u8f83\u5f3a\u7684\u81ea\u4e3b\u6027\uff0c\u80fd\u591f\u72ec\u7acb\u89c4\u5212\u6267\u884c\u6b65\u9aa4\uff0c\u5e76\u5728\u9047\u5230\u95ee\u9898\u65f6\uff08\u5982\u9700\u8981\u8c03\u8bd5\uff09\u8fdb\u884c\u81ea\u4e3b\u5904\u7406\u3002<\/p>\n<p>\u7b80\u5355\u6765\u8bf4\uff0c\u5982\u679c\u628a\u57fa\u7840\u6a21\u578b\u6bd4\u4f5c&#8221;\u5927\u8111&#8221;\uff0c\u90a3\u4e48 Agent \u66f4\u50cf\u662f\u4e00\u4e2a\u914d\u5907\u4e86\u8fd9\u4e2a\u5927\u8111\uff0c\u5e76\u4e14\u6709&#8221;\u624b\u811a&#8221;\uff08\u5de5\u5177\uff09\u3001&#8221;\u8bb0\u5fc6&#8221;\uff08\u72b6\u6001\u7ba1\u7406\uff09\u548c&#8221;\u51b3\u7b56\u80fd\u529b&#8221;\uff08\u89c4\u5212\u7cfb\u7edf\uff09\u7684\u5b8c\u6574\u4e2a\u4f53\u3002\u5b83\u4e0d\u4ec5\u80fd\u601d\u8003\uff0c\u8fd8\u80fd\u5b9e\u9645\u884c\u52a8\u3002<\/p>\n<p><strong>\u2461 \u89e3\u51b3\u7684\u6838\u5fc3\u95ee\u9898<\/strong><\/p>\n<p>\u9996\u5148\uff0c\u5b83\u7a81\u7834\u4e86\u4f20\u7edf AI \u6a21\u578b\u5355\u6b21\u95ee\u7b54\u7684\u9650\u5236\uff0c\u5b9e\u73b0\u4e86\u771f\u6b63\u7684\u8fde\u7eed\u6027\u4ea4\u4e92\uff0c\u80fd\u591f\u5728\u6301\u7eed\u5bf9\u8bdd\u4e2d\u4fdd\u6301\u4e0a\u4e0b\u6587\uff0c\u66f4\u597d\u5730\u6267\u884c\u590d\u6742\u4efb\u52a1\u3002\u5176\u6b21\uff0c\u901a\u8fc7\u6574\u5408\u5404\u79cd\u5de5\u5177\u548c API\uff0cAI Agent \u6253\u7834\u4e86\u4ec5\u80fd\u5bf9\u8bdd\u7684\u5c40\u9650\uff0c\u83b7\u5f97\u4e86\u5b9e\u9645\u64cd\u4f5c\u548c\u6267\u884c\u80fd\u529b\u3002\u66f4\u91cd\u8981\u7684\u662f\uff0c\u5b83\u5177\u5907\u4e86\u81ea\u4e3b\u51b3\u7b56\u80fd\u529b\uff0c\u65e0\u9700\u4eba\u5de5\u5e72\u9884\u5c31\u80fd\u89c4\u5212\u4efb\u52a1\u6b65\u9aa4\u5e76\u52a8\u6001\u8c03\u6574\u6267\u884c\u8def\u5f84\uff0c\u6bd4\u5982\u5728\u9047\u5230\u7a0b\u5e8f\u62a5\u9519\u65f6\u80fd\u591f\u81ea\u884c\u8bca\u65ad\u548c\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n<p><strong>\u2462 \u5bf9\u524d\u7aef\u793e\u533a\u7684\u5f71\u54cd<\/strong><\/p>\n<p>\u4ece\u6280\u672f\u6808\u89d2\u5ea6\u6765\u770b\uff0c\u524d\u7aef\u5de5\u5177\u94fe\u6b63\u5728\u9010\u6b65\u878d\u5165 Agent \u529f\u80fd\uff0c\u672a\u6765\u7684\u524d\u7aef\u6846\u67b6\u53ef\u80fd\u4f1a\u66f4\u591a\u5730\u8003\u8651\u5982\u4f55\u66f4\u597d\u5730\u652f\u6301\u548c\u96c6\u6210 AI Agent\u3002\u5f00\u53d1\u6a21\u5f0f\u4e5f\u5728\u53d1\u751f\u6839\u672c\u6027\u8f6c\u53d8\uff0c\u4ece\u4f20\u7edf\u7684&#8221;\u5199\u4ee3\u7801&#8221;\u6a21\u5f0f\u9010\u6e10\u5411&#8221;\u6307\u5bfc AI \u5199\u4ee3\u7801&#8221;\u8f6c\u53d8\u3002\u8fd9\u79cd\u53d8\u5316\u4e5f\u4fc3\u4f7f\u524d\u7aef\u5f00\u53d1\u8005\u7684\u804c\u4e1a\u91cd\u5fc3\u53d1\u751f\u8f6c\u79fb\uff0c\u66f4\u591a\u5730\u805a\u7126\u4e8e\u4e1a\u52a1\u903b\u8f91\u68b3\u7406\u548c\u67b6\u6784\u8bbe\u8ba1\u7b49\u9ad8\u5c42\u6b21\u5de5\u4f5c\u3002<\/p>\n<p><strong>(2) AI \u7f16\u7a0b\u8f85\u52a9\u5de5\u5177\u767e\u82b1\u9f50\u653e\uff0c\u4fc3\u4eba\u673a\u534f\u4f5c\u7f16\u7a0b\u5927\u70ed\u8d8b\u52bf<\/strong><\/p>\n<p>2024 \u5e74\uff0c\u968f\u7740 AI \u5927\u6a21\u578b\u7684\u8fc5\u731b\u53d1\u5c55\uff0c\u6d8c\u73b0\u51fa\u8bb8\u591a AI \u8f85\u52a9\u7f16\u7a0b\u7684\u5de5\u5177\uff0c\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e Devin\u3001Cursor\u3001Windsur\u3001Continue \u4ee5\u53ca Cline\u3002\u5b83\u4eec\u901a\u8fc7\u667a\u80fd\u8865\u5168\u3001\u81ea\u52a8\u5316\u8c03\u8bd5\u548c\u5b9e\u65f6\u534f\u4f5c\u7b49\u80fd\u529b\uff0c\u6b63\u5728\u91cd\u6784\u4f20\u7edf\u5f00\u53d1\u6d41\u7a0b\u3002\u5b83\u4eec\u7684\u51fa\u73b0\u4e0d\u4ec5\u663e\u8457\u63d0\u5347\u4e86\u4ee3\u7801\u751f\u4ea7\u6548\u7387\u4e0e\u8d28\u91cf\uff0c\u66f4\u6a21\u7cca\u4e86\u4eba\u4e0e\u673a\u5668\u7684\u804c\u80fd\u8fb9\u754c\uff0c\u50ac\u751f\u51fa\u201dAI \u5373\u534f\u4f5c\u8005\u201d\u7684\u9ad8\u6548\u4eba\u673a\u534f\u540c\u65b0\u8303\u5f0f\uff0c\u63a8\u52a8\u8f6f\u4ef6\u5de5\u7a0b\u5411\u201c\u610f\u56fe\u9a71\u52a8\u5f00\u53d1\u201d\u7684\u667a\u80fd\u5316\u9636\u6bb5\u52a0\u901f\u6f14\u8fdb\uff0c\u4e3a\u8f6f\u4ef6\u5f00\u53d1\u884c\u4e1a\u5e26\u6765\u98a0\u8986\u6027\u53d8\u9769\u3002<\/p>\n<p><strong>\u2460 \u6838\u5fc3\u89e3\u51b3\u7684\u95ee\u9898<\/strong><\/p>\n<p>\u8fd9\u7c7b\u5de5\u5177\u901a\u8fc7 AI \u8f85\u52a9\u7f16\u7801\u3001\u5b9e\u65f6\u4ee3\u7801\u5efa\u8bae\u548c\u81ea\u52a8\u8865\u5168\u7b49\u529f\u80fd\uff0c\u663e\u8457\u63d0\u5347\u4e86\u7f16\u7801\u6548\u7387\uff0c\u540c\u65f6\u501f\u52a9\u667a\u80fd\u91cd\u6784\u548c\u9519\u8bef\u68c0\u6d4b\u529f\u80fd\u5927\u5927\u7f29\u77ed\u4e86\u8c03\u8bd5\u65f6\u95f4\u3002\u4e0e\u4f20\u7edf\u7684\u804a\u5929\u5f0f AI \u4e0d\u540c\uff0c\u8fd9\u4e9b\u7f16\u8f91\u5668\u5177\u5907\u5f3a\u5927\u7684\u4e0a\u4e0b\u6587\u611f\u77e5\u80fd\u529b\uff0c\u80fd\u591f\u66f4\u5feb\u901f\u51c6\u786e\u5730\u7406\u89e3\u548c\u5bfc\u822a\u4ee3\u7801\u7ed3\u6784\u3002<\/p>\n<p><strong>\u2461 \u5bf9\u524d\u7aef\u793e\u533a\u7684\u5f71\u54cd<\/strong><\/p>\n<p>\u9996\u5148\uff0c\u5b83\u663e\u8457\u964d\u4f4e\u4e86\u524d\u7aef\u7f16\u7a0b\u7684\u5165\u95e8\u95e8\u69db\uff0c\u63a8\u52a8\u5f00\u53d1\u6a21\u5f0f\u4ece\u4f20\u7edf\u7f16\u7801\u8f6c\u5411\u4eba\u673a\u534f\u4f5c\u3002\u5f00\u53d1\u8005\u7684\u5de5\u4f5c\u91cd\u5fc3\u9010\u6e10\u4ece\u91cd\u590d\u6027\u7f16\u7801\u8f6c\u79fb\u5230\u4e1a\u52a1\u903b\u8f91\u548c\u67b6\u6784\u8bbe\u8ba1\u7b49\u66f4\u9ad8\u5c42\u6b21\u7684\u601d\u8003\u4e2d\uff0c\u4fc3\u8fdb\u4e86\u66f4\u654f\u6377\u7684\u5f00\u53d1\u6d41\u7a0b\u3002\u540c\u65f6\uff0c\u8fd9\u4e5f\u5bf9\u5f00\u53d1\u8005\u63d0\u51fa\u4e86\u65b0\u7684\u8981\u6c42\uff0c\u5305\u62ec\u63d0\u5347 AI \u5de5\u5177\u4f7f\u7528\u80fd\u529b\uff0c\u52a0\u5f3a\u95ee\u9898\u63cf\u8ff0\u548c\u9700\u6c42\u5206\u6790\u80fd\u529b\uff0c\u56e0\u4e3a\u7f16\u5199\u4f18\u8d28\u7684 prompt \u5bf9\u4e8e\u751f\u6210\u9ad8\u8d28\u91cf\u4ee3\u7801\u81f3\u5173\u91cd\u8981\u3002\u8fd9\u79cd\u53d8\u9769\u4e5f\u63a8\u52a8\u4e86IDE\u548c\u5f00\u53d1\u5de5\u5177\u5411\u66f4\u667a\u80fd\u5316\u65b9\u5411\u5347\u7ea7\u3002<\/p>\n<p><strong>\u2462 AI \u8f85\u52a9\u7f16\u7a0b\u5de5\u5177\u7b80\u4ecb<\/strong><\/p>\n<p>\u63a5\u4e0b\u6765\u7b14\u8005\u5c06\u7b80\u5355\u4ecb\u7ecd\u4e00\u4e0b\u4e0a\u8ff0\u6240\u63d0\u53ca\u7684 AI \u8f85\u52a9\u7f16\u7a0b\u7684\u5de5\u5177\uff0c\u770b\u770b\u4ed6\u4eec\u90fd\u6709\u54ea\u4e9b\u4ee4\u4eba\u77a9\u76ee\u7684\u65b0\u7279\u6027\u5427\uff0c\u6709\u5173\u5176\u66f4\u52a0\u8be6\u7ec6\u7684\u4ecb\u7ecd\u53ef\u4ee5\u53c2\u9605\u5bf9\u5e94\u90e8\u5206\u7684\u6240\u9644\u7684\u6587\u7ae0\u3002<\/p>\n<p>\u25cf\u00a0Devin\uff1a<\/p>\n<p>Devin AI \u662f\u7531 Cognition \u516c\u53f8\u63a8\u51fa\u7684\u5168\u7403\u9996\u4e2a\u5168\u6808 AI \u7a0b\u5e8f\u5458\uff0c\u5177\u5907\u72ec\u7acb\u7aef\u5230\u7aef\u5f00\u53d1\u80fd\u529b\uff0c\u80fd\u591f\u4ece\u5206\u6790\u4efb\u52a1\u9700\u6c42\u3001\u5236\u5b9a\u6267\u884c\u8ba1\u5212\u3001\u5230\u7f16\u5199\u4ee3\u7801\u3001\u4fee\u590d Bug \u518d\u5230\u6700\u7ec8\u6267\u884c\u7684\u5b8c\u6574\u7f16\u7a0b\u751f\u547d\u5468\u671f\u81ea\u4e3b\u5b8c\u6210\u3002<\/p>\n<p>\u6b64\u5916\uff0c\u5b83\u652f\u6301\u4e0e\u591a\u79cd\u5f00\u53d1\u5de5\u5177\u7684\u96c6\u6210\uff0c\u5305\u62ec Slack\u3001CI\/CD \u6d41\u6c34\u7ebf\u4ee5\u53ca VS Code \u7b49\uff0c\u80fd\u591f\u8f7b\u677e\u878d\u5165\u73b0\u6709\u7684\u5f00\u53d1\u73af\u5883\u3002<\/p>\n<p>\u25cf\u00a0Cursor\uff1a<\/p>\n<p>Cursor \u662f\u57fa\u4e8e VSCode \u5f00\u53d1\u7684 IDE\uff0c\u7ed3\u5408\u4e86\u4f20\u7edf IDE \u7684\u529f\u80fd\u4e0e AI \u6280\u672f\uff0c\u65e8\u5728\u63d0\u9ad8\u5f00\u53d1\u8005\u7684\u751f\u4ea7\u529b\u548c\u4ee3\u7801\u8d28\u91cf\u3002\u5b83\u63d0\u4f9b\u00a0AI \u8f85\u52a9\u7f16\u7801\u80fd\u529b\uff0c\u5305\u62ec\u5b9e\u65f6\u4ee3\u7801\u5efa\u8bae\u3001\u4ee3\u7801\u751f\u6210\u3001\u667a\u80fd\u91cd\u6784\u548c\u9519\u8bef\u68c0\u6d4b\uff0c\u540c\u65f6\u5177\u5907\u667a\u80fd\u4ee3\u7801\u7406\u89e3\u529f\u80fd\uff0c\u5982\u4ee3\u7801\u89e3\u91ca\u3001\u6587\u6863\u751f\u6210\u3001\u4e0a\u4e0b\u6587\u611f\u77e5\u548c\u667a\u80fd\u5bfc\u822a\u3002<\/p>\n<p>\u6b64\u5916\uff0c\u5b83\u8fd8\u63d0\u4f9b\u4e86\u96c6\u6210\u5f0f\u5f00\u53d1\u4f53\u9a8c\uff0c\u5305\u62ec AI \u804a\u5929\u529f\u80fd\u3001\u591a\u8bed\u8a00\u652f\u6301\u3001\u73b0\u4ee3\u5316\u754c\u9762\u8bbe\u8ba1\u548c Git \u96c6\u6210\u3002<\/p>\n<p>\u25cf\u00a0Windsurf\uff1a<\/p>\n<p>Windsurf AI \u662f\u4e00\u4e2a\u4e0b\u4e00\u4ee3\u667a\u80fd\u4ee3\u7801\u7f16\u8f91\u5668\uff0c\u901a\u8fc7\u5148\u8fdb\u7684\u81ea\u7136\u8bed\u8a00\u5904\u7406\u6539\u53d8\u4e86\u5f00\u53d1\u4eba\u5458\u4e0e IDE \u7684\u4ea4\u4e92\u65b9\u5f0f\u3002\u5b83\u5177\u6709\u5b9e\u65f6\u611f\u77e5\u529f\u80fd\u7684\u4e13\u6709\u6df1\u5ea6\u7406\u89e3\u7cfb\u7edf\uff0c\u63d0\u4f9b\u9ad8\u7ea7\u8fde\u8d2f\u7f16\u8f91\u548c AI \u526f\u9a7e\u9a76\u7684\u5b8c\u6574 Agentic IDE\u3002\u5176\u4e2d\u7684 Cascade \u529f\u80fd\u5141\u8bb8 AI \u4e0e\u5f00\u53d1\u8005\u4e4b\u95f4\u5efa\u7acb\u5b9e\u65f6\u7684\u534f\u540c\u5173\u7cfb\uff0c\u81ea\u52a8\u83b7\u53d6\u4e0a\u4e0b\u6587\uff0c\u4fdd\u6301\u540c\u6b65\u3002<\/p>\n<p>\u25cf\u00a0Continue\uff1a<\/p>\n<p>Continue \u662f\u4e00\u4e2a\u5f00\u6e90\u7684 AI \u4ee3\u7801\u52a9\u624b\u63d2\u4ef6\uff0c\u652f\u6301\u96c6\u6210\u5728 VS Code \u548c JetBrains IDE \u4e2d\uff0c\u53ef\u4ee5\u57fa\u4e8e\u804a\u5929\u529f\u80fd\u5e2e\u52a9\u7406\u89e3\u4ee3\u7801\uff0c\u63d0\u4f9b\u81ea\u52a8\u8865\u5168\u4ee3\u7801\u5efa\u8bae\u3002\u5b83\u652f\u6301\u5728\u4e0d\u79bb\u5f00\u5f53\u524d\u6587\u4ef6\u7684\u60c5\u51b5\u4e0b\u7f16\u8f91\u4ee3\u7801\uff0c\u5e76\u4e14\u5177\u6709\u66f4\u9ad8\u7684\u63a7\u5236\u529b\u548c\u5b9a\u5236\u5316\u652f\u6301\uff0c\u53ef\u4ee5\u8fde\u63a5\u4efb\u4f55\u6a21\u578b\u548c\u4e0a\u4e0b\u6587\uff0c\u5141\u8bb8\u7528\u6237\u81ea\u7531\u914d\u7f6e\u5e76\u9009\u62e9\u8c03\u7528\u5728\u7ebf\u6216\u672c\u5730\u6a21\u578b\uff0c\u786e\u4fdd\u4ee3\u7801\u9690\u79c1\u548c\u6570\u636e\u5b89\u5168\u3002\u6b64\u5916\uff0cContinue \u8fd8\u652f\u6301\u57fa\u4e8e\u52a8\u4f5c\u5efa\u7acb\u5feb\u6377\u65b9\u5f0f\u5904\u7406\u5e38\u89c1\u7f16\u7a0b\u4efb\u52a1\uff0c\u63d0\u9ad8\u5f00\u53d1\u8005\u7684\u751f\u4ea7\u529b\u3002<\/p>\n<p>\u25cf\u00a0Cline\uff1a<\/p>\n<p>Cline \u4e5f\u662f\u4e00\u6b3e IDE \u63d2\u4ef6\uff0c\u9700\u8981\u7ed3\u5408 JetBrains \u6216 VS Code \u8fdb\u884c\u4f7f\u7528\uff0c\u5b83\u4e5f\u652f\u6301\u591a\u79cd API \u63d0\u4f9b\u5546\u548c\u6a21\u578b\u3002\u4e0d\u8fc7\u4f5c\u4e3a\u5f00\u6e90\u5de5\u5177\uff0cCline\u53ef\u80fd\u5728\u67d0\u4e9b\u9ad8\u7ea7\u529f\u80fd\u4e0a\u53d7\u5230\u9650\u5236\uff0c\u4e14\u6210\u672c\u53ef\u80fd\u968f\u7740\u4f7f\u7528\u9891\u7387\u7684\u589e\u52a0\u800c\u4e0a\u5347\u3002<\/p>\n<p><strong>(3) OpenAI\uff1a\u591a\u6a21\u6001\u9769\u547d\u91cd\u5851\u6280\u672f\u751f\u6001\u8fb9\u754c<\/strong><\/p>\n<p>\u5728\u8fd1\u671f\u7684 12 \u5929\u53d1\u5e03\u4f1a\u4e0a\uff0cOpenAI \u4ee5\u5bc6\u96c6\u6280\u672f\u8fed\u4ee3\u6380\u8d77\u884c\u4e1a\u98ce\u66b4\uff1ao1\/o3 \u63a8\u7406\u6a21\u578b\u901a\u8fc7 34% \u6027\u80fd\u8dc3\u5347\u4e0e 60% \u6210\u672c\u4f18\u5316\uff0c\u89e3\u9501\u6587\u672c\u3001\u56fe\u50cf\u3001\u89c6\u9891\u7684\u6df1\u5ea6\u878d\u5408\u5904\u7406\uff1bSora \u89c6\u9891\u751f\u6210\u4ee5 20 \u79d2\u9ad8\u6e05\u8f93\u51fa\u7a81\u7834\u521b\u4f5c\u7ef4\u5ea6\uff0cCanvas \u5de5\u5177\u5219\u501f\u52a9 WebAssembly \u5b9e\u73b0\u5b9e\u65f6\u7f16\u7a0b\u534f\u4f5c\u3002\u4ece\u6cd5\u5f8b\u3001\u91d1\u878d\u9886\u57df\u7684\u4f4e\u6570\u636e\u5fae\u8c03\u9002\u914d\uff0c\u5230 ChatGPT \u65e0\u7f1d\u5d4c\u5165 Apple \u751f\u6001\uff0c\u518d\u5230\u524d\u7aef\u6280\u672f\u6808\u4e3a\u591a\u6a21\u6001\u4ea4\u4e92\u7684\u5168\u9762\u5347\u7ea7\uff0cOpenAI \u6b63\u4ee5\u201c\u5782\u76f4\u6e17\u900f+\u6a2a\u5411\u6269\u5c55\u201d\u7684\u53cc\u91cd\u7b56\u7565\uff0c\u63a8\u52a8 AI \u4ece\u5355\u4e00\u5de5\u5177\u5411\u57fa\u7840\u8bbe\u65bd\u6f14\u8fdb\uff0c\u4e3a\u901a\u7528\u4eba\u5de5\u667a\u80fd\uff08AGI\uff09\u7684\u89c4\u6a21\u5316\u843d\u5730\u63d0\u4f9b\u6280\u672f\u57fa\u5ea7\u3002<\/p>\n<p>\u2460 \u503c\u5f97\u5173\u6ce8\u7684\u6280\u672f\u4eae\u70b9<\/p>\n<ul data-id=\"u738a58b-Jf7BHQoR\">\n<li data-id=\"ld70c578-3c7mh40u\">o1 \u63a8\u7406\u6a21\u578b\u53ca\u5176API\u5f00\u653e\uff1ao1 \u6a21\u578b\u662f OpenAI \u63a8\u51fa\u7684\u6700\u5f3a\u63a8\u7406\u6a21\u578b\uff0c\u6027\u80fd\u6bd4\u4e4b\u524d\u7684\u7248\u672c\u63d0\u5347\u4e86 34%\uff0c\u9519\u8bef\u7387\u964d\u4f4e\u4e86 34%\uff0c\u5e76\u4e14\u652f\u6301\u591a\u6a21\u6001\u8f93\u5165\u3002o1 \u6a21\u578b\u7684API\u5f00\u653e\u662f\u4e00\u4e2a\u91cd\u8981\u7684\u6280\u672f\u5347\u7ea7\uff0c\u5b83\u652f\u6301\u51fd\u6570\u8c03\u7528\u3001\u5f00\u53d1\u8005\u6d88\u606f\u3001Structured Outputs \u4ee5\u53ca\u89c6\u89c9\u8bc6\u522b\u7b49\u529f\u80fd\uff0c\u5e76\u4e14\u6210\u672c\u964d\u4f4e\u4e8660%\u3002\u8fd9\u4e00\u8fdb\u5c55\u4f7f\u5f97 o1 \u6a21\u578b\u4e0d\u4ec5\u53d8\u5f97\u66f4\u667a\u80fd\uff0c\u800c\u4e14\u80fd\u66f4\u5feb\u5730\u54cd\u5e94\u7528\u6237\u9700\u6c42\u3002<\/li>\n<li data-id=\"ld70c578-7XIELNGk\">\u5f3a\u5316\u5fae\u8c03\u6280\u672f\uff1aOpenAI \u53d1\u5e03\u7684\u5f3a\u5316\u5fae\u8c03\u6280\u672f\u5141\u8bb8\u5c11\u91cf\u6570\u636e\u8bad\u7ec3\uff0c\u8fd9\u610f\u5473\u7740\u5f00\u53d1\u8005\u53ef\u4ee5\u521b\u5efa\u9ad8\u5ea6\u4e13\u4e1a\u5316\u7684AI\u6a21\u578b\uff0c\u8fd9\u5bf9\u4e8e\u9700\u8981\u5728AI\u6a21\u578b\u65b9\u9762\u62e5\u6709\u6df1\u539a\u4e13\u4e1a\u77e5\u8bc6\u7684\u9886\u57df\uff0c\u5982\u6cd5\u5f8b\u3001\u91d1\u878d\u3001\u5de5\u7a0b\u3001\u4fdd\u9669\u7b49\uff0c\u5177\u6709\u91cd\u8981\u610f\u4e49\u3002<\/li>\n<li data-id=\"ld70c578-2U0S2IWU\">Sora \u89c6\u9891\u751f\u6210\u6a21\u578b\u6b63\u5f0f\u63a8\u51fa\uff1aSora \u662f OpenAI \u63a8\u51fa\u7684\u89c6\u9891\u751f\u6210\u6a21\u578b\uff0c\u652f\u6301\u9ad8\u6e05\u89c6\u9891\u751f\u6210\uff0c\u5177\u6709 20 \u79d2\u7684\u6700\u957f\u89c6\u9891\u751f\u6210\u80fd\u529b\u548c 1080p \u7684\u9ad8\u6e05\u89c6\u9891\u8d28\u6548\u3002\u5c3d\u7ba1\u5728\u5904\u7406\u590d\u6742\u8fd0\u52a8\u573a\u666f\u65f6\u5b58\u5728\u4e00\u4e9b\u7455\u75b5\uff0c\u4f46 Sora \u7684\u63a8\u51fa\u663e\u793a\u4e86 OpenAI \u5728 AI \u751f\u6210\u89c6\u9891\u9886\u57df\u7684\u91ce\u5fc3\u548c\u8fdb\u5c55\u3002<\/li>\n<li data-id=\"ld70c578-1tAZg80d\">Canvas \u5199\u4f5c\u548c\u7f16\u7a0b\u534f\u4f5c\u5de5\u5177\uff1aCanvas \u7ed3\u5408\u4e86\u667a\u80fd\u5199\u4f5c\u4e0e\u7f16\u7a0b\u534f\u4f5c\uff0c\u63d0\u4f9b\u4e86\u4e00\u4e2a\u5168\u80fd\u5de5\u4f5c\u53f0\uff0c\u5185\u7f6e WebAssembly Python \u6a21\u62df\u5668\uff0c\u63d0\u4f9b\u4e86\u51e0\u4e4e\u5b9e\u65f6\u7684\u7f16\u7a0b\u4f53\u9a8c\uff0c\u5927\u5e45\u63d0\u5347\u4e86\u7528\u6237\u7684\u5de5\u4f5c\u6548\u7387\u3002<\/li>\n<li data-id=\"ld70c578-NTZZcRzS\">ChatGPT \u96c6\u6210\u5230 Apple Intelligence\uff1aOpenAI \u5ba3\u5e03 ChatGPT \u6b63\u5f0f\u96c6\u6210\u5230 Apple Intelligence\uff0c\u8fd9\u610f\u5473\u7740 iPhone\u3001iPad \u548c Mac \u7528\u6237\u53ef\u4ee5\u901a\u8fc7 Siri \u4f7f\u7528 ChatGPT \u7684\u529f\u80fd\uff0c\u663e\u793a\u4e86 OpenAI \u5728\u63d0\u5347\u7528\u6237\u4f53\u9a8c\u4e0a\u7684\u663e\u8457\u52aa\u529b\u3002<\/li>\n<li data-id=\"ld70c578-EDnquCJ0\">ChatGPT Search\u5168\u9762\u5347\u7ea7\uff1a\u57fa\u4e8e GPT-4o \u6a21\u578b\u7684\u5fae\u8c03\u7248\u672c\uff0cChatGPT Search \u63d0\u4f9b\u4e86\u66f4\u5feb\u7684\u641c\u7d22\u901f\u5ea6\u548c\u66f4\u597d\u7684\u79fb\u52a8\u7aef\u4f53\u9a8c\uff0c\u5e76\u4e14\u52a0\u5165\u4e86\u5730\u56fe\u4f53\u9a8c\uff0c\u540c\u65f6\u6574\u5408\u4e86\u8bed\u97f3\u641c\u7d22\uff0c\u5411\u5168\u7403\u6240\u6709\u767b\u5f55\u7528\u6237\u514d\u8d39\u5f00\u653e\u3002<\/li>\n<li data-id=\"ld70c578-4wDL6jdN\">o3\u9ad8\u6027\u80fdAI\u63a8\u7406\u6a21\u578b\uff1a\u4f5c\u4e3a o1 \u7684\u4e0b\u4e00\u4ee3\u63a8\u7406\u6a21\u578b\uff0co3 \u5728\u6570\u5b66\u3001\u4ee3\u7801\u3001\u7269\u7406\u7b49\u591a\u9879\u6d4b\u8bd5\u4e2d\u8868\u73b0\u60ca\u4eba\uff0c\u88ab\u8ba4\u4e3a\u662f AGI\uff08\u901a\u7528\u4eba\u5de5\u667a\u80fd\uff09\u5df2\u6765\u7684\u6807\u5fd7\u3002<\/li>\n<\/ul>\n<p>\u2461 \u6838\u5fc3\u89e3\u51b3\u7684\u95ee\u9898<\/p>\n<p>\u5728\u6027\u80fd\u65b9\u9762\uff0c\u65b0\u7684 o1 \u63a8\u7406\u6a21\u578b\u5b9e\u73b0\u4e86 34% \u7684\u6027\u80fd\u63d0\u5347\uff0c\u4e0d\u4ec5\u663e\u8457\u964d\u4f4e\u4e86\u9519\u8bef\u7387\uff0c\u8fd8\u5e26\u6765\u4e86\u66f4\u5feb\u7684\u54cd\u5e94\u901f\u5ea6\u548c\u66f4\u51c6\u786e\u7684\u7ed3\u679c\u3002\u540c\u65f6\uff0cAPI \u6210\u672c\u7684\u5927\u5e45\u964d\u4f4e\uff08\u964d\u5e45\u8fbe 60%\uff09\u63d0\u9ad8\u4e86\u6280\u672f\u7684\u53ef\u8bbf\u95ee\u6027\uff0c\u5b8c\u5584\u7684 API \u751f\u6001\u4e5f\u652f\u6301\u4e86\u66f4\u5e7f\u6cdb\u7684\u5e94\u7528\u573a\u666f\u3002<\/p>\n<p>\u5728\u529f\u80fd\u65b9\u9762\uff0cOpenAI \u5c55\u73b0\u4e86\u5f3a\u5927\u7684\u591a\u6a21\u6001\u80fd\u529b\uff0c\u652f\u6301\u6587\u672c\u3001\u56fe\u50cf\u548c\u89c6\u9891\u7b49\u591a\u79cd\u8f93\u5165\u5f62\u5f0f\u7684\u5904\u7406\u3002\u7279\u522b\u503c\u5f97\u6ce8\u610f\u7684\u662f\u6b63\u5f0f\u7248 Sora \u7684\u53d1\u5e03\uff0c\u5b83\u80fd\u591f\u751f\u6210\u9ad8\u8d28\u91cf\u7684\u89c6\u9891\u5185\u5bb9\u3002\u6b64\u5916\uff0c\u901a\u8fc7\u63d0\u4f9b\u5f3a\u5316\u5fae\u8c03\u6280\u672f\uff0c\u5373\u4f7f\u5728\u4f4e\u6570\u636e\u91cf\u7684\u60c5\u51b5\u4e0b\u4e5f\u80fd\u5b9e\u73b0\u6709\u6548\u8bad\u7ec3\u3002\u65b0\u63a8\u51fa\u7684 Canvas \u5de5\u5177\u5219\u4e3a\u5f00\u53d1\u8005\u5e26\u6765\u4e86\u5b9e\u65f6\u7684\u7f16\u7a0b\u4f53\u9a8c\u3002<\/p>\n<p>\u2462 \u5bf9\u524d\u7aef\u793e\u533a\u7684\u5f71\u54cd<\/p>\n<p>\u591a\u6a21\u6001\u4ea4\u4e92\u80fd\u529b\u4e3a UI\/UX \u8bbe\u8ba1\u5e26\u6765\u4e86\u5168\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u540c\u65f6\u4e5f\u63a8\u52a8\u4e86\u6280\u672f\u6808\u7684\u6f14\u8fdb\uff0c\u8981\u6c42\u5f00\u53d1\u8005\u9002\u5e94\u65b0\u7684 AI API \u96c6\u6210\u65b9\u5f0f\uff0c\u524d\u7aef\u6846\u67b6\u4e5f\u9700\u8981\u76f8\u5e94\u8c03\u6574\u4ee5\u9002\u914d\u8fd9\u4e9b AI \u80fd\u529b\u3002\u6b64\u5916\uff0c\u8de8\u5e73\u53f0\u548c\u591a\u6a21\u6001\u5f00\u53d1\u7684\u9700\u6c42\u4e5f\u5728\u663e\u8457\u589e\u52a0\u3002<\/p>\n<p><strong>(4) Google Gemini\uff1a\u5de5\u5177\u5373\u670d\u52a1\u50ac\u5316\u5b9e\u65f6\u4ea4\u4e92\u9769\u547d<\/strong><\/p>\n<p>Google \u7684 Gemini 2.0 \u4ee5\u539f\u751f\u5de5\u5177\u65e0\u7f1d\u96c6\u6210\u4e3a\u6838\u5fc3\uff0c\u901a\u8fc7 Multimodal Live API \u5b9e\u73b0\u5b9e\u65f6\u97f3\u89c6\u9891\u6d41\u5904\u7406\u4e0e\u591a\u5de5\u5177\u52a8\u6001\u7ec4\u5408\uff0c\u5c06\u9759\u6001\u6a21\u578b\u5347\u7ea7\u4e3a\u201c\u5b9e\u65f6\u54cd\u5e94\u5f15\u64ce\u201d\u3002\u4ece\u4f4e\u5ef6\u8fdf\u7684 Gemini Flash \u6027\u80fd\u7a81\u7834\uff0c\u5230 Astra\/Mariner\/Jules \u4ee3\u7406\u4f53\u7cfb\u63a2\u7d22\u6d4f\u89c8\u5668\u3001\u4ee3\u7801\u4e0e\u901a\u7528\u52a9\u624b\u7684\u672a\u6765\u4ea4\u4e92\uff0c\u5176\u6280\u672f\u6846\u67b6\u76f4\u6307\u4e24\u5927\u547d\u9898\uff1a\u4ee5\u5de5\u5177\u751f\u6001\u7684\u201c\u5373\u63d2\u5373\u7528\u201d\u964d\u4f4e\u5f00\u53d1\u95e8\u69db\uff0c\u4ee5\u6beb\u79d2\u7ea7\u591a\u6a21\u6001\u5904\u7406\u50ac\u751f\u5b9e\u65f6\u4ea4\u4e92\u573a\u666f\u9769\u547d\u3002<\/p>\n<p>\u2460 \u503c\u5f97\u5173\u6ce8\u7684\u6280\u672f\u4eae\u70b9<\/p>\n<ul data-id=\"u738a58b-6FuwD9gv\">\n<li data-id=\"ld70c578-JVDnEqSQ\">\u539f\u751f\u5de5\u5177\u96c6\u6210\uff1aGemini 2.0 \u80fd\u591f\u539f\u751f\u8c03\u7528\u5de5\u5177\uff0c\u5982 Google \u641c\u7d22\u3001\u4ee3\u7801\u6267\u884c\u4ee5\u53ca\u7b2c\u4e09\u65b9\u7528\u6237\u5b9a\u4e49\u7684\u51fd\u6570\u3002\u8fd9\u610f\u5473\u7740\u53ef\u4ee5\u76f4\u63a5\u5728\u5e94\u7528\u7a0b\u5e8f\u4e2d\u4f7f\u7528\u8fd9\u4e9b\u5de5\u5177\u3002<\/li>\n<li data-id=\"ld70c578-fXO2yy3I\">Gemini 2.0 Flash\uff1a\u8fd9\u662f\u4e00\u4e2a\u5b9e\u9a8c\u7248\u672c\u7684\u6a21\u578b\uff0c\u5177\u6709\u4f4e\u5ef6\u8fdf\u548c\u5728\u5927\u89c4\u6a21\u6280\u672f\u524d\u6cbf\u7684\u589e\u5f3a\u6027\u80fd\u3002Gemini 2.0 Flash \u5728\u5173\u952e\u57fa\u51c6\u6d4b\u8bd5\u4e2d\u7684\u6027\u80fd\u751a\u81f3\u8d85\u8fc7\u4e86 1.5 Pro \u7248\u672c\uff0c\u901f\u5ea6\u662f\u5176\u4e24\u500d\u3002<\/li>\n<li data-id=\"ld70c578-Ok0aGLXo\">Multimodal Live API\uff1aGoogle \u53d1\u5e03\u4e86\u4e00\u4e2a\u65b0\u7684\u591a\u6a21\u6001\u5b9e\u65f6 API\uff0c\u652f\u6301\u5b9e\u65f6\u97f3\u9891\u548c\u89c6\u9891\u6d41\u8f93\u5165\uff0c\u4ee5\u53ca\u4f7f\u7528\u591a\u4e2a\u7ec4\u5408\u5de5\u5177\u7684\u80fd\u529b\u3002\u8fd9\u6709\u52a9\u4e8e\u521b\u5efa\u52a8\u6001\u3001\u4ea4\u4e92\u5f0f\u5e94\u7528\u7a0b\u5e8f\uff0c\u5982\u865a\u62df\u52a9\u624b\u3001\u4e92\u52a8\u5b66\u4e60\u5e73\u53f0\u548c\u5a92\u4f53\u6d41\u5a92\u4f53\u3002<\/li>\n<li data-id=\"ld70c578-JeigLFRG\">\u4ee3\u7406\u4f53\u9a8c\uff1aGoogle \u6b63\u5728\u63a2\u7d22\u4f7f\u7528 Gemini 2.0 \u7684 Agent \u6a21\u5f0f\uff0c\u5305\u62ec Project Astra\uff08\u63a2\u7d22\u901a\u7528AI\u52a9\u624b\u7684\u672a\u6765\u80fd\u529b\uff09\u3001Project Mariner\uff08\u63a2\u7d22\u6d4f\u89c8\u5668\u4e2d\u7684\u4eba\u7c7b-\u4ee3\u7406\u4ea4\u4e92\u672a\u6765\uff09\u548c Jules\uff08\u4e00\u4e2aAI\u9a71\u52a8\u7684\u4ee3\u7801\u4ee3\u7406\uff0c\u5e2e\u52a9\u5f00\u53d1\u8005\uff09\u3002<\/li>\n<\/ul>\n<p>\u2461 \u6838\u5fc3\u89e3\u51b3\u7684\u95ee\u9898<\/p>\n<p>\u5f3a\u5927\u7684\u5de5\u5177\u96c6\u6210\u80fd\u529b\uff0c\u4e0d\u4ec5\u539f\u751f\u652f\u6301\u5404\u7c7b\u5de5\u5177\u8c03\u7528\uff0c\u8fd8\u5f00\u653e\u4e86\u7b2c\u4e09\u65b9\u51fd\u6570\u8c03\u7528\u63a5\u53e3\uff0c\u4f7f\u5176\u80fd\u591f\u4e0e Google \u751f\u6001\u7cfb\u7edf\u5b9e\u73b0\u65e0\u7f1d\u5bf9\u63a5\u3002\u5728\u6027\u80fd\u65b9\u9762\uff0cGemini 2.0 Flash \u7248\u672c\u5e26\u6765\u4e86\u663e\u8457\u63d0\u5347\uff0c\u5c06\u5904\u7406\u901f\u5ea6\u63d0\u9ad8\u4e86\u4e24\u500d\uff0c\u5927\u5e45\u964d\u4f4e\u4e86\u5ef6\u8fdf\uff0c\u5e76\u5728\u591a\u9879\u57fa\u51c6\u6d4b\u8bd5\u4e2d\u8d85\u8d8a\u4e86\u524d\u4ee3\u4ea7\u54c1\u3002\u7279\u522b\u503c\u5f97\u4e00\u63d0\u7684\u662f\uff0cGemini \u5c55\u73b0\u4e86\u51fa\u8272\u7684\u591a\u6a21\u6001\u5b9e\u65f6\u5904\u7406\u80fd\u529b\uff0c\u80fd\u591f\u5904\u7406\u5b9e\u65f6\u97f3\u89c6\u9891\u6d41\uff0c\u5e76\u4e14\u5177\u5907\u5c06\u591a\u4e2a\u5de5\u5177\u7ec4\u5408\u4f7f\u7528\u7684\u80fd\u529b\u3002<\/p>\n<p>\u2462\u00a0\u5bf9\u524d\u7aef\u793e\u533a\u7684\u5f71\u54cd<\/p>\n<p>\u65b0\u7684 API\uff08\u9700\u8981\u7533\u8bf7API Key\uff09\u96c6\u6210\u65b9\u5f0f\u4e3a\u5f00\u53d1\u8005\u63d0\u4f9b\u4e86\u66f4\u591a\u53ef\u80fd\u6027\uff0c\u7279\u522b\u662f\u5728\u5904\u7406\u591a\u6a21\u6001\u6570\u636e\u65b9\u9762\u3002\u5b9e\u65f6\u591a\u6a21\u6001\u5904\u7406\u80fd\u529b\u4e3a\u524d\u7aef\u5e94\u7528\u5f00\u8f9f\u4e86\u65b0\u7684\u5e94\u7528\u573a\u666f\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u8bbe\u8ba1\u66f4\u4e30\u5bcc\u7684\u4ea4\u4e92\u4f53\u9a8c\uff0c\u6bd4\u5982\u5b9e\u65f6\u89c6\u9891\u5206\u6790\u3001\u8bed\u97f3\u4ea4\u4e92\u7b49\u521b\u65b0\u529f\u80fd\u3002<\/p>\n<p><strong>(5) DeepSeek\uff1a\u53e6\u8f9f\u8e4a\u5f84\u7684\u540e\u8d77\u4e4b\u79c0\uff0c\u5f15\u9886\u4e16\u754c\u5927\u6a21\u578b\u63a8\u7406\u80fd\u529b\u53d1\u5c55<\/strong><\/p>\n<p>\u5728 2024 \u5e74\u5e74\u672b\uff0cDeepSeek-V3 \u6a2a\u7a7a\u51fa\u4e16\uff0c\u5b83\u4ee5\u6781\u4f4e\u7684\u8bad\u7ec3\u6210\u672c\u8fbe\u5230\u4e86\u4e0e GPT-4o \u7b49\u9876\u5c16\u5927\u6a21\u578b\u76f8\u5ab2\u7f8e\u7684\u6027\u80fd\uff0c\u5f15\u8d77\u4e86 AI \u9886\u57df\u7684\u8f70\u52a8\u3002\u7136\u540e\u5728 2025 \u5e74\u5e74\u521d\uff0cDeepSeek \u5f00\u6e90\u4e86 DeepSeek R1 \u6a21\u578b\uff0c\u5728\u5ef6\u7eed\u524d\u4e00\u4ee3\u4f4e\u6210\u672c\u7684\u540c\u65f6\uff0c\u901a\u8fc7\u7eaf\u6df1\u5ea6\u5b66\u4e60\u7b49\u521b\u65b0\u7684\u8bad\u7ec3\u65b9\u5f0f\uff0c\u8ba9\u5927\u6a21\u578b\u7684\u63a8\u7406\u80fd\u529b\u4ea7\u751f\u4e86\u8fd1\u4f3c\u91cc\u7a0b\u7891\u5f0f\u7684\u7a81\u7834\uff0c\u518d\u6b21\u5728 AI \u9886\u57df\u6380\u8d77\u4e86\u5de8\u5927\u7684\u6ce2\u6f9c\uff0c\u4e5f\u9996\u6b21\u8ba9\u4e2d\u56fd\u5728\u5168\u7403\u5927\u6a21\u578b\u7ade\u4e89\u4e2d\u5360\u636e\u4e86\u4e00\u5e2d\u4e4b\u5730\u3002<\/p>\n<p><strong>\u2460 \u503c\u5f97\u5173\u6ce8\u7684\u6280\u672f\u4eae\u70b9<\/strong><\/p>\n<ul data-id=\"u738a58b-OQ01vUQi\">\n<li data-id=\"ld70c578-uStgyBtk\">\u6df7\u5408\u4e13\u5bb6\u67b6\u6784\uff08MoE\uff09\uff1aDeepSeek-V3 \u91c7\u7528 MoE \u67b6\u6784\uff0c\u6838\u5fc3\u601d\u60f3\u662f\u901a\u8fc7\u52a8\u6001\u8def\u7531\u7f51\u7edc\u667a\u80fd\u5206\u914d\u6a21\u578b\u7684\u8ba1\u7b97\u8d44\u6e90\uff0c\u5373\u901a\u8fc7\u95e8\u63a7\u7f51\u7edc\uff08Gating Network\uff09\u63a7\u5236\u5f53\u524d\u8f93\u5165\u9700\u8981\u9009\u62e9\u6027\u6fc0\u6d3b\u7684\u4e13\u5bb6\u7f51\u7edc\uff08Experts\uff09\uff0c\u5728\u80fd\u591f\u663e\u8457\u63d0\u5347\u6a21\u578b\u6548\u7387\u548c\u6cdb\u5316\u80fd\u529b\u7684\u540c\u65f6\uff0c\u76f8\u8f83\u4e8e\u4f20\u7edfTransformer \u6a21\u578b\uff0c\u80fd\u591f\u4fdd\u6301\u8f83\u4f4e\u8bad\u7ec3\u6210\u672c\uff08557.6 \u4e07\u7f8e\u5143\uff0c\u4ec5\u4e3a GPT-4o \u7684 5%\uff09\u3002<\/li>\n<li data-id=\"ld70c578-yK4YLjVX\">\u5f3a\u5316\u5b66\u4e60\u8ba9\u6a21\u578b\u5b66\u4f1a\u601d\u8003\uff1aDeepSeek \u662f\u9996\u4e2a\u4f7f\u7528\u5f3a\u5316\u5b66\u4e60\u5728\u63d0\u5347\u5927\u6a21\u578b\u63a8\u7406\u80fd\u529b\u5e76\u9a8c\u8bc1\u5176\u884c\u4e4b\u6709\u6548\u7684\uff0c\u5b83\u901a\u8fc7\u5728\u57fa\u7840\u6a21\u578b\u4e0a\u5e94\u7528\u5927\u89c4\u6a21\u5f3a\u5316\u5b66\u4e60\uff0c\u6210\u529f\u5f00\u53d1\u51fa\u81ea\u6211\u9a8c\u8bc1\u548c\u957f\u601d\u7ef4\u94fe\u7b49\u63a8\u7406\u80fd\u529b\u7684 DeepSeek R1\uff0c\u5df2\u7ecf\u8a89\u4e3a\u5927\u6a21\u578b\u91cc\u7a0b\u7891\u5f0f\u7684\u7a81\u7834\u3002\u6838\u5fc3\u539f\u7406\u5c31\u662f\u5728\u8bad\u7ec3\u7684\u8fc7\u7a0b\u4e2d\u5efa\u7acb\u4e00\u4e2a\u5956\u60e9\u673a\u5236\u6765\u4e0d\u65ad\u4f18\u5316\u548c\u66f4\u65b0\u6a21\u578b\uff0c\u5e76\u901a\u8fc7\u4e00\u4e9b\u624b\u6bb5\u51cf\u5c11\u5f3a\u5316\u5b66\u4e60\u7684\u5f0a\u7aef\uff0c\u76f8\u8f83\u4e8e\u4ee5\u524d\u4f20\u7edf\u7684\u601d\u7ef4\u94fe\u6a21\u677f\uff08Chain of Thought\uff09\u548c\u76d1\u7763\u5f0f\u5fae\u8c03\uff08SFT\uff09\uff0c\u8fd9\u79cd\u65b9\u5f0f\u80fd\u591f\u771f\u6b63\u8ba9\u6a21\u578b\u5b66\u4f1a\u601d\u8003\uff0c\u4e5f\u80fd\u591f\u964d\u4f4e\u8bad\u7ec3\u7684\u6210\u672c\u3002<\/li>\n<li data-id=\"ld70c578-8KFpTynC\">\u84b8\u998f\u63a8\u7406\u80fd\u529b\u53ef\u76f4\u63a5\u84b8\u998f\uff1aDeepSeek \u9a8c\u8bc1\u5927\u6a21\u578b\u7684\u63a8\u7406\u6a21\u5f0f\u53ef\u4ee5\u88ab\u84b8\u998f\u5230\u5c0f\u6a21\u578b\u4e2d\uff0c\u4e0e\u76f4\u63a5\u5728\u5c0f\u6a21\u578b\u4e0a\u8fdb\u884c\u5f3a\u5316\u5b66\u4e60\u76f8\u6bd4\uff0c\u8fd9\u79cd\u65b9\u6cd5\u80fd\u83b7\u5f97\u66f4\u597d\u7684\u6027\u80fd\u3002<\/li>\n<\/ul>\n<p><strong>\u2461 \u6838\u5fc3\u89e3\u51b3\u7684\u95ee\u9898<\/strong><\/p>\n<p>DeepSeek V3 \u548c R1 \u5f15\u7206\u5168\u7403\uff0c\u901a\u8fc7\u6a21\u578b\u67b6\u6784\u548c\u8bad\u7ec3\u65b9\u6cd5\u7684\u521b\u65b0\uff0c\u5411\u4e16\u754c\u8bc1\u660e\u4e86\u6a21\u578b\u7684\u6548\u7387\u63d0\u5347\u4e0d\u4e00\u5b9a\u8981\u4f9d\u8d56\u7b97\u529b\u7684\u5806\u53e0\uff0c\u53ef\u4ee5\u8bf4\u662f\u91cd\u5851\u4e86\u5927\u6a21\u578b\u8bad\u7ec3\u91cd\u6784\u7b97\u529b\u9700\u6c42\u683c\u5c40\u3002\u5176\u6b21\uff0c\u901a\u8fc7\u5f3a\u5316\u5b66\u4e60\u7684\u65b9\u5f0f\u8ba9\u5927\u6a21\u578b\u63a8\u7406\u80fd\u529b\u6709\u4e86\u91cc\u7a0b\u7891\u5f0f\u7684\u7a81\u7834\uff0c\u771f\u6b63\u8ba9\u5927\u6a21\u578b\u5b66\u4e60\u4f1a\u4e86\u601d\u8003\uff0c\u4e5f\u8ba9\u5708\u5185\u4eba\u7684\u5bf9\u6a21\u578b\u63a8\u7406\u80fd\u529b\u7684\u7126\u70b9\u90fd\u6295\u5411\u4e86\u7eaf\u5f3a\u5316\u5b66\u4e60\u65b9\u6cd5\u4e0a\u3002<\/p>\n<p><strong>\u2462 \u5bf9\u524d\u7aef\u793e\u533a\u7684\u5f71\u54cd<\/strong><\/p>\n<p>\u5bf9\u4e8e\u524d\u7aef\u5f00\u53d1\u8005\u800c\u8a00\uff0c\u6211\u4eec\u901a\u5e38\u662f\u5927\u6a21\u578b\u4f7f\u7528\u8005\u7684\u89d2\u8272\u3002DeepSeek R1 \u662f\u4e00\u4e2a\u63a8\u7406\u6a21\u578b\uff0c\u76f8\u8f83\u4e8e\u4e4b\u524d\u6307\u4ee4\u578b\u5927\u6a21\u578b\uff0c\u5b83\u7684\u63a8\u7406\u80fd\u529b\u80fd\u591f\u8ba9\u6211\u4eec\u4e0d\u7528\u50cf\u4ee5\u524d\u90a3\u6837\u8fc7\u4e8e\u601d\u8003\u548c\u7cbe\u4fee prompt \u4ee5\u8fbe\u5230\u66f4\u597d\u7684\u56de\u7b54\u6548\u679c\uff0c\u63a8\u7406\u6a21\u578b\u80fd\u591f\u6839\u636e\u4f60\u7684\u8bc9\u6c42\u601d\u8003\u5e76\u63a8\u7406\u51fa\u66f4\u4f18\u7684\u7b54\u6848\uff0c\u76f8\u5f53\u4e8e\u5728\u63a8\u7406\u7684\u8fc7\u7a0b\u4e2d\u81ea\u52a8\u8865\u5168 prompt\u3002\u6b64\u5916\uff0c\u8054\u7f51\u641c\u7d22\u548c\u601d\u8003\u8fc7\u7a0b\u7684\u5c55\u793a\u4e5f\u8ba9\u4f7f\u7528\u8005\u7684\u6211\u4eec\u80fd\u591f\u66f4\u6e05\u6670\u77e5\u9053\u5927\u6a21\u578b\u56de\u7b54\u7684\u8fc7\u7a0b\uff0c\u76f8\u8f83\u4e8e\u4ee5\u5f80\u6307\u4ee4\u6027\u5927\u6a21\u578b\u7684\u9ed1\u76d2\u800c\u8a00\uff0c\u4fbf\u4e8e\u8fde\u7eed\u95ee\u7b54\u7684\u8fc7\u7a0b\u4e2d\u8fdb\u884c\u8c03\u4f18\u3002<\/p>\n<p>\u4e0d\u8fc7\uff0c DeepSeek R1 \u4ecd\u7136\u5b58\u5728\u5927\u6a21\u578b\u7684\u5e7b\u89c9\u95ee\u9898\uff0c\u7531\u4e8e\u63a8\u7406\u6a21\u578b\u7ed9\u51fa\u7684\u56de\u7b54\u5177\u6709\u5f88\u5f3a\u7684\u903b\u8f91\u6027\uff0c\u56e0\u6b64\u5728\u4e13\u4e1a\u9886\u57df\u77e5\u8bc6\u4e0a\uff0c\u4e5f\u66f4\u5bb9\u6613\u5bf9\u7f3a\u4e4f\u4e13\u4e1a\u9886\u57df\u77e5\u8bc6\u7684\u4eba\u4ea7\u751f\u8ff7\u60d1\u6027\u3002<\/p>\n<h4>7. \u8de8\u7aef\uff1aReact Native \u5f15\u5165\u65b0\u67b6\u6784\uff0c\u539f\u751f\u9e3f\u8499\u63a8\u52a8\u8de8\u7aef\u53d1\u5c55<\/h4>\n<p>2024 \u5e74\u8de8\u7aef\u65b9\u5411\u4e5f\u6709\u4e86\u4e00\u4e9b\u65b0\u7684\u53d1\u5c55\u3002\u504f\u524d\u7aef\u7684\u8de8\u7aef\u89e3\u51b3\u65b9\u6848\u4e2d\uff0c React Native \u5728 0.76 \u7248\u672c\u4e2d\u5f15\u5165\u4e86\u65b0\u7684\u67b6\u6784\uff0c\u5bf9\u6e32\u67d3\u5668\u3001\u901a\u4fe1\u7cfb\u7edf\u7b49\u8fdb\u884c\u4e86\u5168\u9762\u7684\u91cd\u5199\uff1bTarui \u53d1\u5e03\u4e86 2.0 \u7248\u672c\uff0c\u652f\u6301\u4e86\u79fb\u52a8\u7aef\u5e94\u7528\u3002\u504f\u7ec8\u7aef\u7684\u65b9\u6848\u4e2d\uff0c \u817e\u8baf TDF \u7aef\u6846\u67b6\u4e2d\u57fa\u4e8e KMM\uff08Kotlin Multiplatform Mobile\uff09\u5b9e\u73b0\u7684 Kuilkly \u8de8\u7aef UI \u6846\u67b6\u5df2\u7ecf\u652f\u6301\u4e86 Web \u4f53\u7cfb\u548c\u539f\u751f\u9e3f\u8499\u9002\u914d\u3002\u6b64\u5916\uff0cHarmonyOS NEXT\uff08\u539f\u751f\u9e3f\u8499\uff09\u6b63\u5f0f\u53d1\u5e03\u5e76\u4e8e 2024 \u5e74 10 \u6708 8 \u65e5\u6b63\u5f0f\u5f00\u542f\u516c\u6d4b\uff0c\u5bf9\u8de8\u7aef\u6846\u67b6\u6709\u4e86\u65b0\u7684\u8981\u6c42\uff0cTaro\u3001uniapp \u7b49\u66f4\u591a\u7684\u4e3b\u6d41\u8de8\u7aef\u6846\u67b6\u4e5f\u5df2\u7ecf\u9002\u914d\u4e86\u539f\u751f\u9e3f\u8499\uff1b\u81f3\u4eca\u5df2\u6709\u8d85\u8fc71.5\u4e07\u4e2a\u9e3f\u8499\u7684\u539f\u751f\u5e94\u7528\u7ed9\u5230\u6d88\u8d39\u8005\u4f7f\u7528\uff0c\u5305\u62ec\u817e\u8baf\u7684\u793e\u4ea4\u3001\u6e38\u620f\u7b49\u4e3b\u6d41\u5e94\u7528\u3002<\/p>\n<p><strong>(1) React Native \u5f15\u5165\u65b0\u67b6\u6784<\/strong><\/p>\n<p>2024 \u5e74\uff0cReact Native \u6700\u5927\u7684\u53d8\u5316\u5c31\u662f\u5728 0.68 \u7248\u672c\u4e2d\u5f15\u5165\u4e86\u65b0\u67b6\u6784\uff0c\u4e3b\u8981\u76ee\u6807\u662f\u89e3\u51b3\u8001\u67b6\u6784\u5728\u6027\u80fd\u548c\u7075\u6d3b\u6027\u65b9\u9762\u7684\u4e00\u4e9b\u95ee\u9898\u3002\u8001\u67b6\u6784\u4f9d\u8d56\u6865\u63a5\u673a\u5236\u901a\u8fc7 JSON \u5e8f\u5217\u5316\u548c\u53cd\u5e8f\u5217\u5316\u7684\u65b9\u5f0f\u5b9e\u73b0 JS \u5c42\u548c Native \u5c42\u4e4b\u95f4\u7684\u6570\u636e\u901a\u4fe1\u548c\u4f20\u9012\u7684\uff0c\u8fd9\u79cd\u6865\u63a5\u673a\u5236\u662f\u5f02\u6b65\u7684\u3001\u5355\u7ebf\u7a0b\u7684\uff0c\u540c\u65f6\u5e26\u6765\u4e86\u989d\u5916\u7684\u5f00\u9500\uff0c\u5b58\u5728\u6027\u80fd\u74f6\u9888\u3002<\/p>\n<p>\u4e3a\u4e86\u89e3\u51b3\u4e0a\u8ff0\u95ee\u9898\uff0c\u65b0\u67b6\u6784\u5b9e\u73b0\u4e86\u5168\u65b0\u7684 TurboModule \u7cfb\u7edf\uff0c\u5728 JS \u548c Native \u4e4b\u95f4\u589e\u52a0\u4e86\u4e00\u4e2a\u4e2d\u95f4\u5c42\u2014\u2014 JSI\uff0cJSI \u662f\u4f7f\u7528 C++ \u5b9e\u73b0\u7684\uff0cJS \u53ef\u4ee5\u901a\u8fc7 JSI \u76f4\u63a5\u83b7\u53d6 C++ \u5bf9\u8c61\u7684\u5f15\u7528\uff0c\u53ef\u4ee5\u65e0\u9700\u901a\u8fc7 Bridge \u5c31\u80fd\u8c03\u7528 Native \u7684\u65b9\u6cd5\uff0c\u79fb\u9664\u4e86 JSON \u5e8f\u5217\u5316\u548c\u53cd\u5e8f\u5217\u5316\u7684\u6027\u80fd\u635f\u8017\uff0c\u5b9e\u73b0\u4e86\u9ad8\u6027\u80fd\u7684\u540c\u6b65\u8c03\u7528\u548c\u901a\u4fe1\u3002\u6b64\u5916\uff0cJSI \u8fd8\u5177\u5907\u540c\u6b65\u6267\u884c\u3001\u5e76\u53d1\u3001\u4ee3\u7801\u5171\u4eab\u548c\u7c7b\u578b\u5b89\u5168\u7b49\u4f18\u52bf\u3002\u5728 TurboModule \u7684\u57fa\u7840\u4e0a\uff0c\u65b0\u67b6\u6784\u8fd8\u5b9e\u73b0\u4e86\u65b0\u7684\u6e32\u67d3\u7cfb\u7edf\u2014\u2014 Fabric\uff0c\u5728\u4e0e\u5bbf\u4e3b\u5e73\u53f0\u7684\u4e92\u64cd\u4f5c\u6027\u3001\u6e32\u67d3\u6027\u80fd\u3001\u7c7b\u578b\u5b89\u5168\u7b49\u65b9\u9762\u90fd\u6709\u660e\u663e\u7684\u6536\u76ca\u548c\u63d0\u5347\u3002\u66f4\u8be6\u7ec6\u7684\u6280\u672f\u7ec6\u8282\u53ef\u4ee5\u524d\u5f80\u65b0\u67b6\u6784\u4ecb\u7ecd \u00b7 React Native \u4e2d\u6587\u7f51\u00a0\u67e5\u770b\u3002<\/p>\n<p><strong>(2) Tarui 2.0 \u652f\u6301\u79fb\u52a8\u7aef\u5e94\u7528<\/strong><\/p>\n<p>Tarui \u662f\u5bf9\u6807 Electron \u7684\u57fa\u4e8e Rust \u684c\u9762\u8de8\u5e73\u53f0\u5f00\u53d1\u6846\u67b6\uff0c\u4e3b\u6253\u8f7b\u91cf\u3001\u6027\u80fd\u548c\u5b89\u5168\uff0c\u5728\u6e32\u67d3\u65b9\u9762\u590d\u7528\u7cfb\u7edf Webview\uff0c\u7f16\u8bd1\u6253\u5305\u540e\u7684\u5e94\u7528\u4f53\u79ef\u8f83\u5c0f\u3002<\/p>\n<p>2024 \u5e74\uff0cTarui \u53d1\u5e03\u4e86 2.0 \u7a33\u5b9a\u7248\uff0c\u6700\u91cd\u8981\u7684\u7279\u6027\u5c31\u662f\u5f00\u59cb\u652f\u6301\u79fb\u52a8\u7aef\u5e94\u7528\uff0c\u53ef\u4ee5\u6784\u5efa\u51fa\u5b89\u5353\u548c iOS \u5e94\u7528\u3002Tarui \u652f\u6301\u4f7f\u7528\u539f\u751f\u8bed\u8a00\uff08Swift\/Kotlin\uff09\u7f16\u5199\u4ee3\u7801\u3001\u6784\u5efa\u63a5\u53e3\uff0c\u5c06\u63a5\u53e3\u80fd\u529b\u66b4\u9732\u7ed9 Rust \u6216\u524d\u7aef\u4f7f\u7528\u30022.0 \u66f4\u591a\u7279\u6027\u8bf7\u524d\u5f80\u00a0Tauri 2.0 Stable Release | Tauri\u00a0\u67e5\u770b\u3002<\/p>\n<p>\u4f46\u662f Rust \u7684\u5b66\u4e60\u66f2\u7ebf\u6bd4\u8f83\u9661\u5ced\uff0c\u751f\u6001\u548c\u529f\u80fd\u65b9\u9762\u8fd8\u4e0d\u591f\u5b8c\u5584\uff0cTauri \u8981\u60f3\u8d85\u8d8a Electron \u6210\u4e3a\u6700\u4e3b\u6d41\u7684\u8de8\u5e73\u53f0\u5f00\u53d1\u6846\u67b6\u53ea\u80fd\u8bf4\u662f\u672a\u6765\u53ef\u671f\u3002<\/p>\n<p><strong>(3) Kuikly \u652f\u6301 Web \u4f53\u7cfb\u548c\u539f\u751f\u9e3f\u8499\u9002\u914d<\/strong><\/p>\n<p>Kuikly \u662f\u817e\u8baf TDF \u6846\u67b6\u4e0b\u57fa\u4e8e Kotlin \u7684\u7eaf\u539f\u751f\u8de8\u7aef\u89e3\u51b3\u65b9\u6848\uff0c\u5305\u62ec\u57fa\u4e8e Kotlin Multiplatform Mobile\uff08KMM\uff09\u6784\u5efa\u7684 UI \u8de8\u7aef\u6846\u67b6\uff08KuiklyUI\uff09\u548c\u63d0\u4f9b\u57fa\u4e8e Kotlin \u7684\u8de8\u7aef\u57fa\u5efa\u80fd\u529b\uff08KuiklyBase\uff09\u3002KuiklyUI \u5229\u7528\u4e86 KMM \u903b\u8f91\u8de8\u5e73\u53f0\u7684\u80fd\u529b\uff0c\u62bd\u8c61\u51fa\u901a\u7528\u7684\u8de8\u5e73\u53f0 UI \u6e32\u67d3\u63a5\u53e3\uff0c\u4ece\u800c\u5b9e\u73b0 UI \u8de8\u5e73\u53f0\u3002<\/p>\n<p>\u4e00\u5f00\u59cb Kuikly \u53ea\u652f\u6301\u8de8\u5b89\u5353\u548c IOS \u4e24\u7aef\uff0c Kuikly \u56e2\u961f\u57282024 \u5e74\u7ee7\u7eed\u652f\u6301\u4e86 Web\u3001 Electron\u3001\u5c0f\u7a0b\u5e8f\u548c\u539f\u751f\u9e3f\u8499\u7684\u9002\u914d\uff0c\u5b9e\u73b0\u4e86\u4e00\u7801\u516d\u7aef\uff0c\u80fd\u591f\u63a8\u5e7f\u5230\u66f4\u591a\u7684\u4e1a\u52a1\u573a\u666f\u4e2d\u4f7f\u7528\u3002\u5173\u4e8e Kuikly \u7684\u66f4\u591a\u5185\u5bb9\u8bf7\u67e5\u770b Kuikly \u5b98\u7f51\u3002<\/p>\n<p><strong>(4) \u8de8\u7aef\u6846\u67b6\u9002\u914d\u539f\u751f\u9e3f\u8499<\/strong><\/p>\n<p>2024\u5e74\u968f\u7740 HarmonyOS NEXT\uff08\u539f\u751f\u9e3f\u8499\uff09\u7684\u6b63\u5f0f\u516c\u6d4b\uff0c\u81f3\u5c11\u5728\u56fd\u5185\u5927\u80cc\u666f\u4e0b\uff0c\u4e3b\u6d41\u5e94\u7528\u57fa\u672c\u5df2\u7ecf\/\u6b63\u5728\u5f00\u53d1 HarmonyOS NEXT \u7248\u672c\uff0c\u57fa\u4e8e\u6b64\u4e5f\u50ac\u751f\u4e86\u524d\u7aef\u5f00\u6e90\u6846\u67b6\u7684\u8de8\u7aef\u9002\u914d\u9700\u6c42\u3002\u4f46\u76ee\u524d\u770b\u56fd\u5916\u7684\u70ed\u95e8\u6846\u67b6\u5b98\u65b9\u5e76\u65e0\u9002\u914d\u8ba1\u5212\uff0c\u4e3b\u8981\u4f9d\u8d56\u56fd\u5185\u7684\u5f00\u53d1\u8005\u6280\u672f\u652f\u6301\u3002<\/p>\n<ul data-id=\"u738a58b-xJGNfyqC\">\n<li data-id=\"ld70c578-nus8aDCk\">Fluter \u6846\u67b6\u5b98\u65b9\u4e0d\u652f\u6301\uff0c\u7531\u9e3f\u8499\u5f00\u53d1\u8005\u793e\u533a\u57fa\u4e8e\u8f83\u8001\u7684 Fluter 3.7 \u6269\u5c55\u9002\u914d\uff0c\u5df2\u65e0\u6cd5\u540c\u6b65 Fluter \u6700\u65b0\u7248\u672c\u3002<\/li>\n<li data-id=\"ld70c578-7n9EJRMi\">React Native \u6846\u67b6\u5b98\u65b9\u4e0d\u652f\u6301\uff0c\u7531\u9e3f\u8499\u5f00\u53d1\u8005\u793e\u533a\u57fa\u4e8e\u8f83\u65b0\u7684react native 0.72.53 \u6269\u5c55\u9002\u914d\uff0c\u957f\u671f\u770b\u540c\u6837\u5b58\u5728\u540c\u6b65\u66f4\u65b0\u7684\u95ee\u9898\u3002<\/li>\n<li data-id=\"ld70c578-WZRQztoI\">uni-app \u6846\u67b6\u5e74\u4e2d\u652f\u6301\u4e86\u57fa\u4e8e Hybrid App \u65b9\u6848\u7684\u8de8\u7aef\u9002\u914d\uff0c\u4f46\u57fa\u4e8e\u539f\u751f\u6e32\u67d3\u65b9\u6848\u7684uni-app x\u6682\u65e0\u8fdb\u5c55\u3002<\/li>\n<li data-id=\"ld70c578-wq8T1bu0\">Taro \u6846\u67b6\u652f\u6301\u4e86\u539f\u751f\u6e32\u67d3\u65b9\u6848\u7684\u8de8\u7aef\u9002\u914d\uff0c\u501f\u9274 ArkUI \u7684\u7c7bWeb\u5f00\u53d1\u8303\u5f0f\u3002<\/li>\n<\/ul>\n<h4>8. \u4f4e\u4ee3\u7801\uff1aAI\u8d4b\u80fd\u4f4e\u4ee3\u7801\u5e73\u53f0\uff0c\u63a8\u52a8\u5e73\u53f0\u529f\u80fd\u667a\u80fd\u5316\u5347<\/h4>\n<p>\u4f4e\u4ee3\u7801\u5e73\u53f0\u662f\u4e00\u79cd\u52a0\u901f\u8f6f\u4ef6\u5f00\u53d1\u7684\u9ad8\u6548\u5de5\u5177\uff0c\u901a\u8fc7\u53ef\u89c6\u5316\u548c\u6a21\u578b\u9a71\u52a8\u7684\u65b9\u5f0f\u51cf\u5c11\u624b\u52a8\u7f16\u7801\uff0c\u5feb\u901f\u6784\u5efa\u5e94\u7528\u3002\u5b83\u80fd\u663e\u8457\u63d0\u5347\u5f00\u53d1\u6548\u7387\uff0c\u964d\u4f4e\u5f00\u53d1\u6210\u672c\uff0c\u652f\u6301\u4f01\u4e1a\u5feb\u901f\u5b9e\u73b0\u6570\u5b57\u5316\u8f6c\u578b\u3002\u4ece\u4ea7\u4e1a\u94fe\u7ed3\u6784\u3001\u5e02\u573a\u89c4\u6a21\uff0c\u4f4e\u4ee3\u7801\u4ece 2020 \u5e74\u5f00\u59cb\u5230 2024 \u5e74\u90fd\u5728\u4e0d\u65ad\u7684\u5f80\u66f4\u52a0\u6210\u719f\u7684\u8d8b\u52bf\u53bb\u53d1\u5c55\uff0c\u5168\u7403\u8303\u56f4\u5185\u4f4e\u4ee3\u7801\u5728\u4f01\u4e1a\u4e2d\u7684\u6e17\u900f\u7387\u5df2\u7ecf\u8d85\u8fc7 50%\uff0c\u968f\u7740\u4f01\u4e1a\u6570\u5b57\u5316\u8f6c\u578b\u9700\u6c42\u7684\u63d0\u5347\u548c\u5bf9\u654f\u6377\u5f00\u53d1\u9700\u6c42\u7684\u589e\u52a0\uff0c\u4f4e\u4ee3\u7801\u5e73\u53f0\u5728\u4e2d\u56fd\u7684\u5e94\u7528\u9010\u6e10\u666e\u53ca\uff0c\u5e02\u573a\u89c4\u6a21\u4e0d\u65ad\u6269\u5927\u3002<\/p>\n<p>\u5728 2024 \u5e74\u4f4e\u4ee3\u7801\u9886\u57df\u4e0e AI \u7684\u7ed3\u5408\u5448\u73b0\u51fa\u591a\u79cd\u521b\u65b0\u70b9\uff0c\u8fd9\u4e9b\u521b\u65b0\u70b9\u4e0d\u4ec5\u63d0\u5347\u4e86\u4f4e\u4ee3\u7801\u5e73\u53f0\u7684\u529f\u80fd\u548c\u6027\u80fd\uff0c\u8fd8\u4e3a\u4f01\u4e1a\u7684\u6570\u5b57\u5316\u8f6c\u578b\u5e26\u6765\u4e86\u65b0\u7684\u673a\u9047\u548c\u4ef7\u503c\u3002<\/p>\n<ul data-id=\"u738a58b-SSSJWWe2\">\n<li data-id=\"ld70c578-8yKDLdcK\">\u4ee3\u7801\u7ea0\u9519\u4e0e\u4f18\u5316\uff1a\u5728\u4f4e\u4ee3\u7801\u5f00\u53d1\u8fc7\u7a0b\u4e2d\uff0cAI \u53ef\u4ee5\u5b9e\u65f6\u76d1\u6d4b\u4ee3\u7801\u7684\u8d28\u91cf\uff0c\u81ea\u52a8\u53d1\u73b0\u6f5c\u5728\u7684\u9519\u8bef\u548c\u95ee\u9898\uff0c\u5e76\u63d0\u4f9b\u4f18\u5316\u5efa\u8bae\u3002\u8fd9\u6709\u52a9\u4e8e\u63d0\u9ad8\u4ee3\u7801\u7684\u51c6\u786e\u6027\u548c\u6027\u80fd\uff0c\u964d\u4f4e\u540e\u671f\u7ef4\u62a4\u548c\u8c03\u8bd5\u7684\u6210\u672c\u3002<\/li>\n<li data-id=\"ld70c578-hxNFBEeb\">\u667a\u80fd\u63d0\u793a\u4e0e\u5efa\u8bae\uff1aAI \u53ef\u4ee5\u6839\u636e\u5f00\u53d1\u8005\u7684\u64cd\u4f5c\u4e60\u60ef\u548c\u4ee3\u7801\u4e0a\u4e0b\u6587\uff0c\u63d0\u4f9b\u667a\u80fd\u7684\u4ee3\u7801\u63d0\u793a\u3001\u7ec4\u4ef6\u63a8\u8350\u548c\u5f00\u53d1\u5efa\u8bae\uff0c\u5e2e\u52a9\u5f00\u53d1\u8005\u66f4\u9ad8\u6548\u5730\u8fdb\u884c\u5e94\u7528\u5f00\u53d1\u548c\u8c03\u8bd5\u3002<\/li>\n<\/ul>\n<p>\u57fa\u4e8e\u5e73\u53f0\u81ea\u8eab\u6c89\u6dc0\u7684\u7ec4\u4ef6\uff0c\u7531 AI \u5bf9 Prompt \u7684\u7406\u89e3\u8fdb\u884c\u4e8c\u6b21\u7ec4\u5408\uff0c\u751f\u6210\u7b26\u5408\u4e1a\u52a1\u9700\u8981\u7684DSL\uff0c\u5728 2024 \u5e74\u4e5f\u9646\u7eed\u6709\u5bf9\u5e94\u7684\u4ea7\u54c1\u5f62\u6001\u843d\u5730\u3002\u6bd4\u5982\u5fae\u4fe1\u7684\u4e91\u6a21\u677f\u96f6\u4ee3\u7801\u642d\u5efa\u5e73\u53f0\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s5.51cto.com\/oss\/202503\/05\/078aec5882ce5115db2982cee8dbd333238e0a.webp\" data-type=\"block\" \/><\/p>\n<p>\u4e5f\u53ef\u4ee5\u76f4\u63a5\u901a\u8fc7 AI \u751f\u6210\u6a21\u677f\u80fd\u529b\uff0c\u8f93\u5165\u6587\u672c\u63cf\u8ff0\uff0c\u81ea\u52a8\u751f\u6210\u548c\u9009\u62e9\u9002\u5408\u7684\u6a21\u677f\uff0c\u65e0\u9700\u4efb\u4f55\u4ee3\u7801\u8fc7\u7a0b\uff0c\u771f\u6b63\u505a\u5230\u6587\u751f\u5e94\u7528\u3002<\/p>\n<h4>9. D2C\uff1aAI \u8d4b\u80fd D2C \u521d\u89c1\u96cf\u5f62\uff0c\u4f46\u4ecd\u65e7\u672a\u6765\u53ef\u671f<\/h4>\n<p>\u8fd9\u4e9b\u5e74\u6765\uff0c \u4e1a\u754c\u5bf9\u4e8e D2C\uff08Design to Code\uff0c\u8bbe\u8ba1\u5230\u4ee3\u7801\uff09 \u7684\u63a2\u7d22\u4ece\u672a\u505c\u6b47\uff0c\u5e0c\u671b\u80fd\u505a\u5230\u6781\u81f4\u3002\u76ee\u524d\uff0c\u5728 D2C \u9886\u57df\u8f83\u4e3a\u6210\u719f\u7684\u6280\u672f\u65b9\u6848\u662f\u57fa\u4e8e Figma\u3001Sketch \u7b49\u8bbe\u8ba1\u5e73\u53f0\u8fdb\u884c UI \u8fd8\u539f\uff0c\u652f\u6301\u5bf9\u8bbe\u8ba1\u7a3f\u8fdb\u884c\u4f18\u5316\u548c\u4fee\u590d\u3001\u667a\u80fd\u5e03\u5c40\u3001\u7ec4\u4ef6\u8bc6\u522b\u7b49\u529f\u80fd\u3002\u4ee3\u8868\u4ea7\u54c1\u6709\u5b57\u8282\u7684 semi\u3001\u7f51\u6613\u7684\u6d77\u8c79\u3001\u963f\u91cc\u7684 ImageCook \u7b49\u3002<\/p>\n<p>\u5230\u4e86 2024 \u5e74\uff0c\u968f\u7740 AI \u6280\u672f\u7684\u84ec\u52c3\u5174\u8d77\uff0cD2C \u4e0e AI \u7684\u878d\u5408\u9010\u6e10\u6210\u4e3a\u65b0\u7684\u53d1\u5c55\u8d8b\u52bf\u3002\u76ee\u524d\u5e02\u9762\u4e0a AI + D2C \u4e3b\u8981\u4ee5\u4e0b\u51e0\u79cd\u7c7b\u578b\uff1a<\/p>\n<p><strong>(1) \u8fd0\u7528 AI \u80fd\u529b\u5bf9\u4f20\u7edf D2C \u751f\u6210\u7684\u4ee3\u7801\u8fdb\u884c\u4f18\u5316\uff0c\u89e3\u51b3\u8bed\u4e49\u5316\u8f83\u5dee\u7684\u95ee\u9898<\/strong><\/p>\n<p>\u4f20\u7edf D2C \u751f\u6210\u7684\u662f\u9759\u6001\u4ee3\u7801\uff0c\u5728\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u8fd9\u7c7b\u4ee3\u7801\u5b58\u5728\u8bed\u4e49\u5316\u6b20\u4f73\u7684\u72b6\u51b5\uff0c\u4ece\u800c\u5bfc\u81f4\u5176\u53ef\u8bfb\u6027\u4e0e\u53ef\u7ef4\u62a4\u6027\u90fd\u8f83\u5dee\u3002\u4f8b\u5982\uff0c\u7531\u767e\u5ea6\u548cYY\u63a8\u51fa\u7684YYF2C\u4ea7\u54c1\uff0c\u5c31\u7ed3\u5408\u4e86 AI \u7684\u80fd\u529b\uff0c\u5bf9\u8fd9\u79cd\u8bed\u4e49\u5316\u8f83\u5dee\u7684\u4ee3\u7801\u8fdb\u884c\u4f18\u5316\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s2.51cto.com\/oss\/202503\/05\/578f781853a7f55ef21567886a84127b4d4ffd.webp\" data-type=\"block\" \/><\/p>\n<p><strong>(2) \u56fe\u7247 + \u95ee\u7b54\u5f0f AI \u6a21\u5f0f<\/strong><\/p>\n<p>\u8fd9\u79cd\u6a21\u5f0f\u5229\u7528 AI \u7684\u56fe\u50cf\u7406\u89e3\u80fd\u529b\uff0c\u7528\u6237\u4e0a\u4f20\u56fe\u7247\u540e\uff0cAI \u80fd\u591f\u81ea\u52a8\u5bf9\u56fe\u7247\u4e2d\u7684\u7ec4\u4ef6\u8fdb\u884c\u62c6\u5206\u5e76\u751f\u6210\u4ee3\u7801\u3002\u800c\u4e14\uff0c\u8fd8\u53ef\u4ee5\u901a\u8fc7\u95ee\u7b54\u5f0f\u7684\u65b9\u5f0f\u6765\u5bf9\u751f\u6210\u7684\u4ee3\u7801\u8fdb\u884c\u8c03\u6574\uff0c\u5e76\u4e14\u903b\u8f91\u4ee3\u7801\u4e5f\u80fd\u591f\u501f\u52a9 AI \u7684\u8f85\u52a9\u6765\u751f\u6210\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s8.51cto.com\/oss\/202503\/05\/f66b8209078ddaeff56093640bc611f51c0db7.webp\" data-type=\"block\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s5.51cto.com\/oss\/202503\/05\/f5ef733805003494fbe11422d65787c5374e70.webp\" data-type=\"block\" \/><\/p>\n<p>2024 \u5e74\uff0c\u76f4\u63a5\u5229\u7528\u56fe\u7247\u751f\u6210\u4ee3\u7801\uff0c\u518d\u901a\u8fc7\u95ee\u7b54\u8fdb\u884c\u8c03\u6574\u7684\u65b9\u5f0f\uff0c\u5176\u4f18\u52bf\u6b63\u9010\u6e10\u663e\u73b0\u3002\u4e0d\u8fc7\uff0c\u5c31\u76ee\u524d\u800c\u8a00\uff0c\u8fd9\u79cd\u65b9\u5f0f\u5728\u89c6\u89c9\u8fd8\u539f\u8981\u6c42\u8f83\u9ad8\u7684\u573a\u666f\u4e0b\u4e0d\u592a\u9002\u7528\u3002\u7136\u800c\uff0c\u968f\u7740\u672a\u6765\u5927\u6a21\u578b\u5bf9 UI \u5143\u7d20\u8bc6\u522b\u80fd\u529b\u7684\u4e0d\u65ad\u589e\u5f3a\uff0c\u901a\u8fc7\u56fe\u7247\u751f\u6210\u4ee3\u7801\u8fd9\u4e00\u65b9\u5f0f\u4ecd\u7136\u5145\u6ee1\u671f\u5f85\u3002<\/p>\n<h4>10. WASM\uff1a\u7ec4\u4ef6\u6a21\u578b\u4e0e GC \u9769\u65b0\u9a71\u52a8\u8de8\u5e73\u53f0\u5168\u573a\u666f\u5e94\u7528\u62d3\u5c55<\/h4>\n<p>WebAssembly \u5728 2024 \u5e74\u7ee7\u7eed\u53d1\u5c55\uff0c\u5e26\u6765\u4e86\u591a\u9879\u65b0\u6280\u672f\u548c\u5e94\u7528\u8d8b\u52bf\uff0c\u5c06 Web Assembly \u7684\u5b9a\u4f4d\u9010\u6e10\u63a8\u52a8\u6210\u4e3a\u4e00\u4e2a\u901a\u7528\u7684\u8f7b\u91cf\u7ea7\uff0c\u8de8\u5e73\u53f0\uff0c\u8de8\u8bed\u8a00\u7684\u6807\u51c6\u865a\u62df\u673a\u73af\u5883\u3002\u8fd9\u4e3a Web Assembly \u672a\u6765\u7684\u5e94\u7528\u5e26\u6765\u4e86\u65e0\u9650\u7684\u53ef\u80fd\u3002<\/p>\n<p><strong>(1) \u7ec4\u4ef6\u6a21\u578b\u7684\u8fdb\u4e00\u6b65\u53d1\u5c55<\/strong><\/p>\n<p>WebAssembly \u7684\u7ec4\u4ef6\u6a21\u578b\uff08Component Model\uff09\u662f 2024 \u5e74\u6280\u672f\u53d1\u5c55\u7684\u5173\u952e\u9886\u57df\uff0c\u65e8\u5728\u89e3\u51b3 WebAssembly \u8de8\u8bed\u8a00\u4e92\u64cd\u4f5c\u6027\u548c\u6a21\u5757\u5316\u6784\u5efa\u7684\u95ee\u9898\u3002<\/p>\n<p>\u2460 \u76ee\u6807<\/p>\n<p>\u901a\u8fc7\u6807\u51c6\u5316\u63a5\u53e3\u548c\u6a21\u5757\u5316\u8bbe\u8ba1\uff0c\u4f7f\u4e0d\u540c\u7f16\u7a0b\u8bed\u8a00\u5b9e\u73b0\u7684\u7ec4\u4ef6\u53ef\u4ee5\u4e92\u76f8\u534f\u4f5c\uff0c\u65e0\u9700\u4e86\u89e3\u5f7c\u6b64\u7684\u5e95\u5c42\u5b9e\u73b0\u7ec6\u8282\u3002\u589e\u5f3a WebAssembly \u7684\u6613\u7528\u6027\u548c\u6269\u5c55\u6027\uff0c\u63d0\u4f9b\u4e00\u4e2a\u7edf\u4e00\u7684\u65b9\u5f0f\u6765\u7ec4\u5408\u548c\u590d\u7528\u4ee3\u7801\u6a21\u5757\u3002<\/p>\n<p>\u2461 \u57fa\u672c\u539f\u7406<\/p>\n<p>\u7ec4\u4ef6\u6a21\u578b\u672c\u8d28\u4e0a\u662f\u89c4\u8303\u4e86 web assembly \u7684\u53ef\u6267\u884c\u6587\u4ef6\u683c\u5f0f\uff0c\u4ee5\u53ca\u4e0d\u540c\u6a21\u5757\u4e4b\u95f4\u7684\u94fe\u63a5\u65b9\u5f0f\u3002\u8fd9\u5957\u6a21\u578b\u8ddf\u6211\u4eec\u5e38\u89c1\u7684\u7f16\u8bd1\u8bed\u8a00\u9759\u6001\u94fe\u63a5\uff0c\u52a8\u6001\u94fe\u63a5\u7684\u6982\u5ff5\u76f8\u540c\u3002\u7ec4\u4ef6\u6a21\u578b\u4e0d\u4ec5\u5b9a\u4e49\u4e86\u7ec4\u4ef6\u8868\u793a\u4e00\u4e2a\u53ef\u4ee5\u6267\u884c\u7684\u6587\u4ef6\uff0c\u800c\u6a21\u5757\u8868\u793a\u4e00\u4e2a\u9759\u6001\u5e93\uff0c\u6216\u8005\u52a8\u6001\u5e93\u3002\u540c\u65f6\u5b9a\u4e49\u4e86\u9759\u6001\u94fe\u63a5\uff0c\u52a8\u6001\u94fe\u63a5\u7684\u5177\u4f53\u7ec6\u8282\u3002\u9759\u6001\u5e93\u53ef\u4ee5\u5728\u7f16\u8bd1\u671f\u8fdb\u884c\u94fe\u63a5\uff0c\u800c\u52a8\u6001\u5e93\u53ef\u4ee5\u5728\u8fd0\u884c\u65f6\u52a8\u6001\u52a0\u8f7d\u3002<\/p>\n<p>\u7ec4\u4ef6\u6a21\u578b\u4e5f\u5141\u8bb8\u5f00\u53d1\u8005\u901a\u8fc7\u6a21\u5757\u5316\u65b9\u5f0f\u6784\u5efa\u548c\u7ec4\u5408\u5e94\u7528\u7a0b\u5e8f\uff0c\u89e3\u51b3\u4e86\u8de8\u8bed\u8a00\u4e92\u64cd\u4f5c\u6027\u7684\u95ee\u9898\u3002\u73b0\u5728\u652f\u6301\u7f16\u8bd1\u6210 web assembly \u7684\u8bed\u8a00\u8d8a\u6765\u8d8a\u591a\uff0c\u7ec4\u4ef6\u6a21\u578b\u7684\u5f15\u5165\uff0c\u8ba9\u591a\u8bed\u8a00\u5171\u540c\u5f00\u53d1\u4e00\u5957\u7cfb\u7edf\u975e\u5e38\u6709\u5229\u3002\u4f7f\u7528\u7ec4\u4ef6\u6a21\u578b\u53ef\u4ee5\u8ba9\u4e0d\u540c\u8bed\u8a00\u5f00\u53d1\u7684\u6a21\u5757\u5728\u540c\u4e00\u4e2a\u6807\u51c6\u5f62\u6001\u4e0b\u5f97\u5230\u590d\u7528\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s3.51cto.com\/oss\/202503\/05\/16b7b475072564349c2012e42d441a972c558d.webp\" data-type=\"block\" \/><\/p>\n<p>\uff08\u56fe\u5f15\u7528\u81f3\u00a0https:\/\/zhuanlan.zhihu.com\/p\/615815778\u00a0\uff09<\/p>\n<p>\u2462 \u7ec4\u4ef6\u6a21\u578b\u7684\u4f18\u52bf\uff1a<\/p>\n<ul data-id=\"u738a58b-hlKBeNCA\">\n<li data-id=\"ld70c578-BzVqZoUg\">\u8de8\u8bed\u8a00\u4e92\u64cd\u4f5c\u6027\uff1a*\u5141\u8bb8\u4f7f\u7528\u4e0d\u540c\u7f16\u7a0b\u8bed\u8a00\uff08\u5982 Rust\u3001Python\u3001JavaScript \u7b49\uff09\u7f16\u5199\u7684\u7ec4\u4ef6\u76f8\u4e92\u534f\u4f5c\u3002\u901a\u8fc7 WebAssembly Interface Types\uff08WIT\uff09\uff0c\u5b9e\u73b0\u8bed\u8a00\u95f4\u6570\u636e\u7c7b\u578b\u7684\u81ea\u52a8\u8f6c\u6362\uff0c\u964d\u4f4e\u5f00\u53d1\u590d\u6742\u5ea6\u3002<\/li>\n<li data-id=\"ld70c578-ucpDDPcf\">\u6a21\u5757\u5316\u5f00\u53d1\uff1a*\u652f\u6301\u5c06\u590d\u6742\u5e94\u7528\u7a0b\u5e8f\u62c6\u5206\u4e3a\u591a\u4e2a\u72ec\u7acb\u7684\u6a21\u5757\uff0c\u6bcf\u4e2a\u6a21\u5757\u53ef\u4ee5\u72ec\u7acb\u5f00\u53d1\u3001\u6d4b\u8bd5\u548c\u90e8\u7f72\u3002\u6a21\u5757\u5316\u8bbe\u8ba1\u51cf\u5c11\u4e86\u4ee3\u7801\u91cd\u590d\uff0c\u63d0\u9ad8\u4e86\u5f00\u53d1\u6548\u7387\u548c\u53ef\u7ef4\u62a4\u6027\u3002<\/li>\n<li data-id=\"ld70c578-SMBbaoZj\">\u9ad8\u6548\u90e8\u7f72\u548c\u6267\u884c\uff1a**\u7ec4\u4ef6\u6a21\u578b\u63d0\u4f9b\u8f7b\u91cf\u7ea7\u7684\u8fd0\u884c\u65f6\u9694\u79bb\u548c\u9ad8\u6027\u80fd\u6267\u884c\uff0c\u4f7f\u5176\u9002\u5408\u5728\u8d44\u6e90\u53d7\u9650\u73af\u5883\uff08\u5982 IoT \u548c\u8fb9\u7f18\u8bbe\u5907\uff09\u4e2d\u8fd0\u884c\u3002<\/li>\n<li data-id=\"ld70c578-lPtoZXij\">\u52a8\u6001\u6269\u5c55\u529f\u80fd\uff1a**\u652f\u6301\u52a8\u6001\u52a0\u8f7d\u548c\u5378\u8f7d\u6a21\u5757\uff0c\u65b9\u4fbf\u5f00\u53d1\u8005\u6839\u636e\u9700\u6c42\u6269\u5c55\u5e94\u7528\u529f\u80fd\uff0c\u800c\u65e0\u9700\u91cd\u65b0\u7f16\u8bd1\u6574\u4e2a\u5e94\u7528\u3002<\/li>\n<\/ul>\n<p><strong>(2) \u5783\u573e\u56de\u6536\uff08GC\uff09\u652f\u6301<\/strong><\/p>\n<p>Web Assembly \u5f15\u5165 GC \u7684\u652f\u6301\uff0c\u76ee\u524d\u4ecd\u7136\u5c5e\u4e8e\u6269\u5c55\u529f\u80fd\uff0c\u9700\u8981\u8fdb\u884c\u6807\u51c6\u5316\u548c\u4f18\u5316\u3002<\/p>\n<p>\u2460 \u76ee\u6807<\/p>\n<p>WebAssembly\u5f15\u5165\u4e86 GC \u7279\u6027\uff0c\u65e8\u5728\u66f4\u9ad8\u6548\u5730\u652f\u6301\u9700\u8981\u5783\u573e\u56de\u6536\u7684\u9ad8\u7ea7\u8bed\u8a00\uff0c\u5982 TypeScript\u3001Java\u3001Kotlin \u548c Python \u7b49\u3002\u4f7f\u8fd9\u4e9b\u8bed\u8a00\u7684\u5e94\u7528\u53ef\u4ee5\u76f4\u63a5\u7f16\u8bd1\u4e3a WebAssembly \u4ee3\u7801\uff0c\u800c\u65e0\u9700\u5c06\u865a\u62df\u673a\u4e00\u540c\u7f16\u8bd1\uff0c\u4ece\u800c\u63d0\u5347\u8fd0\u884c\u6548\u7387\u3002<\/p>\n<p>\u2461 \u57fa\u672c\u539f\u7406<\/p>\n<p>\u901a\u8fc7\u5728 Web Assembly \u7684\u8fd0\u884c\u65f6\u91cc\u52a0\u5165 GC \u7684\u652f\u6301\uff0c\u8bed\u8a00\u7f16\u8bd1\u5668\u5728\u5c06\u8bed\u8a00\u53d8\u6210\u6210 Web Assembly \u6307\u4ee4\u65f6\uff0c\u5c31\u65e0\u9700\u5173\u6ce8\u5bf9\u5185\u5b58\u7684\u5206\u914d\u6216\u8005\u56de\u6536\u7b49\u95ee\u9898\uff0c\u800c\u662f\u628a Web Assembly\u770b\u4f5c\u662f\u4e00\u4e2a\u5e26 GC \u7684\u9ad8\u7ea7\u8bed\u8a00\u3002\u8fd9\u6837\u4e0d\u4ec5\u7b80\u5316\u4e86\u7f16\u8bd1\u5668\u7684\u5b9e\u73b0\uff0c\u4e5f\u964d\u4f4e\u4e86\u8fd0\u884c\u65f6\u7684\u8fd0\u884c\u8d1f\u62c5\uff0c\u63d0\u5347\u4e86\u4e00\u5b9a\u7684\u8fd0\u884c\u65f6\u6027\u80fd\u3002<\/p>\n<p>\u2462 Web Assembly \u5f15\u5165 GC \u7684\u4f18\u52bf<\/p>\n<ul data-id=\"u738a58b-KFvRHMRz\">\n<li data-id=\"ld70c578-3dIz7ub9\">\u7b80\u5316\u8bed\u8a00\u8fd0\u884c\u65f6\u8bbe\u8ba1\uff1a\u8bed\u8a00\u7f16\u8bd1\u5668\u7684\u5f00\u53d1\u8005\u65e0\u9700\u5b9e\u73b0\u72ec\u7acb\u7684\u5783\u573e\u56de\u6536\u5668\uff0c\u964d\u4f4e\u4e86\u9ad8\u7ea7\u8bed\u8a00\u7f16\u8bd1\u5230 WebAssembly \u7684\u590d\u6742\u6027\u3002<\/li>\n<li data-id=\"ld70c578-62Qcyebt\">\u63d0\u5347\u53d7\u9650\u73af\u5883\u7684\u6267\u884c\u6027\u80fd\uff1a\u5728\u8d44\u6e90\u53d7\u9650\u73af\u5883\u4e2d\uff0cGC \u652f\u6301\u63d0\u9ad8\u4e86\u9ad8\u7ea7\u8bed\u8a00\u7684\u8fd0\u884c\u6548\u7387\uff0c\u4f7f\u5176\u9002\u7528\u4e8e\u8fb9\u7f18\u8ba1\u7b97\u548c IoT \u8bbe\u5907<\/li>\n<li data-id=\"ld70c578-cjD29H2R\">\u589e\u5f3a\u5f00\u53d1\u6548\u7387\uff1a\u9ad8\u7ea7\u8bed\u8a00\u53ef\u4ee5\u4ee5\u63a5\u8fd1\u539f\u751f\u7684\u6027\u80fd\u8fd0\u884c\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u66f4\u4e13\u6ce8\u4e8e\u4e1a\u52a1\u903b\u8f91\u800c\u975e\u5185\u5b58\u7ba1\u7406\u3002<\/li>\n<\/ul>\n<p><strong>(3) WASI \u7684\u8fdb\u4e00\u6b65\u5b8c\u5584<\/strong><\/p>\n<p>WASI \u662f WebAssembly System Interface \u7684\u7f29\u5199\uff0c\u662f\u4e00\u4e2a\u4e3a WebAssembly \u5e94\u7528\u7a0b\u5e8f\u63d0\u4f9b\u7cfb\u7edf\u63a5\u53e3\u7684\u6807\u51c6\u5316\u89c4\u8303\u3002<\/p>\n<p>\u2460 \u76ee\u6807<\/p>\n<p>WASI \u65e8\u5728\u89e3\u51b3 WebAssembly \u8fd0\u884c\u5728\u975e\u6d4f\u89c8\u5668\u73af\u5883\u7684\u7cfb\u7edf\u529f\u80fd\u8c03\u7528\u6807\u51c6\u3002<\/p>\n<p>\u2461 WASI \u63d0\u4f9b\u7684\u529f\u80fd<\/p>\n<ul data-id=\"u738a58b-Hp7RZXnN\">\n<li data-id=\"ld70c578-HOlpp64V\">\u6587\u4ef6\u7cfb\u7edf\u8bbf\u95ee\uff1a\u8bfb\u53d6\u3001\u5199\u5165\u548c\u7ba1\u7406\u6587\u4ef6\u4e0e\u76ee\u5f55\u7684\u80fd\u529b\u3002<\/li>\n<li data-id=\"ld70c578-rxEx0cj9\">\u73af\u5883\u53d8\u91cf\u548c\u53c2\u6570\uff1a\u83b7\u53d6\u548c\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf\u3002\u8bbf\u95ee\u547d\u4ee4\u884c\u53c2\u6570\u3002<\/li>\n<li data-id=\"ld70c578-kAKFceCT\">\u65f6\u949f\u548c\u65f6\u95f4\uff1a\u63d0\u4f9b\u9ad8\u7cbe\u5ea6\u8ba1\u65f6\u5668\u548c\u65f6\u95f4\u6233\u3002<\/li>\n<li data-id=\"ld70c578-fVTJneYi\">\u968f\u673a\u6570\u751f\u6210\uff1a\u5b89\u5168\u7684\u968f\u673a\u6570\u751f\u6210\u652f\u6301\u52a0\u5bc6\u548c\u5176\u4ed6\u9700\u8981\u968f\u673a\u6570\u7684\u64cd\u4f5c\u3002<\/li>\n<li data-id=\"ld70c578-LfmPie2k\">\u7f51\u7edc\u901a\u4fe1\uff08\u5b9e\u9a8c\u6027\uff09\uff1a\u652f\u6301\u7f51\u7edc\u5957\u63a5\u5b57\uff0c\u7528\u4e8e\u5b9e\u73b0\u7f51\u7edc\u670d\u52a1\u548c\u5ba2\u6237\u7aef\u5e94\u7528\u3002<\/li>\n<li data-id=\"ld70c578-lvT30yLa\">\u7ebf\u7a0b\u548c\u5e76\u53d1\u652f\u6301\uff08\u672a\u6765\u8ba1\u5212\uff09\uff1a\u5f15\u5165\u591a\u7ebf\u7a0b\u548c\u5e76\u53d1\u63a5\u53e3\uff0c\u4ee5\u652f\u6301\u9ad8\u6027\u80fd\u8ba1\u7b97\u548c\u5e76\u884c\u4efb\u52a1\u3002<\/li>\n<\/ul>\n<p>\u2462 WASI \u7684\u4f18\u52bf<\/p>\n<ul data-id=\"u738a58b-yYg3TCJW\">\n<li data-id=\"ld70c578-F8rOSOVM\">\u8de8\u5e73\u53f0\u548c\u53ef\u79fb\u690d\u6027\uff1aWASI \u662f\u5e73\u53f0\u65e0\u5173\u7684\u89c4\u8303\uff0c\u4f7f WebAssembly \u5e94\u7528\u53ef\u4ee5\u5728\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u548c\u786c\u4ef6\u67b6\u6784\u4e0a\u65e0\u7f1d\u8fd0\u884c\u3002<\/li>\n<li data-id=\"ld70c578-KmmPpQ9S\">\u6a21\u5757\u5316\u8bbe\u8ba1\uff1aWASI \u7684\u529f\u80fd\u88ab\u5206\u4e3a\u591a\u4e2a\u6a21\u5757\uff08\u5982\u6587\u4ef6\u7cfb\u7edf\u3001\u7f51\u7edc\u7b49\uff09\uff0c\u5141\u8bb8\u5f00\u53d1\u8005\u6839\u636e\u9700\u6c42\u52a0\u8f7d\u4e0d\u540c\u6a21\u5757\uff0c\u964d\u4f4e\u8d44\u6e90\u5360\u7528\u3002<\/li>\n<li data-id=\"ld70c578-2dTntMob\">\u5b89\u5168\u6027\uff1aWASI \u4f7f\u7528 WebAssembly \u7684\u6c99\u7bb1\u9694\u79bb\u7279\u6027\uff0c\u63d0\u4f9b\u5f3a\u5b89\u5168\u6027\u7684\u540c\u65f6\uff0c\u5141\u8bb8\u53d7\u63a7\u8bbf\u95ee\u4e3b\u673a\u7cfb\u7edf\u8d44\u6e90\u3002<\/li>\n<li data-id=\"ld70c578-iF93Verv\">\u6027\u80fd\u4f18\u5316\uff1aWASI \u901a\u8fc7\u76f4\u63a5\u4e0e\u5e95\u5c42\u7cfb\u7edf\u63a5\u53e3\u4ea4\u4e92\uff0c\u51cf\u5c11\u4e86\u4e2d\u95f4\u62bd\u8c61\u5c42\uff0c\u786e\u4fdd\u9ad8\u6027\u80fd\u3002<\/li>\n<\/ul>\n<p><strong>(4) Web Assembly \u5e94\u7528\u9886\u57df\u62d3\u5c55<\/strong><\/p>\n<p>\u2460 Web \u5e94\u7528\u4f18\u5316<\/p>\n<p>WebAssembly \u63d0\u4f9b\u63a5\u8fd1\u672c\u5730\u7684\u8fd0\u884c\u901f\u5ea6\uff0c\u5f25\u8865\u4e86 JavaScript \u5728\u9ad8\u6027\u80fd\u8ba1\u7b97\u4e2d\u7684\u4e0d\u8db3\u3002\u6bd4\u59823D \u56fe\u5f62\u6e32\u67d3\uff08\u5982 WebGL\u3001Unity\u3001Blender \u7b49\u5de5\u5177\u7684 Web \u7248\uff09\uff0c\u97f3\u89c6\u9891\u5904\u7406\uff0c\u5982 FFMPEG \u5728\u6d4f\u89c8\u5668\u4e2d\u8fd0\u884c\u3002\u53c8\u6216\u8005\u662f\u6e38\u620f\u5e94\u7528\uff0c\u7279\u522b\u662f\u9ad8\u6027\u80fd\u7684\u5728\u7ebf\u6e38\u620f\u3002<\/p>\n<p>\u2461 \u591a\u8bed\u8a00\u751f\u6001\u652f\u6301<\/p>\n<p>WebAssembly \u53ef\u4ee5\u8fd0\u884c\u7528\u4e0d\u540c\u8bed\u8a00\u7f16\u5199\u7684\u4ee3\u7801\uff0c\u652f\u6301\u8de8\u8bed\u8a00\u4e92\u64cd\u4f5c\u3002\u6bd4\u5982\u5728\u6d4f\u89c8\u5668\u4e2d\u8fd0\u884c\u975e JavaScript \u8bed\u8a00\u7f16\u5199\u7684\u4ee3\u7801\uff0c\u5982 Rust\u3001C++\u3001Python \u7b49\uff0c\u6784\u5efa\u591a\u8bed\u8a00\u6a21\u5757\u5316\u5e94\u7528\u3002<\/p>\n<p>\u2462 \u4e91\u539f\u751f\u5e94\u7528<\/p>\n<p>WebAssembly \u7684\u8f7b\u91cf\u7ea7\u548c\u6c99\u7bb1\u9694\u79bb\u7279\u6027\u4f7f\u5176\u6210\u4e3a\u4e91\u539f\u751f\u6280\u672f\u7684\u7406\u60f3\u9009\u62e9\uff0c\u7528\u4e8e\u66ff\u4ee3\u5bb9\u5668\u6280\u672f\u8fd0\u884c\u5fae\u670d\u52a1\u3002<\/p>\n<p>\u2463 \u6e38\u620f\u5f00\u53d1<\/p>\n<p>Unity \u548c Unreal Engine \u4f7f\u7528 WebAssembly \u63d0\u4f9b\u6d4f\u89c8\u5668\u7248\u672c\u7684\u9ad8\u6027\u80fd\u6e38\u620f\u3002<\/p>\n<p>\u2464 AI \u5927\u6a21\u578b<\/p>\n<p>\u673a\u5668\u5b66\u4e60\u76f8\u5173\u7684\u6846\u67b6\u901a\u8fc7\u7f16\u8bd1\u6210 Web Assembly\uff0c\u53ef\u4ee5\u76f4\u63a5\u8fd0\u884c\u5728\u6d4f\u89c8\u5668\u5185\uff0c\u5b9e\u73b0\u5728\u6d4f\u89c8\u5668\u8fd0\u884c\u6a21\u578b\u6216\u8005\u8fdb\u884c\u6570\u636e\u5206\u6790\u3002<\/p>\n<h4>11. \u97f3\u89c6\u9891\u6280\u672f\uff1aAV1 \u7f16\u89e3\u7801\u672a\u6765\u53ef\u671f<\/h4>\n<p><strong>(1) AV1\u7f16\u89e3\u7801\u6807\u51c6\u7684\u5e7f\u6cdb\u5e94\u7528**<\/strong><\/p>\n<p>AV1\uff08AOMedia Video 1\uff09\u662f\u4e00\u79cd\u5f00\u653e\u3001\u514d\u7248\u7a0e\u7684\u89c6\u9891\u7f16\u7801\u683c\u5f0f\uff0c\u65e8\u5728\u7528\u4e8e\u89c6\u9891\u4f20\u8f93\u548c\u5b58\u50a8\u3002\u5b83\u7531\u5f00\u653e\u5a92\u4f53\u8054\u76df\uff08Alliance for Open Media, AOM\uff09\u5f00\u53d1\uff0c\u8fd9\u662f\u4e00\u4e2a\u7531 Google\u3001Mozilla\u3001Cisco\u3001Amazon\u3001Intel\u3001Microsoft\u3001Netflix\u7b49\u591a\u5bb6\u516c\u53f8\u7ec4\u6210\u7684\u8054\u76df\u3002AV1 \u65e8\u5728\u53d6\u4ee3 VP9 \u5e76\u6210\u4e3a\u4e0eHEVC\uff08H.265\uff09\u7ade\u4e89\u7684\u4e3b\u8981\u89c6\u9891\u7f16\u7801\u6807\u51c6\u3002<\/p>\n<p>\u2460 \u786c\u4ef6\u73af\u5883\u652f\u6301\uff1a<\/p>\n<ul data-id=\"u738a58b-iIJVtmFh\">\n<li data-id=\"ld70c578-v3hEeToK\">Android \u5e73\u53f0\uff1a\u9ad8\u901a 8 Gen2 \u5f00\u59cb\u652f\u6301 AV1\u786c\u89e3\uff0c \u5c0f\u7c7313\u9996\u5148\u642d\u8f7d\uff0c2022 \u5e74 12 \u6708\u53d1\u5e03\uff1b<\/li>\n<li data-id=\"ld70c578-laFbKa3H\">\u82f9\u679c A17 Pro\u5305\u542b\u4e00\u4e2a\u4e13\u7528\u7684AV1\u89e3\u7801\u5668\uff0c\u968fiPhone15 Pro\u4e00\u5757\u53d1\u5e03\uff0c2023 \u5e74 9 \u6708\u53d1\u5e03\uff1b<\/li>\n<li data-id=\"ld70c578-p31X5hdR\">Mac\u7aef M3 \u82af\u7247\u82af\u7247\u5f00\u59cb\u652f\u6301 AV1\u89e3\u7801\uff0c2023\u5e7410\u670830\u65e5\u53d1\u5e03\uff1b<\/li>\n<li data-id=\"ld70c578-XOthhSXZ\">PC\u7aef\uff0c\u76ee\u524d Intel \u53ea\u6709\u6700\u65b0\u7684 Iris Xe Graphics \u548c UHD Graphics 750\u652f\u6301 AV1 \u786c\u89e3\uff0c\u82f1\u4f1f\u8fbe\u5f88\u5927\u4e00\u90e8\u5206\u663e\u5361\u652f\u6301 AV1 \u7f16\u89e3\u7801\uff0cAV1 \u5177\u4f53\u652f\u6301\u60c5\u51b5\u53ef\u4ee5\u67e5\u770b\uff1b<\/li>\n<\/ul>\n<p>\u2461 \u9ad8\u6548\u538b\u7f29<\/p>\n<p>AV1 \u65e8\u5728\u6bd4\u73b0\u6709\u7684\u89c6\u9891\u7f16\u7801\u6807\u51c6\uff08\u5982H.264\/AVC\u548cHEVC\/H.265\uff09\u63d0\u4f9b\u66f4\u9ad8\u7684\u6570\u636e\u538b\u7f29\u7387\uff0c\u8fd9\u610f\u5473\u7740\u5728\u76f8\u540c\u7684\u89c6\u9891\u8d28\u91cf\u4e0b\uff0cAV1 \u7f16\u7801\u7684\u89c6\u9891\u6587\u4ef6\u5c06\u5360\u7528\u66f4\u5c11\u7684\u5b58\u50a8\u7a7a\u95f4\u548c\u5e26\u5bbd\u3002\u4f46\u9ad8\u538b\u7f29\u7387\u5e26\u6765\u7684\u662f\u7f16\u7801\u8017\u65f6\u7684\u589e\u52a0\uff0c\u5927\u7ea6\u662f H265 \u7684 3 \u500d\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s5.51cto.com\/oss\/202503\/05\/6413834908bd0da79b6682d5c210ba91f055c9.webp\" data-type=\"block\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s3.51cto.com\/oss\/202503\/05\/e319701431a5047857d123a4a6ba12385bb931.webp\" data-type=\"block\" \/><\/p>\n<p>\u2462 \u5f00\u653e\u548c\u514d\u8d39<\/p>\n<p>\u4e0e\u67d0\u4e9b\u5176\u4ed6\u89c6\u9891\u7f16\u7801\u6807\u51c6\uff08\u5982HEVC\uff09\u4e0d\u540c\uff0cAV1\u662f\u5b8c\u5168\u5f00\u653e\u4e14\u514d\u7248\u7a0e\u7684\uff0c\u8fd9\u4f7f\u5f97\u5b83\u5bf9\u4e8e\u5f00\u53d1\u4eba\u5458\u548c\u5185\u5bb9\u521b\u4f5c\u8005\u6765\u8bf4\u662f\u4e00\u4e2a\u5438\u5f15\u4eba\u7684\u9009\u62e9\uff0c\u56e0\u4e3a\u5b83\u6d88\u9664\u4e86\u7248\u6743\u8d39\u7528\u7684\u8d1f\u62c5\u3002<\/p>\n<p>\u2463 \u76f8\u5173\u4e1a\u754c\u4fe1\u606f<\/p>\n<p>\u5728 2024 \u5e74\uff0cAV1 \u7f16\u7801\u683c\u5f0f\u7ee7\u7eed\u62d3\u5c55\u5176\u5e94\u7528\u7248\u56fe\uff0c\u8f6f\u4ef6\u5382\u5546\uff08Android12+\u3001\u5fae\u8f6f Win11\u3001Vulkan\uff09\u3001\u786c\u4ef6\u5382\u5546\uff08\u82f9\u679c\u7684iPhone\u3001Mac \u4e8e 23 \u5e74\u5e95\u5728\u786c\u4ef6\u5c42\u9762\u652f\u6301 AV1\uff0c\u5404\u5bb6\u89c6\u9891\u7f51\u7ad9\u4e5f\u9646\u7eed\u652f\u6301 AV1 \u683c\u5f0f\u3002\u76f8\u8f83\u4e8e\u4f20\u7edf\u7684 H.265 \u7f16\u7801\uff0cAV1 \u4e0d\u4ec5\u5f00\u6e90\u514d\u4e13\u5229\u8d39\uff0c\u8fd8\u80fd\u8282\u7701\u7ea6 10% &#8211; 40% \u7684\u7801\u7387\uff0c\u4e3a\u7528\u6237\u5728\u76f8\u540c\u7801\u7387\u4e0b\u63d0\u4f9b\u66f4\u9ad8\u6e05\u7684\u753b\u8d28\uff0c\u4ece\u800c\u5927\u5e45\u964d\u4f4e\u89c6\u9891\u7684\u5e26\u5bbd\u6210\u672c\u3002<\/p>\n<p>AV1 \u7f16\u7801\u683c\u5f0f\u76ee\u524d\u4e3b\u8981\u7f3a\u9677\u662f\u8bbe\u5907\u786c\u89e3\u7684\u652f\u6301\u7387\u592a\u4f4e\uff0c\u4ece B \u7ad9\u4e0a\u7ebf\u5e76\u5f3a\u63a8 AV1 \u7684\u7528\u6237\u53cd\u9988\u770b\u4e5f\u6709\u4e00\u4e9b\u4e89\u8bae\uff0c\u56e0\u4e3a\u5927\u90e8\u5206\u7528\u6237\u7684\u8bbe\u5907\u4e0d\u652f\u6301 AV1 \u786c\u89e3\u800c\u4f7f\u7528\u8f6f\u89e3\u5bfc\u81f4 cpu \u5360\u7528\u7387\u548c\u8017\u7535\u91cf\u589e\u52a0\u3002<\/p>\n<p>\u4ece\u4e91\u6e38\u620f\u573a\u666f\u5206\u6790\uff0c\u4e3a\u7528\u6237\u63d0\u4f9b\u8212\u9002\u6d41\u7545\u7684\u4f53\u9a8c\u9700\u8981\u4ece\u5ef6\u8fdf\u3001\u6e05\u6670\u5ea6\u7efc\u5408\u8003\u8651\uff0c\u76ee\u524d AV1 \u7684\u7f16\u7801\u8017\u65f6\u957f\u7684\u7f3a\u9677\u4f1a\u5bfc\u81f4\u4e91\u6e38\u620f\u5ef6\u8fdf\u63d0\u9ad8\u964d\u4f4e\u7528\u6237\u4f53\u9a8c\uff0c\u800c\u786c\u4ef6\u7f16\u7801\u80fd\u529b\u9700\u8981\u8f83\u65b0\u7684\u9ad8\u7aef\u4e13\u7528\u663e\u5361\uff0840\u7cfb\u5217\uff09\u652f\u6301\uff0c\u76ee\u524d\u4ecd\u65e0\u6cd5\u5927\u89c4\u6a21\u5e94\u7528\u4e91\u6e38\u620f\u573a\u666f\u3002<\/p>\n<h3>\u4e8c\u30012025 \u6280\u672f\u5c55\u671b<\/h3>\n<p>\u6280\u672f\u7684\u53d1\u5c55\u662f\u6c38\u65e0\u6b62\u5883\u7684\uff0c\u811a\u8e0f\u5b9e\u5730\u624d\u80fd\u9065\u671b\u661f\u7a7a\uff0c\u56de\u987e 2024 \u5e74\u7684\u524d\u7aef\u6280\u672f\u4e5f\u662f\u4e3a\u4e86\u66f4\u597d\u5730\u5c55\u671b\u672a\u6765\u7684\u53d1\u5c55\u8d8b\u52bf\uff0c\u636e\u6b64\u6211\u4eec\u53ef\u4ee5\u5bf9 2025 \u5e74\u524d\u7aef\u6280\u672f\u4e0d\u540c\u7ec6\u5206\u7684\u9886\u57df\u65b9\u9762\u4f5c\u51fa\u4e00\u4e9b\u5c55\u671b\u3002<\/p>\n<h4>1. \u5927\u6a21\u578b\u4f9d\u65e7\u6301\u7eed\u4e3a\u524d\u7aef\u8d4b\u80fd<\/h4>\n<p>2024 \u5e74\u671f\u95f4\u5927\u6a21\u578b\u7684\u767e\u82b1\u9f50\u653e\uff0c\u4e3a\u524d\u7aef\u591a\u4e2a\u9886\u57df\u90fd\u6ce8\u5165\u4e86\u65b0\u7684\u6d3b\u529b\uff0c\u4f8b\u5982\u4eba\u673a\u534f\u4f5c\u7684\u5f00\u53d1\u6a21\u5f0f\u5df2\u7ecf\u6210\u4e3a\u4e3b\u6d41\u3001Chrome \u6d4f\u89c8\u5668\u63a5\u5165 Gemini\u3001AI \u8d4b\u80fd\u4f4e\u4ee3\u7801\u5e73\u53f0\u548c D2C \u5df2\u7ecf\u521d\u89c1\u96cf\u5f62\u3002\u76f8\u4fe1\u5927\u6a21\u578b\u80fd\u591f\u5728\u524d\u7aef\u8d8a\u6765\u8d8a\u591a\u7684\u9886\u57df\u4e2d\u843d\u5730\u5e76\u6301\u7eed\u8d4b\u80fd\uff0c\u800c\u4f5c\u4e3a\u5f00\u53d1\u8005\u6211\u4eec\u4e5f\u5e94\u5f53\u4e3b\u52a8\u53bb\u62e5\u62b1\u5e76\u601d\u8003\u5982\u4f55\u66f4\u597d\u5730\u5229\u7528\u5927\u6a21\u578b\u8fdb\u884c\u8d4b\u80fd\u3002<\/p>\n<h4>2. \u62e5\u62b1 TypeScript \u662f\u524d\u7aef\u8bed\u8a00\u4e0e\u6807\u51c6\u7684\u5927\u52bf\u6240\u8d8b<\/h4>\n<p>2024 \u5e74 Typescript \u7684\u589e\u957f\u4f9d\u65e7\u8fc5\u731b\uff0c\u4f9d\u65e7\u5728\u4e0d\u65ad\u8695\u98df JavaScript \u7684\u5e02\u573a\u4efd\u989d\u3002\u867d\u7136 2023 \u5e74\u671f\u95f4\u66fe\u51fa\u73b0\u8fc7\u53cd TypeScript \u7684\u547c\u58f0\uff0c\u4f46\u5e76\u6ca1\u6709\u963b\u6321 TypeScript \u7ee7\u7eed\u524d\u8fdb\u7684\u6b65\u4f10\u3002\u7b14\u8005\u8ba4\u4e3a TypeScript \u6240\u63d0\u4f9b\u7684\u7c7b\u578b\u7cfb\u7edf\u80fd\u591f\u5927\u5e45\u5ea6\u63d0\u9ad8\u9879\u76ee\u7684\u5065\u58ee\u6027\u548c\u53ef\u7ef4\u62a4\u6027\uff0c\u662f\u80fd\u591f\u6df1\u53d7\u524d\u7aef\u5f00\u53d1\u8005\u7684\u4e00\u4e2a\u80af\u5b9a\u7684\uff0c\u62e5\u62b1 TypeScript \u4e5f\u662f\u524d\u7aef\u8bed\u8a00\u6807\u51c6\u7684\u5927\u52bf\u6240\u8d8b\u3002<\/p>\n<h4>3. \u524d\u7aef\u6846\u67b6\u5728\u53d1\u5c55\u4e0a\u76f8\u4e92\u501f\u9274\u4e0e\u8d8b\u540c<\/h4>\n<p>\u5728\u524d\u7aef\u6846\u67b6\u9886\u57df\uff0cReact\u3001Vue\u3001Svelte \u548c Angular \u56db\u5927\u975e\u5e38\u6210\u719f\u7684\u6846\u67b6\u4f9d\u65e7\u4f1a\u662f\u660e\u5e74\u7684\u524d\u7aef\u6846\u67b6\u7684\u4e3b\u6d41\u3002\u800c\u4ece 2024 \u5e74 Svelte \u91cd\u6784\u54cd\u5e94\u5f0f\u7cfb\u7edf\u4e0a\u5206\u6790\uff0c\u65e0\u8bba\u662f\u524d\u7aef\u6846\u67b6\u54cd\u5e94\u5f0f\u7cfb\u7edf\u7684\u8bbe\u8ba1\u7406\u5ff5\u8fd8\u662f API \u4e0a\uff0c\u90fd\u53ef\u4ee5\u770b\u51fa\u4e3b\u6d41\u524d\u7aef\u6846\u67b6\u4e4b\u95f4\u90fd\u5728\u76f8\u4e92\u501f\u9274\u548c\u5b66\u4e60\uff0c\u5448\u73b0\u4e00\u79cd\u524d\u7aef\u6846\u67b6\u8bbe\u8ba1\u4e0a\u8d8b\u540c\u7684\u8d8b\u52bf\u3002<\/p>\n<h4>4. \u524d\u7aef\u57fa\u7840\u5efa\u8bbe\u5de5\u5177 Rust \u5316\u52bf\u4e0d\u53ef\u6321<\/h4>\n<p>\u5728\u524d\u7aef\u57fa\u7840\u5efa\u8bbe\u9886\u57df\uff0cRust \u5316\u7684\u8d8b\u52bf\u4ee5\u52bf\u4e0d\u53ef\u6321\u3002Rust \u8bed\u8a00\u5177\u6709\u7684\u9ad8\u6027\u80fd\u7b49\u7279\u70b9\uff0c\u4f7f\u5f97\u5176\u6210\u4e3a\u5f53\u4e4b\u65e0\u6127\u7684\u524d\u7aef\u57fa\u5efa\u7684\u65b0\u5ba0\u513f\u3002\u5728 2024 \u5e74\u671f\u95f4 \u524d\u7aef\u57fa\u5efa\u4e2d Rust \u5316\u8d8b\u52bf\u6108\u6f14\u6108\u70c8\uff0c\u8d8a\u6765\u8d8a\u591a\u7531 Rust \u8bed\u8a00\u7f16\u5199\u7684\u524d\u7aef\u57fa\u7840\u5efa\u8bbe\u5de5\u5177\u5f00\u59cb\u5d2d\u9732\u5934\u89d2\uff0c\u5982 RsBuild\u3001Rspack\u3001Rolldown \u7b49\u3002\u76f8\u4fe1\u968f\u7740\u660e\u5e74 Rust \u5728\u524d\u7aef\u7684\u751f\u6001\u4e0d\u65ad\u5b8c\u5584\u548c\u8fdb\u4e00\u6b65\u6f14\u8fdb\uff0c\u4f1a\u6709\u8d8a\u6765\u8d8a\u591a Rust \u8bed\u8a00\u7f16\u5199\u7684\u5de5\u5177\u5728\u524d\u7aef\u57fa\u7840\u5efa\u8bbe\u9886\u57df\u53d1\u5149\u53d1\u70ed\u3002<\/p>\n<h4>5. Node.js \u517c\u5bb9\u6027\u4f9d\u65e7\u662f\u6240\u6709\u65b0 JavaScript \u8fd0\u884c\u65f6\u7684\u6311\u6218\u8005\u65e0\u53ef\u56de\u907f\u7684\u95ee\u9898<\/h4>\n<p>\u5728 JavaScript \u8fd0\u884c\u65f6\u9886\u57df\uff0cNode.js \u56e0\u5176\u8d77\u6b65\u65e9\u6240\u5efa\u7acb\u7684\u5b8c\u5907\u7684\u751f\u6001\u73af\u5883\uff0c\u53ef\u4ee5\u9884\u6d4b\u660e\u5e74\u4f9d\u65e7\u662f JavaScript \u8fd0\u884c\u65f6\u7684\u9996\u9009\u3002\u800c\u5bf9\u4e8eJavaScript \u8fd0\u884c\u65f6\u7684\u6311\u6218\u8005\u800c\u8a00\uff0c\u9664\u4e86\u9700\u8981\u6301\u7eed\u5b8c\u5584\u548c\u63d0\u5347\u81ea\u8eab\u80fd\u529b\u5916\uff0c\u5982\u4f55\u66f4\u597d\u5730\u517c\u5bb9 Node.js \u53ef\u80fd\u4ecd\u65e7\u662f\u660e\u5e74\u7684\u91cd\u4e2d\u4e4b\u91cd\uff0c\u53ea\u6709\u5f53\u5de5\u5177\u81ea\u8eab\u8db3\u591f\u4f18\u79c0\u4e14\u652f\u6301\u4ece Node.js \u5e73\u6ed1\u8fc1\u79fb\uff0c\u624d\u53ef\u80fd\u8ba9 Node.js \u7684\u5f00\u53d1\u8005\u66f4\u6709\u52a8\u529b\u8fc1\u79fb\u81f3\u65b0\u7684 JavaScript \u8fd0\u884c\u65f6\u4e0a\u3002<\/p>\n<h4>6. \u4e00\u7801\u591a\u7aef\u5c06\u6210\u8de8\u7aef\u6280\u672f\u7684\u4e3b\u8981\u8bc9\u6c42<\/h4>\n<p>2024 \u5e74\u8de8\u7aef\u9886\u57df\u7ee7\u7eed\u4fdd\u6301\u767e\u82b1\u9f50\u653e\u7684\u8d8b\u52bf\uff0c\u504f\u524d\u7aef\u548c\u504f\u7ec8\u7aef\u7684\u8de8\u7aef\u65b9\u6848\u90fd\u6709\u8fdb\u4e00\u6b65\u7684\u6f14\u8fdb\u3002\u968f\u7740\u539f\u751f\u9e3f\u8499\u7684\u63a8\u5e7f\uff0c\u57fa\u4e8e\u7814\u6548\u7684\u8003\u8651\uff0c\u5927\u5bb6\u5bf9\u4e8e\u4ee3\u7801\u5171\u4eab\u3001\u4e00\u7801\u591a\u7aef\u7684\u8de8\u7aef\u9700\u6c42\u4f1a\u66f4\u52a0\u8feb\u5207\uff0c\u76f8\u4fe1\u5728 2025 \u5e74\u5728\u8fd9\u65b9\u9762\u4f1a\u6709\u66f4\u8fdb\u4e00\u6b65\u7684\u53d1\u5c55\u3002<\/p>\n<h4>7. AI \u5c06\u7ee7\u7eed\u5f15\u9886\u65f6\u4ee3\u4ea7\u751f\u98a0\u8986\u6027\u53d8\u9769<\/h4>\n<p>2024 \u5e74 AI \u9886\u57df\u53d1\u5c55\u5448\u73b0\u51fa\u767e\u82b1\u9f50\u653e\u7684\u8d8b\u52bf\uff0c\u5927\u6a21\u578b\u591a\u6a21\u6001\u5316\u3001\u5e94\u7528\u573a\u666f\u591a\u6837\u5316\uff0c\u5728\u8f6f\u4ef6\u5f00\u53d1\u9886\u57df\u4e0a&#8221;\u4eba\u673a\u534f\u4f5c&#8221;\u5df2\u662f\u5927\u52bf\u6240\u8d8b\u3002\u76f8\u4fe1\u968f\u7740 2025 \u5e74 AI \u5927\u6a21\u578b\u7406\u89e3\u548c\u63a8\u7406\u80fd\u529b\u3001\u591a\u6a21\u6001\u80fd\u529b\u66f4\u4e0a\u4e00\u5c42\u697c\uff0c\u6211\u4eec\u5c06\u4f1a\u770b\u5230 AI \u5728\u8d8a\u6765\u8d8a\u591a\u7684\u9886\u57df\u4e2d\u5f15\u9886\u98a0\u8986\u6027\u7684\u53d8\u9769\u3002\u4f8b\u5982\uff0cAgent \u6280\u672f\u5c06\u7ee7\u7eed\u6df1\u5316\u5176\u5728\u5f00\u53d1\u9886\u57df\u7684\u5e94\u7528\uff0c\u9884\u8ba1\u4f1a\u8fdb\u4e00\u6b65\u878d\u5165\u5f00\u53d1\u5de5\u5177\u94fe\uff0c\u5e76\u5728\u66f4\u591a\u5de5\u5177\u7c7b\u8f6f\u4ef6\u4e2d\u5f97\u5230\u5e94\u7528\uff1b\u800c\u8fd9\u79cd\u6280\u672f\u53d8\u9769\u53ef\u80fd\u50ac\u751f\u65b0\u7684\u804c\u4e1a\u89d2\u8272\u548c\u6280\u80fd\u9700\u6c42\uff0c\u56e0\u6b64\u4f5c\u4e3a\u7a0b\u5e8f\u5458\u7684\u6211\u4eec\u9700\u8981\u601d\u8003\u5982\u4f55\u5728\u4f9d\u8d56 AI \u7684\u540c\u65f6\u4fdd\u6301\u548c\u57f9\u517b\u57fa\u7840\u7f16\u7a0b\u80fd\u529b\u3002<\/p>\n<p>\u6587\u7ae0\u6765\u81ea\uff1a51CTO<\/p>\n<\/div>\n<\/div>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_24907\" class=\"pvc_stats total_only  \" data-element-id=\"24907\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" version=\"1.0\" viewBox=\"0 0 502 315\" preserveAspectRatio=\"xMidYMid meet\"><g transform=\"translate(0,332) scale(0.1,-0.1)\" fill=\"\" stroke=\"none\"><path d=\"M2394 3279 l-29 -30 -3 -207 c-2 -182 0 -211 15 -242 39 -76 157 -76 196 0 15 31 17 60 15 243 l-3 209 -33 29 c-26 23 -41 29 -80 29 -41 0 -53 -5 -78 -31z\"\/><path d=\"M3085 3251 c-45 -19 -58 -50 -96 -229 -47 -217 -49 -260 -13 -295 52 -53 146 -42 177 20 16 31 87 366 87 410 0 70 -86 122 -155 94z\"\/><path d=\"M1751 3234 c-13 -9 -29 -31 -37 -50 -12 -29 -10 -49 21 -204 19 -94 39 -189 45 -210 14 -50 54 -80 110 -80 34 0 48 6 76 34 21 21 34 44 34 59 0 14 -18 113 -40 219 -37 178 -43 195 -70 221 -36 32 -101 37 -139 11z\"\/><path d=\"M1163 3073 c-36 -7 -73 -59 -73 -102 0 -56 133 -378 171 -413 34 -32 83 -37 129 -13 70 36 67 87 -16 290 -86 209 -89 214 -129 231 -35 14 -42 15 -82 7z\"\/><path d=\"M3689 3066 c-15 -9 -33 -30 -42 -48 -48 -103 -147 -355 -147 -375 0 -98 131 -148 192 -74 13 15 57 108 97 206 80 196 84 226 37 273 -30 30 -99 39 -137 18z\"\/><path d=\"M583 2784 c-38 -19 -67 -74 -58 -113 9 -42 211 -354 242 -373 16 -10 45 -18 66 -18 51 0 107 52 107 100 0 39 -1 41 -124 234 -80 126 -108 162 -133 173 -41 17 -61 16 -100 -3z\"\/><path d=\"M4250 2784 c-14 -9 -74 -91 -133 -183 -95 -150 -107 -173 -107 -213 0 -55 33 -94 87 -104 67 -13 90 8 211 198 130 202 137 225 78 284 -27 27 -42 34 -72 34 -22 0 -50 -8 -64 -16z\"\/><path d=\"M2275 2693 c-553 -48 -1095 -270 -1585 -649 -135 -104 -459 -423 -483 -476 -23 -49 -22 -139 2 -186 73 -142 361 -457 571 -626 285 -228 642 -407 990 -497 242 -63 336 -73 660 -74 310 0 370 5 595 52 535 111 1045 392 1455 803 122 121 250 273 275 326 19 41 19 137 0 174 -41 79 -309 363 -465 492 -447 370 -946 591 -1479 653 -113 14 -422 18 -536 8z m395 -428 c171 -34 330 -124 456 -258 112 -119 167 -219 211 -378 27 -96 24 -300 -5 -401 -72 -255 -236 -447 -474 -557 -132 -62 -201 -76 -368 -76 -167 0 -236 14 -368 76 -213 98 -373 271 -451 485 -162 444 86 934 547 1084 153 49 292 57 452 25z m909 -232 c222 -123 408 -262 593 -441 76 -74 138 -139 138 -144 0 -16 -233 -242 -330 -319 -155 -123 -309 -223 -461 -299 l-81 -41 32 46 c18 26 49 83 70 128 143 306 141 649 -6 957 -25 52 -61 116 -79 142 l-34 47 45 -20 c26 -10 76 -36 113 -56z m-2057 25 c-40 -58 -105 -190 -130 -263 -110 -324 -59 -707 132 -981 25 -35 42 -64 37 -64 -19 0 -241 119 -326 174 -188 122 -406 314 -532 468 l-58 71 108 103 c185 178 428 349 672 473 66 33 121 60 123 61 2 0 -10 -19 -26 -42z\"\/><path d=\"M2375 1950 c-198 -44 -350 -190 -395 -379 -18 -76 -8 -221 19 -290 114 -284 457 -406 731 -260 98 52 188 154 231 260 27 69 37 214 19 290 -38 163 -166 304 -326 360 -67 23 -215 33 -279 19z\"\/><\/g><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/aif.amtbbs.org\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u6280\u672f\u7684\u53d1\u5c55\u662f\u6c38\u65e0\u6b62\u5883\u7684\uff0c\u811a\u8e0f\u5b9e\u5730\u624d\u80fd\u9065\u671b\u661f\u7a7a\uff0c\u56de\u987e 2024 \u5e74\u7684\u524d\u7aef\u6280\u672f\u4e5f\u662f\u4e3a\u4e86\u66f4\u597d\u5730\u5c55\u671b\u672a\u6765\u7684\u53d1\u5c55\u8d8b\u52bf\uff0c\u636e [&hellip;]<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_24907\" class=\"pvc_stats total_only  \" data-element-id=\"24907\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" version=\"1.0\" viewBox=\"0 0 502 315\" preserveAspectRatio=\"xMidYMid meet\"><g transform=\"translate(0,332) scale(0.1,-0.1)\" fill=\"\" stroke=\"none\"><path d=\"M2394 3279 l-29 -30 -3 -207 c-2 -182 0 -211 15 -242 39 -76 157 -76 196 0 15 31 17 60 15 243 l-3 209 -33 29 c-26 23 -41 29 -80 29 -41 0 -53 -5 -78 -31z\"\/><path d=\"M3085 3251 c-45 -19 -58 -50 -96 -229 -47 -217 -49 -260 -13 -295 52 -53 146 -42 177 20 16 31 87 366 87 410 0 70 -86 122 -155 94z\"\/><path d=\"M1751 3234 c-13 -9 -29 -31 -37 -50 -12 -29 -10 -49 21 -204 19 -94 39 -189 45 -210 14 -50 54 -80 110 -80 34 0 48 6 76 34 21 21 34 44 34 59 0 14 -18 113 -40 219 -37 178 -43 195 -70 221 -36 32 -101 37 -139 11z\"\/><path d=\"M1163 3073 c-36 -7 -73 -59 -73 -102 0 -56 133 -378 171 -413 34 -32 83 -37 129 -13 70 36 67 87 -16 290 -86 209 -89 214 -129 231 -35 14 -42 15 -82 7z\"\/><path d=\"M3689 3066 c-15 -9 -33 -30 -42 -48 -48 -103 -147 -355 -147 -375 0 -98 131 -148 192 -74 13 15 57 108 97 206 80 196 84 226 37 273 -30 30 -99 39 -137 18z\"\/><path d=\"M583 2784 c-38 -19 -67 -74 -58 -113 9 -42 211 -354 242 -373 16 -10 45 -18 66 -18 51 0 107 52 107 100 0 39 -1 41 -124 234 -80 126 -108 162 -133 173 -41 17 -61 16 -100 -3z\"\/><path d=\"M4250 2784 c-14 -9 -74 -91 -133 -183 -95 -150 -107 -173 -107 -213 0 -55 33 -94 87 -104 67 -13 90 8 211 198 130 202 137 225 78 284 -27 27 -42 34 -72 34 -22 0 -50 -8 -64 -16z\"\/><path d=\"M2275 2693 c-553 -48 -1095 -270 -1585 -649 -135 -104 -459 -423 -483 -476 -23 -49 -22 -139 2 -186 73 -142 361 -457 571 -626 285 -228 642 -407 990 -497 242 -63 336 -73 660 -74 310 0 370 5 595 52 535 111 1045 392 1455 803 122 121 250 273 275 326 19 41 19 137 0 174 -41 79 -309 363 -465 492 -447 370 -946 591 -1479 653 -113 14 -422 18 -536 8z m395 -428 c171 -34 330 -124 456 -258 112 -119 167 -219 211 -378 27 -96 24 -300 -5 -401 -72 -255 -236 -447 -474 -557 -132 -62 -201 -76 -368 -76 -167 0 -236 14 -368 76 -213 98 -373 271 -451 485 -162 444 86 934 547 1084 153 49 292 57 452 25z m909 -232 c222 -123 408 -262 593 -441 76 -74 138 -139 138 -144 0 -16 -233 -242 -330 -319 -155 -123 -309 -223 -461 -299 l-81 -41 32 46 c18 26 49 83 70 128 143 306 141 649 -6 957 -25 52 -61 116 -79 142 l-34 47 45 -20 c26 -10 76 -36 113 -56z m-2057 25 c-40 -58 -105 -190 -130 -263 -110 -324 -59 -707 132 -981 25 -35 42 -64 37 -64 -19 0 -241 119 -326 174 -188 122 -406 314 -532 468 l-58 71 108 103 c185 178 428 349 672 473 66 33 121 60 123 61 2 0 -10 -19 -26 -42z\"\/><path d=\"M2375 1950 c-198 -44 -350 -190 -395 -379 -18 -76 -8 -221 19 -290 114 -284 457 -406 731 -260 98 52 188 154 231 260 27 69 37 214 19 290 -38 163 -166 304 -326 360 -67 23 -215 33 -279 19z\"\/><\/g><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/aif.amtbbs.org\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":56,"featured_media":24909,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23,20,80],"tags":[124,964,912],"class_list":["post-24907","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-23","category-20","category-80","tag-ai","tag-964","tag-912"],"_links":{"self":[{"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/posts\/24907","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/users\/56"}],"replies":[{"embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/comments?post=24907"}],"version-history":[{"count":1,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/posts\/24907\/revisions"}],"predecessor-version":[{"id":24913,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/posts\/24907\/revisions\/24913"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/media\/24909"}],"wp:attachment":[{"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/media?parent=24907"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/categories?post=24907"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/tags?post=24907"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}