{"title":"Rust \u3068 Python \u3067\u6587\u5b57\u6570\u3092\u6570\u3048\u308b","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpc.atsuhiro-me.net%2Fentry%2F2023%2F04%2F21%2F114612\" title=\"Rust \u3068 Python \u3067\u6587\u5b57\u6570\u3092\u6570\u3048\u308b - \u307f\u30fc\u306e\u307a\u30fc\u3058\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"author_url":"https://blog.hatena.ne.jp/atsuhiro-me/","version":"1.0","type":"rich","author_name":"atsuhiro-me","url":"https://pc.atsuhiro-me.net/entry/2023/04/21/114612","published":"2023-04-21 11:46:12","categories":["Python","Rust"],"blog_url":"https://pc.atsuhiro-me.net/","height":"190","width":"100%","blog_title":"\u307f\u30fc\u306e\u307a\u30fc\u3058","description":"\u74b0\u5883 \u691c\u8a3c\u306b\u4f7f\u7528\u3057\u305f\u74b0\u5883\u306f\uff0c\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\uff0e Python 3.11.3 (main, Apr 11 2023, 16:14:10) [GCC 10.2.1 20210110] on linux rustc 1.68.2 (9eb3afe9e 2023-03-27) on linux \u6587\u5b57\u5217\u3092\u6570\u3048\u308b Python \u306a\u3089\u3070 len() \u95a2\u6570\u3092\u4f7f\u3046\u3060\u3051\u3067\u3059\uff0e >>> len(\"\u308a\u3093\u3054\") 3 Rust \u3067\u306f\uff0c\u6587\u5b57\u5217\u3092\u8868\u73fe\u3059\u308b\u305f\u3081\u306e&str \u3084 String \u306a\u3069\u306e\u578b\u304c\u3042\u308a\u307e\u3059\uff0elen() \u95a2\u6570\u3082\u5b58\u5728\u3057\u307e\u3059\u304c\uff0c\u9577\u3055\u3092\u30d0\u30a4\u30c8\u3067\u8868\u73fe\u3059\u308b\u305f\u3081\uff0cUTF8\u306a\u3069\u53ef\u5909\u9577\u306e\u30a8\u30f3\u30b3\u30fc\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3068\u76f4\u611f\u7684\u3067\u306f\u306a\u3044\u5024\u304c\u8fd4\u2026"}