{"provider_name":"Hatena Blog","categories":[],"type":"rich","provider_url":"https://hatena.blog","title":"Async Recursion In Rust","description":"\u3053\u3093\u306b\u3061\u306f\u3001\u30ea\u30fc\u3067\u3059\u3002\u30a8\u30e2\u30fc\u30b7\u30e7\u30f3\u30c6\u30c3\u30af\u306e\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30a8\u30f3\u30b8\u30cb\u30a2\u3068\u3057\u3066\u50cd\u3044\u3066\u3044\u307e\u3059\u3002 Rust \u306easync fn \u306f\u7d20\u76f4\u306b\u306f\u518d\u5e30\u3067\u304d\u306a\u3044\u3089\u3057\u3044\u3068\u3044\u3046\u8a71\u3092\u805e\u3044\u305f\u306e\u3067\u305d\u306e\u7406\u7531\u3068\u514b\u670d\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8abf\u3079\u3066\u307f\u307e\u3057\u305f\u3002 \u518d\u5e30\u306e\u4f8b (fibonacci) \u307e\u305a\u306f\u3001\u518d\u5e30\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u691c\u8a3c\u3057\u3066\u307f\u307e\u3059\u3002\u4eca\u56de\u3001\u518d\u5e30\u3092\u3064\u304b\u3063\u305f\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u4f8b\u3068\u3057\u3066fibonacci\u3092\u5b9f\u88c5\u3057\u3066\u307f\u307e\u3057\u305f\u3002 \u975e async \u7248 \u307e\u305a\u306f async \u3092\u4f7f\u308f\u305a\u306b\u66f8\u3044\u3066\u307f\u307e\u3059\u3002\u3053\u308c\u306f\u3068\u304f\u306b\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002 fn fibonacci(n: u64) -> u64 { if n <= 1 { n } else { fibonacci(n - 1) +\u2026","blog_url":"https://tech.emotion-tech.co.jp/","url":"https://tech.emotion-tech.co.jp/entry/2024/06/03/143442","width":"100%","version":"1.0","author_url":"https://blog.hatena.ne.jp/emotion-tech/","blog_title":"EmotionTech\u30c6\u30c3\u30af\u30d6\u30ed\u30b0","image_url":null,"published":"2024-06-03 14:34:42","height":"190","author_name":"emotion-tech","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.emotion-tech.co.jp%2Fentry%2F2024%2F06%2F03%2F143442\" title=\"Async Recursion In Rust - EmotionTech\u30c6\u30c3\u30af\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}