<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>potisan</author_name>
  <author_url>https://blog.hatena.ne.jp/potisan/</author_url>
  <blog_title>potisanのプログラミングメモ</blog_title>
  <blog_url>https://potisan-programming-memo.hatenablog.jp/</blog_url>
  <categories>
    <anon>C++</anon>
    <anon>雑記</anon>
  </categories>
  <description>この記事はRust言語を触ったことのない素人――言語名と自動的なメモリ管理、unsafe、impl、そしてWindows OSへの一部採用くらいしか知らないRust素人が書いています。 ネット上でRustとC/C++を比較する記事を検索すると両者のメモリ管理を比べる記事が多数見つかります。いずれも似たような内容で「Rustは標準でメモリ管理機能があるがC/C++はメモリ管理機能がなく危険」と主張しています。これに違和感があります。 記事執筆者の一部はC++あるいはC++標準ライブラリを知らないように思います。確かにCのメモリ管理はmalloc/free関数対が基本でfreeを忘れるとメモリリー…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpotisan-programming-memo.hatenablog.jp%2Fentry%2F2025%2F01%2F27%2F174714&quot; title=&quot;雑記 C++とRustのメモリ管理を比較するウェブ記事の比較対象が不明瞭？ - potisanのプログラミングメモ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-01-27 17:47:14</published>
  <title>雑記 C++とRustのメモリ管理を比較するウェブ記事の比較対象が不明瞭？</title>
  <type>rich</type>
  <url>https://potisan-programming-memo.hatenablog.jp/entry/2025/01/27/174714</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
