<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tkng</author_name>
  <author_url>https://blog.hatena.ne.jp/tkng/</author_url>
  <blog_title>射撃しつつ前転 改</blog_title>
  <blog_url>https://tkng.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>Schemeみたいにメモリ管理を隠蔽してしまっている言語では、メモリ確保に失敗した場合にどうすればいいのだろう。例えば、consをしようとすると新しいメモリ領域が必要になってくるので、consにはわずかながら失敗の可能性がある。 というか、よく考えたらconsが失敗するところって見たことがない。これは実験してみなければ。 というわけで、failmallocを使ってgoshを起動してみたのだが、*** SYSTEM-ERROR: couldn't get home directory. とかエラーを吐くものの、起動する。しかも、(define a (cons 0 1))とかやってもちゃんと動く。…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftkng.hatenablog.com%2Fentry%2F20060715%2F1153002334&quot; title=&quot; Schemeでconsは失敗するか - 射撃しつつ前転 改&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>2006-07-15 07:25:34</published>
  <title> Schemeでconsは失敗するか</title>
  <type>rich</type>
  <url>https://tkng.hatenablog.com/entry/20060715/1153002334</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
