<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ks888</author_name>
  <author_url>https://blog.hatena.ne.jp/ks888/</author_url>
  <blog_title>Soon Lazy</blog_title>
  <blog_url>https://ks888.hatenablog.com/</blog_url>
  <categories>
    <anon>Go</anon>
  </categories>
  <description>前回の記事では、Go言語のスライスと文字列の値がメモリ上でどう表現されているか見てみました。今回はインターフェースへの理解を深めるべく、インターフェースの値がメモリ上でどう表現されているかGDBでみてみます。 インターフェースの値 まず、インターフェースの構造体は次のようになっています（runtime/runtime2.go#L71）。 type iface struct { tab *itab data unsafe.Pointer } itabは、インターフェースの型情報や、メソッドの配列等を保持する構造体です。この構造体の定義は、後でGDBを動かすときに確認します。dataはインターフェ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fks888.hatenablog.com%2Fentry%2F2016%2F08%2F08%2F183000&quot; title=&quot;Go言語のインターフェースの値は、メモリ上でどう表現されているか - Soon Lazy&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>2016-08-08 18:30:00</published>
  <title>Go言語のインターフェースの値は、メモリ上でどう表現されているか</title>
  <type>rich</type>
  <url>https://ks888.hatenablog.com/entry/2016/08/08/183000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
