{"id":45050,"date":"2023-05-06T06:47:35","date_gmt":"2022-11-15T20:53:50","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/45050-2\/"},"modified":"2024-04-30T02:51:05","modified_gmt":"2024-04-29T18:51:05","slug":"45050-2","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/45050-2\/","title":{"rendered":""},"content":{"rendered":"<p>\u62d9\u3044\u90e8\u5206\u3082\u3042\u308a\u307e\u3059\u304c\u3088\u308d\u3057\u304f\u304a\u9858\u3044\u3057\u307e\u3059\u3002<br \/>\n\u539f\u6587\u306fhttps:\/\/doc.rust-lang.org\/stable\/book\/README.html \u306b\u3042\u308a\u307e\u3059\u3002<br \/>\n\u539f\u6587\u306e\u30e9\u30a4\u30bb\u30f3\u30b9\u306f\u3053\u3061\u3089\u2192https:\/\/github.com\/rust-lang\/rust\/blob\/master\/COPYRIGHT<\/p>\n<h1>The Rust Programming Language<\/h1>\n<p>\u3088\u3046\u3053\u305d\uff01\u3053\u306e\u30d6\u30c3\u30af\u3067\u306f\u300cRust\u300d\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306b\u3064\u3044\u3066\u3042\u306a\u305f\u306b\u6559\u3048\u307e\u3059\u3002Rust\u306f\u300c\u5b89\u5168\u6027\u300d\u3001\u300c\u9ad8\u901f\u6027\u300d\u305d\u3057\u3066\u300c\u4e26\u884c\u6027\u300d\u306e\u4e09\u3064\u306e\u30b4\u30fc\u30eb\u3092\u4e3b\u773c\u3068\u3057\u305f\u30b7\u30b9\u30c6\u30e0\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3067\u3059\u3002 \u4ed6\u306e\u8a00\u8a9e\u304c\u5f97\u610f\u3068\u3057\u306a\u3044\u4e00\u5b9a\u6570\u306e\u30e6\u30fc\u30b9\u30b1\u30fc\u30b9\u306e\u305f\u3081\u306b\u6709\u7528\u306a\u8a00\u8a9e\u3092\u4f5c\u308a\u3001\u30ac\u30d9\u30fc\u30b8\u30b3\u30ec\u30af\u30bf\uff0d\u306a\u3057\u3067\u305d\u306e\u30b4\u30fc\u30eb\u3092\u7dad\u6301\u3057\u307e\u3059:\u3002\u305d\u306e\u30b4\u30fc\u30eb\u306f\u4ed6\u306e\u8a00\u8a9e\u3078\u306e\u7d44\u307f\u8fbc\u307f\u3001\u7279\u5b9a\u306e\u9818\u57df\u3084\u6642\u9593\u8981\u4ef6\u3092\u6301\u3064\u30d7\u30ed\u30b0\u30e9\u30e0\u3001\u30c7\u30d0\u30a4\u30b9\u30c9\u30e9\u30a4\u30d0\u30fc\u3084\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u306e\u3088\u3046\u306a\u3001\u4f4e\u30ec\u30d9\u30eb\u306e\u30b3\u30fc\u30c9\u3092\u66f8\u3051\u308b\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u3067\u3059\u3002Rust\u306f\u73fe\u5728\u3053\u306e\u9818\u57df\u3092\u30bf\u30fc\u30b2\u30c3\u30c8\u306b\u3059\u308b\u4ed6\u306e\u8a00\u8a9e\u306e\u4e0a\u306b\u3001\u5b9f\u884c\u6642\u306b\u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c9\u3092\u751f\u3058\u306a\u3044\u591a\u6570\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u6642\u5b89\u5168\u6027\u30c1\u30a7\u30c3\u30af\u3092\u884c\u3046\u3068\u540c\u6642\u306b\u5168\u3066\u306e\u30c7\u30fc\u30bf\u7af6\u5408\u3092\u9664\u53bb\u3059\u308b\u6539\u826f\u3092\u52a0\u3048\u3066\u3044\u307e\u3059\u3002\u307e\u305f Rust\u306b\u306f\u3001\u5e7e\u3064\u304b\u9ad8\u7d1a\u8a00\u8a9e\u306e\u3088\u3046\u306b\u611f\u3058\u308b\u62bd\u8c61\u5316\u304c\u3042\u308a\u307e\u3059\u304c \u3001\u3053\u308c\u3089\u3092\u300c\u30bc\u30ed\u30b3\u30b9\u30c8\u306e\u62bd\u8c61\u5316\u300d\u3068\u3057\u3066\u9054\u6210\u3059\u308b\u305f\u3081\u306e\u72d9\u3044\u3082\u3042\u308a\u307e\u3059\u3002\u305d\u308c\u306b\u3082\u95a2\u308f\u3089\u305a\u3001Rust\u306f\u4f4e\u7d1a\u8a00\u8a9e\u306e\u3088\u3046\u306a\u6b63\u78ba\u306a\u5236\u5fa1\u3092\u53ef\u80fd\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>&#8220;The Rust Programming Language&#8221;\u306f7\u3064\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u306b\u5206\u304b\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u30a4\u30f3\u30c8\u30ed\u30c0\u30af\u30b7\u30e7\u30f3\u3092\u5148\u982d\u306b\u3001\u6b21\u306e\u3068\u304a\u308a\u306b\u5206\u304b\u308c\u307e\u3059\u3002<\/p>\n<p>Getting Started &#8211; Rust\u306b\u3088\u308b\u958b\u767a\u306e\u305f\u3081\u306e\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u306e\u8a2d\u5b9a\u3059\u308b<\/p>\n<p>Learn Rust(\u65e5\u672c\u8a9e) &#8211; \u5c0f\u898f\u6a21\u306a\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067Rust\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u5b66\u7fd2\u3059\u308b<\/p>\n<p>Effective Rust &#8211; \u3088\u308a\u3088\u3044Rust\u306e\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u305f\u3081\u306e\u9ad8\u5ea6\u306a\u6982\u5ff5<\/p>\n<p>Syntax and Semantics &#8211; Rust\u3092\u5c11\u3057\u305a\u3064\u565b\u307f\u7815\u3044\u3066\u3001\u5c0f\u3055\u304f\u584a\u306b\u3059\u308b 1<\/p>\n<p>Nightly Rust &#8211; \u5b89\u5b9a\u7248\u30d3\u30eb\u30c9\u306b\u306f\u307e\u3060\u5165\u3063\u3066\u3044\u306a\u3044\u6700\u5148\u7aef\u306e\u6a5f\u80fd 1<\/p>\n<p>Glossary &#8211; \u672c\u6587\u4e2d\u3067\u4f7f\u7528\u3055\u308c\u308b\u7528\u8a9e\u306e\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9<\/p>\n<p>Academic Research &#8211; Rust\u306b\u5f71\u97ff\u3092\u4e0e\u3048\u305f\u6587\u732e<\/p>\n<p>\u3053\u306e\u30a4\u30f3\u30c8\u30ed\u30c0\u30af\u30b7\u30e7\u30f3\u3092\u8aad\u3093\u3060\u5f8c\u3001\u3042\u306a\u305f\u306e\u597d\u307f\u306b\u5fdc\u3058\u3066 \u2018Learn Rust\u2019 \u304b \u2018Syntax and Semantics\u2019\u306b\u98db\u3073\u8fbc\u3093\u3067\u3044\u304f\u3053\u3068\u306b\u306a\u308b\u3067\u3057\u3087\u3046\u3002\u3082\u3057\u3042\u306a\u305f\u304c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u53d6\u308a\u7d44\u307f\u305f\u3044\u3068\u601d\u3063\u305f\u306a\u3089&#8217;Learn Rust&#8217;\u3092\u3001\u3042\u308b\u3044\u306f\u3001 \u3082\u3057\u3042\u306a\u305f\u304c\u5c0f\u3055\u3044\u30b9\u30bf\u30fc\u30c8\u3092\u597d\u307f\u3001\u304b\u3064\u3001\u6b21\u306e\u30b9\u30c6\u30c3\u30d7\u306b\u79fb\u52d5\u3059\u308b\u524d\u306b\u5fb9\u5e95\u7684\u306b\u3001\u5358\u4e00\u306e\u6982\u5ff5\u3092\u5b66\u7fd2\u3057\u305f\u3044\u3068\u601d\u3063\u305f\u305f\u306a\u3089\u2018Syntax and Semantics\u2019 \u304c\u3001\u304a\u5f79\u306b\u7acb\u3066\u308b\u3067\u3057\u3087\u3046\u3002\u8c4a\u5bcc\u306a\u76f8\u4e92\u30ea\u30f3\u30af\u304c\u3053\u308c\u3089\u306e\u30da\u30fc\u30b8\u3092\u4e00\u3064\u306b\u3082\u306e\u306b\u7e4b\u3044\u3067\u304f\u308c\u308b\u306f\u305a\u3067\u3059\u3002 2<\/p>\n<h3>Contributing<\/h3>\n<p>\u3053\u306e\u6587\u66f8\u306e\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u306fGithub\u4e0a\u306b\u3042\u308a\u3001\u305d\u3053\u304b\u3089\u751f\u6210\u3055\u308c\u305f\u3082\u306e\u3067\u3059\u3002 Github:github.com\/rust-lang\/rust\/tree\/master\/src\/doc\/trpl3<\/p>\n<h3>A brief introduction to Rust<\/h3>\n<p>Rust\u306b\u8208\u5473\u3092\u6301\u305f\u308c\u307e\u3057\u305f\u304b\uff1f\u3044\u304f\u3064\u304b\u306e\u5c0f\u3055\u3044\u30b3\u30fc\u30c9\u30b5\u30f3\u30d7\u30eb\u3067Rust\u306e\u3044\u304f\u3064\u304b\u306e\u5f37\u529b\u306a\u90e8\u5206\u3092\u8abf\u3079\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>Rust\u3092\u30e6\u30cb\u30fc\u30af\u306b\u3059\u308b\u4e3b\u306a\u6982\u5ff5\u306b&#8217;ownership&#8217;\u3068\u547c\u3070\u308c\u308b\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002\u4e0b\u306e\u5c0f\u3055\u306a\u4f8b\u3092\u8003\u3048\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"k\">fn<\/span> <span class=\"nf\">main<\/span><span class=\"p\">(){<\/span>\r\n    <span class=\"k\">let<\/span> <span class=\"k\">mut<\/span> <span class=\"n\">x<\/span> <span class=\"o\">=<\/span> <span class=\"nd\">vec!<\/span><span class=\"p\">[<\/span><span class=\"s\">\"Hello\"<\/span><span class=\"p\">,<\/span><span class=\"s\">\"World\"<\/span><span class=\"p\">];<\/span>\r\n<span class=\"p\">}<\/span>\r\n<\/code><\/pre>\n<p>\u3053\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u3001x\u3068\u3044\u3046\u540d\u524d\u306e\u5909\u6570\u30d0\u30a4\u30f3\u30c7\u30a3\u30f3\u30b0\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u306e\u5024\u306e\u30d0\u30a4\u30f3\u30c7\u30a3\u30f3\u30b0\u306f\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u6c7a\u3081\u3089\u308c\u305f\u30de\u30af\u30ed\u3092\u4ecb\u3057\u3066\u4f5c\u6210\u3055\u308c\u308b&#8217;vector&#8217;\u3067\u3042\u308bVec\u3067\u3059\u3002\u3053\u306e\u30de\u30af\u30ed\u306fvec\u3092\u547c\u3073\u51fa\u3057\u3001&#8221;\uff01&#8221;\u3067\u30de\u30af\u30ed\u3092\u547c\u3073\u51fa\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u7269\u4e8b\u3092\u660e\u793a\u7684\u306b\u3059\u308b\u3068\u3044\u3046 Rust\u306e\u5927\u539f\u5247\u306b\u6e96\u3058\u308b\u3082\u306e\u3067\u3059\u3002\u30de\u30af\u30ed\u306f\u95a2\u6570\u547c\u3073\u51fa\u3057\u3088\u308a\u5927\u5e45\u306b\u8907\u96d1\u306a\u3053\u3068\u3092\u53ef\u80fd\u306b\u3057\u3001\u305d\u306e\u305f\u3081\u8996\u899a\u7684\u306b\u3082\u7570\u306a\u308b\u3082\u306e\u306b\u306a\u308a\u307e\u3059\u3002 \u3053\u306e\u201d\uff01\u201d\u306f\u69cb\u6587\u89e3\u6790\u3092\u52a9\u3051\u3001\u8a18\u8ff0\u306e\u305f\u3081\u306e\u30c4\u30fc\u30eb\u306e\u4f5c\u6210\u3092\u5bb9\u6613\u306b\u3057\u305f\u308a\u306a\u3069\u3001\u91cd\u8981\u306a\u3082\u306e\u3067\u3059\u3002<\/p>\n<p>Rust\u3067\u306f\u6a19\u6e96\u3067\u306f\u30d0\u30a4\u30f3\u30c7\u30a3\u30f3\u30b0\u3055\u308c\u305f\u5909\u6570\u306f\u30a4\u30df\u30e5\u30fc\u30bf\u30d6\u30eb\u3064\u307e\u308a\u5909\u5316\u3057\u306a\u3044\u5024\u3067\u3042\u308a\u3001\u201dmut\u201d\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067&#8221;x&#8221;\u3092\u5909\u5316\u3059\u308b\u5024\u306b\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002\u5f8c\u534a\u306e\u4f8b\u3067\u306f\u3001\u3053\u306e\u30d9\u30af\u30c8\u30eb\u3092\u5909\u5316\u3055\u305b\u308b\u3082\u306e\u3068\u3057\u3066\u6271\u3046\u304b\u3082\u77e5\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u307e\u305f\u3001\u3053\u3053\u3067\u578b\u6ce8\u91c8\u3092\u5fc5\u8981\u3068\u3057\u306a\u304b\u3063\u305f\u3053\u3068\u306b\u6ce8\u76ee\u3057\u3066\u304f\u3060\u3055\u3044: Rust\u306f\u9759\u7684\u578b\u4ed8\u3051\u8a00\u8a9e\u3067\u3042\u308b\u3068\u540c\u6642\u306b\u3001\u660e\u793a\u7684\u306b\u578b\u3092\u5ba3\u8a00\u3059\u308b\u5fc5\u8981\u3082\u306a\u3044\u306e\u3067\u3059\u3002Rust\u306f\u578b\u63a8\u8ad6\u306b\u3088\u3063\u3066\u9759\u7684\u578b\u4ed8\u3051\u306e\u30d1\u30ef\u30fc\u3068\u5197\u9577\u306a\u578b\u6ce8\u91c8\u3092\u3046\u307e\u304f\u91e3\u308a\u5408\u308f\u305b\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>Rust\u306f\u30d2\u30fc\u30d7\u5272\u308a\u5f53\u3066\u3088\u308a\u3082\u30b9\u30bf\u30c3\u30af\u5272\u308a\u5f53\u3066\u3092\u597d\u307f\u307e\u3059: &#8220;x&#8221;\u306f\u30b9\u30bf\u30c3\u30af\u306b\u76f4\u63a5\u914d\u7f6e\u3055\u308c\u307e\u3059\u3002 \u3057\u304b\u3057\u306a\u304c\u3089\u3001 \u300cVec\u300d\u578b\u306f\u30d9\u30af\u30c8\u30eb\u306e\u8981\u7d20\u306e\u305f\u3081\u306e\u7a7a\u9593\u3092\u30d2\u30fc\u30d7\u306b\u5272\u308a\u5f53\u3066\u307e\u3059\u3002 \u3082\u3057\u3001\u3042\u306a\u305f\u304c\u3053\u306e\u533a\u5225\u306b\u6163\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u3001\u4eca\u306e\u3068\u3053\u308d\u305d\u308c\u3092\u7121\u8996\u3057\u3066\u304a\u304f\u304b\u3001\u300cThe Stack and the Heap\u300d\u3067\u8abf\u3079\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002\u30b7\u30b9\u30c6\u30e0\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3068\u3057\u3066\u3001 Rust\u306f\u3001\u30e1\u30e2\u30ea\u30fc\u5272\u308a\u5f53\u3066\u3092\u5236\u5fa1\u3059\u308b\u65b9\u6cd5\u3092\u3042\u306a\u305f\u306b\u63d0\u4f9b\u3057\u307e\u3059\u304c\u3001\u5165\u9580\u7a0b\u5ea6\u3067\u3042\u308c\u3070\u3001\u307b\u3068\u3093\u3069\u5fc5\u8981\u3068\u3055\u308c\u306a\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u524d\u306e\u6587\u3067\u3001\u300cownership\u300d\u306fRust\u306b\u304a\u3044\u3066\u9375\u3068\u306a\u308b\u65b0\u3057\u3044\u6982\u5ff5\u3067\u3042\u308b\u3068\u8ff0\u3079\u307e\u3057\u305f\u3002 Rust\u306b\u304a\u3051\u308b\u7528\u8a9e\u3067\u306f\u3001 &#8220;x&#8221;\u306f\u30d9\u30af\u30c8\u30eb\u3092\u300c\u6240\u6709\u300d\u3059\u308b\u3068\u3044\u3044\u307e\u3059\u3002\u3053\u308c\u306fx\u304c\u30b9\u30b3\u30fc\u30d7\u306e\u5916\u306b\u51fa\u305f\u3068\u304d\u3001\u30d9\u30af\u30c8\u30eb\u306e\u30e1\u30e2\u30ea\u30fc\u304c\u958b\u653e\u3055\u308c\u308b\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002\u3053\u308c\u306fRust\u30b3\u30f3\u30d1\u30a4\u30e9\u306b\u3088\u3063\u3066\u6c7a\u5b9a\u8ad6\u7684\u306b\u884c\u308f\u308c\u3001\u30ac\u30d9\u30fc\u30b8\u30b3\u30ec\u30af\u30bf\u30fc\u306a\u3069\u3092\u89e3\u3059\u308b\u3082\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u8a00\u3044\u63db\u3048\u308b\u3068\u3001Rust\u3067\u306f\u3001\u8cb4\u65b9\u81ea\u8eab\u3067malloc\u3084free\u306e\u3088\u3046\u306a\u95a2\u6570\u3092\u547c\u3073\u51fa\u3059\u5fc5\u8981\u304c\u306a\u3044\u3068\u3044\u3046\u3053\u3068\u3067\u3059: \u30b3\u30f3\u30d1\u30a4\u30e9\u304c\u9759\u7684\u306b\u30e1\u30e2\u30ea\u30fc\u306e\u78ba\u4fdd\u3082\u3057\u304f\u306f\u958b\u653e\u306e\u5fc5\u8981\u6027\u3092\u6c7a\u5b9a\u3057\u3001\u305d\u308c\u3089\u306e\u547c\u3073\u51fa\u3057\u3092\u633f\u5165\u3057\u307e\u3059\u3002\u8aa4\u308b\u306e\u306f\u4eba\u306e\u6027\u3067\u3059\u304c\u3001\u30b3\u30f3\u30d1\u30a4\u30e9\u306f\u898b\u9003\u3057\u307e\u305b\u3093\u3002<\/p>\n<p>\u4e0a\u8a18\u306e\u4f8b\u306b\u3001\u5225\u306e\uff11\u6587\u3092\u52a0\u3048\u3066\u307f\u307e\u3057\u3087\u3046:<\/p>\n<pre class=\"post-pre\"><code><span class=\"k\">fn<\/span> <span class=\"nf\">main<\/span><span class=\"p\">()<\/span> <span class=\"p\">{<\/span>\r\n    <span class=\"k\">let<\/span> <span class=\"k\">mut<\/span> <span class=\"n\">x<\/span> <span class=\"o\">=<\/span> <span class=\"nd\">vec!<\/span><span class=\"p\">[<\/span><span class=\"s\">\"Hello\"<\/span><span class=\"p\">,<\/span> <span class=\"s\">\"world\"<\/span><span class=\"p\">];<\/span>\r\n\r\n    <span class=\"k\">let<\/span> <span class=\"n\">y<\/span> <span class=\"o\">=<\/span> <span class=\"o\">&amp;<\/span><span class=\"n\">x<\/span><span class=\"p\">[<\/span><span class=\"mi\">0<\/span><span class=\"p\">];<\/span>\r\n<span class=\"p\">}<\/span>\r\n<\/code><\/pre>\n<p>\u3053\u3053\u3067\u306f\u3001\u65b0\u305f\u306b\uff59\u306e\u5272\u308a\u5f53\u3066\u3092\u5c0e\u5165\u3057\u307e\u3057\u305f\u3002\u3053\u306e\u30b1\u30fc\u30b9\u3067\u306f\u3001y\u306f\u6700\u521d\u306e\u8981\u7d20\u3067\u3042\u308b\u30d9\u30af\u30c8\u30eb\u306b\u5bfe\u3059\u308b\u300creference\u300d\u3067\u3059\u3002Rust\u306b\u304a\u3051\u308b\u53c2\u7167\u306f\u4ed6\u306e\u8a00\u8a9e\u306b\u304a\u3051\u308b\u30dd\u30a4\u30f3\u30bf\u306b\u4f3c\u3066\u3044\u307e\u3059\u304c\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u6642\u306b\u304a\u3051\u308b\u5b89\u5168\u6027\u306e\u30c1\u30a7\u30c3\u30af\u304c\u8ffd\u52a0\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u53c2\u7167\u306f\u305d\u308c\u81ea\u4f53\u3092\u6240\u6709\u3059\u308b\u3053\u3068\u3067\u306f\u306a\u304f\u3001\u3080\u3057\u308d\u6307\u3057\u793a\u3059\u5bfe\u8c61\u304b\u3089\u300c\u501f\u308a\u3066\u300d\u6765\u308b\u3053\u3068\u306b\u3088\u308b\u6240\u6709\u6a29\u30b7\u30b9\u30c6\u30e0\u3068\u76f8\u4e92\u306b\u4f5c\u7528\u3057\u307e\u3059\u3002\u3053\u306e\u9055\u3044\u306f\u3001\u53c2\u7167\u304c\u30b9\u30b3\u30fc\u30d7\u306e\u5916\u306b\u51fa\u305f\u6642\u306b\u3001\u305d\u308c\u304c\u6839\u672c\u7684\u306a\u30e1\u30e2\u30ea\u89e3\u653e\u3092\u884c\u308f\u306a\u3044\u3068\u3044\u3046\u3053\u3068\u3067\u3059 \u3002\u3082\u3057\u305d\u308c\u304c\u306a\u3044\u306a\u3089\u3001\u5272\u308a\u5f53\u3066\u306e\u4e8c\u91cd\u958b\u653e\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002which is bad!(\u8a33\u6ce81)<\/p>\n<p>3\u3064\u76ee\u306e\u6587\u3092\u52a0\u3048\u3066\u307f\u307e\u3057\u3087\u3046\u3002 \u4e00\u4ef6\u554f\u984c\u306a\u304f\u898b\u3048\u307e\u3059\u304c\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc\u306b\u306a\u308b\u30b1\u30fc\u30b9\u3067\u3059:<\/p>\n<pre class=\"post-pre\"><code><span class=\"k\">fn<\/span> <span class=\"nf\">main<\/span><span class=\"p\">()<\/span> <span class=\"p\">{<\/span>\r\n    <span class=\"k\">let<\/span> <span class=\"k\">mut<\/span> <span class=\"n\">x<\/span> <span class=\"o\">=<\/span> <span class=\"nd\">vec!<\/span><span class=\"p\">[<\/span><span class=\"s\">\"Hello\"<\/span><span class=\"p\">,<\/span> <span class=\"s\">\"world\"<\/span><span class=\"p\">];<\/span>\r\n\r\n    <span class=\"k\">let<\/span> <span class=\"n\">y<\/span> <span class=\"o\">=<\/span> <span class=\"o\">&amp;<\/span><span class=\"n\">x<\/span><span class=\"p\">[<\/span><span class=\"mi\">0<\/span><span class=\"p\">];<\/span>\r\n\r\n    <span class=\"n\">x<\/span><span class=\"nf\">.push<\/span><span class=\"p\">(<\/span><span class=\"s\">\"foo\"<\/span><span class=\"p\">);<\/span>\r\n<span class=\"p\">}<\/span>\r\n<\/code><\/pre>\n<p>push\u306f\u30d9\u30af\u30c8\u30eb\u306e\u6700\u5f8c\u306b\u65b0\u3057\u3044\u5225\u306e\u8981\u7d20\u3092\u4ed8\u3051\u52a0\u3048\u308b\u30e1\u30bd\u30c3\u30c9\u3067\u3059\u3002\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u6b21\u306e\u30a8\u30e9\u30fc\u3092\u5f97\u3089\u308c\u307e\u3059:<\/p>\n<pre class=\"post-pre\"><code><span class=\"go\">error: cannot borrow `x` as mutable because it is also borrowed as immutable\r\n<\/span><span class=\"gp\">    x.push(\"foo\");<\/span>\r\n<span class=\"go\">    ^\r\n<\/span><span class=\"gp\">note: previous borrow of `x` occurs here;<\/span> the immutable borrow prevents\r\n<span class=\"go\">subsequent moves or mutable borrows of `x` until the borrow ends\r\n<\/span><span class=\"gp\">    let y = &amp;x[0];<\/span>\r\n<span class=\"go\">             ^\r\nnote: previous borrow ends here\r\nfn main() {\r\n\r\n}\r\n^\r\n<\/span><\/code><\/pre>\n<p>Whew!4 Rust\u30b3\u30f3\u30d1\u30a4\u30e9\u306f\u975e\u5e38\u306b\u8a73\u7d30\u306a\u30a8\u30e9\u30fc\u3092\u767a\u751f\u6642\u306b\u304f\u308c\u307e\u3059\u304c\u3001\u3053\u308c\u306f\u305d\u306e\u4e00\u3064\u3067\u3059\u3002 \u30a8\u30e9\u30fc\u306b\u66f8\u304b\u308c\u3066\u3044\u308b\u901a\u308a\u3001\u4f5c\u6210\u3059\u308b\u30d0\u30a4\u30f3\u30c7\u30a3\u30f3\u30b0\u304c\u5909\u66f4\u53ef\u80fd\u3067\u3042\u308b\u9593\u306f\u3001\u307e\u3060push\u3092\u547c\u3073\u51fa\u3059\u3053\u3068\u304c\u51fa\u6765\u307e\u305b\u3093\u3002 \u305d\u306e\u7406\u7531\u306f\u6211\u3005\u304c\u3059\u3067\u306b\u30d9\u30af\u30c8\u30eb\u3078\u306e\u53c2\u7167\u3067\u3042\u308by\u3092\u3059\u3067\u306b\u6301\u3063\u3066\u3044\u308b\u304b\u3089\u3067\u3059\u3002\u53c2\u7167\u306f\u7121\u52b9\u306b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u306e\u3067\u3001\u4ed6\u306e\u53c2\u7167\u304c\u5b58\u5728\u3059\u308b\u9593\u306b\u4f55\u304b\u306b\u5909\u66f4\u3092\u52a0\u3048\u308b\u4e8b\u306f\u3068\u3066\u3082\u5371\u967a\u3067\u3059\u3002\u3053\u306e\u7279\u5b9a\u306e\u30b1\u30fc\u30b9\u3067\u306f\u3001\u30d9\u30af\u30c8\u30eb\u3092\u4f5c\u6210\u3059\u308b\u3068\u304d\u30013\u3064\u306e\u8981\u7d20\u306e\u305f\u3081\u306e\u9818\u57df\u3060\u3051\u304c\u78ba\u4fdd\u3055\u308c\u305f\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u30024\u3064\u76ee\u306e\u8981\u7d20\u3092\u8ffd\u52a0\u3059\u308b\u3068\u3044\u3046\u3053\u3068\u306f\u3001\u3059\u3079\u3066\u306e\u8981\u7d20\u306b\u65b0\u3057\u3044\u30e1\u30e2\u30ea\u30fc\u9818\u57df\u3092\u5272\u308a\u5f53\u3066\u3001\u53e4\u3044\u5024\u3092\u65b0\u3057\u3044\u9818\u57df\u306b\u30b3\u30d4\u30fc\u3057\u3001\u305d\u306e\u30e1\u30e2\u30ea\u3092\u6307\u3057\u793a\u3059\u5185\u90e8\u30dd\u30a4\u30f3\u30bf\u30fc\u3092\u66f4\u65b0\u3059\u308b\u3053\u3068\u3092\u610f\u5473\u3059\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u305d\u308c\u3089\u306f\u304d\u3063\u3068\u6b63\u5e38\u306b\u52d5\u304d\u307e\u3059\u3002\u554f\u984c\u306f\uff59\u304c\u66f4\u65b0\u3055\u308c\u305a\u3001\u300c\u30c0\u30f3\u30b0\u30ea\u30f3\u30b0\u30dd\u30a4\u30f3\u30bf\u30fc5\u300d\u304c\u767a\u751f\u3057\u3066\u3044\u308b\u3060\u308d\u3046\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002\u305d\u308c\u306f\u307e\u305a\u3044\u3053\u3068\u3067\u3059\u3002 \u3053\u306e\u5834\u5408y\u306e\u4f7f\u7528\u306f\u30a8\u30e9\u30fc\u3067\u3042\u308a\u3001\u305d\u306e\u305f\u3081\u30b3\u30f3\u30d1\u30a4\u30e9\u30fc\u306f\u30a8\u30e9\u30fc\u3092\u30ad\u30e3\u30c3\u30c1\u3057\u3066\u304f\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>\u3067\u306f\u3069\u3046\u3059\u308c\u3070\u3053\u306e\u554f\u984c\u3092\u89e3\u6c7a\u3067\u304d\u308b\u3067\u3057\u3087\u3046? \u53d6\u308b\u3079\u304d\u65b9\u6cd5\u306f2\u3064\u3042\u308a\u307e\u3059\u3002 \u4e00\u3064\u76ee\u306f\u53c2\u7167\u3067\u306f\u306a\u304f\u30b3\u30d4\u30fc\u3092\u5229\u7528\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002:<\/p>\n<pre class=\"post-pre\"><code><span class=\"k\">fn<\/span> <span class=\"nf\">main<\/span><span class=\"p\">()<\/span> <span class=\"p\">{<\/span>\r\n    <span class=\"k\">let<\/span> <span class=\"k\">mut<\/span> <span class=\"n\">x<\/span> <span class=\"o\">=<\/span> <span class=\"nd\">vec!<\/span><span class=\"p\">[<\/span><span class=\"s\">\"Hello\"<\/span><span class=\"p\">,<\/span> <span class=\"s\">\"world\"<\/span><span class=\"p\">];<\/span>\r\n\r\n    <span class=\"k\">let<\/span> <span class=\"n\">y<\/span> <span class=\"o\">=<\/span> <span class=\"n\">x<\/span><span class=\"p\">[<\/span><span class=\"mi\">0<\/span><span class=\"p\">]<\/span><span class=\"nf\">.clone<\/span><span class=\"p\">();<\/span>\r\n\r\n    <span class=\"n\">x<\/span><span class=\"nf\">.push<\/span><span class=\"p\">(<\/span><span class=\"s\">\"foo\"<\/span><span class=\"p\">);<\/span>\r\n<span class=\"p\">}<\/span>\r\n<\/code><\/pre>\n<p>Rust\u306f\u6a19\u6e96\u3067move\u30bb\u30de\u30f3\u30c6\u30a3\u30af\u30b9\u3067\u3042\u308a\u3001\u4f55\u3089\u304b\u306e\u30c7\u30fc\u30bf\u3092\u30b3\u30d4\u30fc\u3055\u305b\u305f\u3044\u5834\u5408\u306f\u3001clone() \u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3057\u307e\u3059. \u3053\u306e\u4f8b\u3067\u306f\u3001y\u306f\u3082\u306f\u3084x\u306b\u683c\u7d0d\u3055\u308c\u305f\u30d9\u30af\u30c8\u30eb\u3078\u306e\u53c2\u7167\u3067\u306f\u306a\u304f\u3001\u305d\u306e\u6700\u521d\u306e\u8981\u7d20\u3067\u3042\u308b\u201dHello\u201d\u306e\u30b3\u30d4\u30fc\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3046\u3059\u308b\u3068\u7279\u306b\u53c2\u7167\u3092\u6301\u3063\u3066\u3044\u306a\u3044\u306e\u3067\u3001push()\u306f\u6b63\u5e38\u306b\u6a5f\u80fd\u3057\u307e\u3059\u3002<\/p>\n<p>\u3082\u3057\u672c\u5f53\u306b\u53c2\u7167\u3092\u3057\u305f\u3044\u306a\u3089\u3001\u5225\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u5fc5\u8981\u3067\u3059: \u4f55\u304b\u306e\u5909\u66f4\u3092\u3057\u3088\u3046\u3068\u3059\u308b\u524d\u306b\u3001\u53c2\u7167\u304c\u30b9\u30b3\u30fc\u30d7\u306e\u5916\u306b\u3067\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u305d\u308c\u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002:<\/p>\n<pre class=\"post-pre\"><code><span class=\"k\">fn<\/span> <span class=\"nf\">main<\/span><span class=\"p\">()<\/span> <span class=\"p\">{<\/span>\r\n    <span class=\"k\">let<\/span> <span class=\"k\">mut<\/span> <span class=\"n\">x<\/span> <span class=\"o\">=<\/span> <span class=\"nd\">vec!<\/span><span class=\"p\">[<\/span><span class=\"s\">\"Hello\"<\/span><span class=\"p\">,<\/span> <span class=\"s\">\"world\"<\/span><span class=\"p\">];<\/span>\r\n\r\n    <span class=\"p\">{<\/span>\r\n        <span class=\"k\">let<\/span> <span class=\"n\">y<\/span> <span class=\"o\">=<\/span> <span class=\"o\">&amp;<\/span><span class=\"n\">x<\/span><span class=\"p\">[<\/span><span class=\"mi\">0<\/span><span class=\"p\">];<\/span>\r\n    <span class=\"p\">}<\/span>\r\n\r\n    <span class=\"n\">x<\/span><span class=\"nf\">.push<\/span><span class=\"p\">(<\/span><span class=\"s\">\"foo\"<\/span><span class=\"p\">);<\/span>\r\n<span class=\"p\">}<\/span>\r\n<\/code><\/pre>\n<p>\u4e2d\u62ec\u5f27\u3092\u4f7f\u3063\u3066\u8ffd\u52a0\u3067\u5185\u90e8\u30b9\u30b3\u30fc\u30d7\u3092\u4f5c\u6210\u3057\u3066\u307f\u307e\u3057\u305f\u3002push()\u3092\u547c\u3073\u51fa\u3059\u524d\u306by\u30b9\u30b3\u30fc\u30d7\u306e\u5916\u306b\u306a\u3063\u3066\u3001\u4e07\u4e8b\u89e3\u6c7a\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u300cownership\u300d\u306e\u6982\u5ff5\u306f\u30c0\u30f3\u30b0\u30ea\u30f3\u30b0\u30dd\u30a4\u30f3\u30bf\u30fc\u3092\u9632\u6b62\u3059\u308b\u3060\u3051\u3067\u306f\u306a\u304f\u3001\u30a4\u30c6\u30ec\u30fc\u30bf\u30fc\u306e\u7121\u52b9\u5316\u3084\u4e26\u884c\u51e6\u7406\u306a\u3069\u3001\u95a2\u9023\u3059\u308b\u554f\u984c\u3068\u5168\u4f53\u306b\u826f\u3044\u52b9\u679c\u3092\u4e0e\u3048\u307e\u3059\u3002<\/p>\n<h3>\u611f\u60f3<\/h3>\n<p>\u7ffb\u8a33\u96e3\u3057\u3044\u3002\u7ffb\u8a33\u5bb6\u3055\u3093\u3059\u3054\u3044\u3002<br \/>\n\u3064\u304e\u306f\u3001Getting Started\u3060\uff08\u4e88\u5b9a\u306f\u672a\u5b9a)Learn Rust\u306b\u306a\u308a\u307e\u3057\u305f\u3002<br \/>\n\u305d\u306e\u4ed6\u3001\u3054\u610f\u898b\u3001\u3054\u611f\u60f3\u3054\u3056\u3044\u307e\u3057\u305f\u3089\u30b3\u30e1\u30f3\u30c8\u3001\u7de8\u96c6\u30ea\u30af\u30a8\u30b9\u30c8\u306a\u3069\u3088\u308d\u3057\u304f\u304a\u9858\u3044\u3057\u307e\u3059\u3002<\/p>\n<h3>\u8a33\u6ce8\u4e00\u89a7<\/h3>\n<div>\n<p>\u672a\u7ffb\u8a33\u3067\u3059\u3002\u9811\u5f35\u308a\u307e\u3059\u3002\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u304a\u9670\u3067\u7406\u89e3\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3057\u305f\u3002\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3059\u3002\u00a0\u21a9<\/p>\n<p>Copious cross-linking connects these parts together.\u3063\u3066\u3069\u3046\u3044\u3046\u610f\u5473\u4f55\u3067\u3059\u304b\uff1f\u3042\u3063\u3066\u307e\u3059\u304b\u306d\uff1f\u3068\u8a00\u3046\u304b\u3053\u306e\u6bb5\u843d\u7ffb\u8a33\u96e3\u3057\u3044\u3002 cross-linking\u3092\u76f8\u4e92\u30ea\u30f3\u30af\u3068\u3057\u3066\u6349\u3048\u308b\u3068\u7406\u89e3\u51fa\u6765\u307e\u3057\u305f\u3002\u3054\u6307\u6458\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3057\u305f\u3002\u00a0\u21a9<\/p>\n<p>\u539f\u6587\u306e\u65b9\u3067\u3059\u3002\u591a\u5206\u3002\u00a0\u21a9<\/p>\n<p>\u3042\u3048\u3066\u305d\u306e\u307e\u307e\u6b8b\u3057\u307e\u3057\u305f\u3002\u00a0\u21a9<\/p>\n<p>\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u5b9f\u884c\u4e2d\u306b\u4e0d\u6b63\u306a\u30e1\u30e2\u30ea\u9818\u57df\u3084\u30a2\u30c9\u30ec\u30b9\u3092\u6307\u3059\u53ef\u80fd\u6027\u306e\u3042\u308b\u30dd\u30a4\u30f3\u30bf\u3002\u53c8\u306f\u305d\u306e\u72b6\u614b\u3002C\u3084C++\u306a\u3069\u3067\u306f\u81f4\u547d\u7684\u306a\u30d0\u30b0\u306b\u3064\u306a\u304c\u308b\u53ef\u80fd\u6027\u3082\u3042\u308b\u3002\u00a0\u21a9<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u62d9\u3044\u90e8\u5206\u3082\u3042\u308a\u307e\u3059\u304c\u3088\u308d\u3057\u304f\u304a\u9858\u3044\u3057\u307e\u3059\u3002 \u539f\u6587\u306fhttps:\/\/doc.rust-lang.org\/stab [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-45050","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>- Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/45050-2\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:description\" content=\"\u62d9\u3044\u90e8\u5206\u3082\u3042\u308a\u307e\u3059\u304c\u3088\u308d\u3057\u304f\u304a\u9858\u3044\u3057\u307e\u3059\u3002 \u539f\u6587\u306fhttps:\/\/doc.rust-lang.org\/stab [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/45050-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2022-11-15T20:53:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-29T18:51:05+00:00\" \/>\n<meta name=\"author\" content=\"\u6e05, \u5b87\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u6e05, \u5b87\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/45050-2\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/45050-2\/\",\"name\":\"- Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2022-11-15T20:53:50+00:00\",\"dateModified\":\"2024-04-29T18:51:05+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/45050-2\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e\",\"name\":\"\u6e05, \u5b87\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g\",\"caption\":\"\u6e05, \u5b87\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyu\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/45050-2\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"- Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/45050-2\/","og_locale":"zh_CN","og_type":"article","og_description":"\u62d9\u3044\u90e8\u5206\u3082\u3042\u308a\u307e\u3059\u304c\u3088\u308d\u3057\u304f\u304a\u9858\u3044\u3057\u307e\u3059\u3002 \u539f\u6587\u306fhttps:\/\/doc.rust-lang.org\/stab [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/45050-2\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2022-11-15T20:53:50+00:00","article_modified_time":"2024-04-29T18:51:05+00:00","author":"\u6e05, \u5b87","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u6e05, \u5b87","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/45050-2\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/45050-2\/","name":"- Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2022-11-15T20:53:50+00:00","dateModified":"2024-04-29T18:51:05+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/45050-2\/"]}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e","name":"\u6e05, \u5b87","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g","caption":"\u6e05, \u5b87"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyu\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/45050-2\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/45050","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=45050"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/45050\/revisions"}],"predecessor-version":[{"id":89236,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/45050\/revisions\/89236"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=45050"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=45050"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=45050"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}