<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>higepon</author_name>
  <author_url>https://blog.hatena.ne.jp/higepon/</author_url>
  <blog_title>higepon blog</blog_title>
  <blog_url>https://higepon.hatenablog.com/</blog_url>
  <categories>
    <anon>mosh</anon>
  </categories>
  <description>FFI とは何か？ ある言語から他の言語で作られたライブラリを呼び出すしくみの事。 ここでは Scheme から C の関数を呼び出す方法をとり上げる。例えば Scheme から libxml の関数を呼ぶなど。 しくみ 上から順に処理が流れる。 ライブラリのロード 呼び出そうとする C 関数を含む共有ライブラリをロードする。ロードに必要な情報は共有ライブラリの名前である。この名前はユーザーが指示する。 dlopen, LoadLibrary などでロードが行われる。この作業は初期化時に一回行うだけでよい。 型情報の提供 呼び出そうとしている関数の引数や戻り値の型を処理系（VM）に提供する。例…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhigepon.hatenablog.com%2Fentry%2F20090110%2F1231571352&quot; title=&quot; FFI - Foreign Function Interface のしくみまとめ - higepon blog&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>https://cdn-ak.f.st-hatena.com/images/fotolife/h/higepon/20080919/20080919094408.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-01-10 16:09:12</published>
  <title> FFI - Foreign Function Interface のしくみまとめ</title>
  <type>rich</type>
  <url>https://higepon.hatenablog.com/entry/20090110/1231571352</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
