<?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>scheme</anon>
  </categories>
  <description>VM で compiler.scm を実行したらスタックオーバーフローになったので原因を調べる。古いVMでは起きなかったので設計ミスやバグが予想される。 まずは VM に仕掛けをほどこし、最大でスタックをどれだけ消費したかを実行後に出力するようにした。新旧 VM にいくつかのコードを食わせてスタック消費量を比較。 項目 旧VMの消費量 新VMの消費量 備考 簡単な100回再帰 8 12 FRAME2回分の差 wikiのコード 37 68 compilerでwikiをコンパイル 409 930 A正規化したcompilerでwikiをコンパイル 391 2301 結果的には FRAME 命令で以…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhigepon.hatenablog.com%2Fentry%2F20080121%2F1200901315&quot; title=&quot; スタック消費量を調べる - Scheme VM を書く - 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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-01-21 16:41:55</published>
  <title> スタック消費量を調べる - Scheme VM を書く</title>
  <type>rich</type>
  <url>https://higepon.hatenablog.com/entry/20080121/1200901315</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
