<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nineties</author_name>
  <author_url>https://blog.hatena.ne.jp/nineties/</author_url>
  <blog_title>ブートストラッピングでコンパイラを作る日記</blog_title>
  <blog_url>https://nineties.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>Haskellに副作用があるのか？というのは難しいテーマだと思いますが、少なくとも最適化理論での一般的な「副作用」の定義ではHaskellは全く副作用がない言語と言えると思います。 理論的に美しいという点がHaskellの設計の一番重要なところだと思うのですが、バックエンドの泥臭い話も面白いかもと思ったので書いてみます。 私は主に手続き型言語の最適化をやっていて関数型言語は詳しくありませんので、見当違いな事を書いていたら指摘して下さい。まずは副作用の定義の為に「データ依存関係」(Wikipedia:依存関係)の説明をします。 ある変数xを使用・定義する二つの文を考える時、その評価順序関係には以…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnineties.hatenadiary.org%2Fentry%2F20101123%2F1290469252&quot; title=&quot;最適化コンパイラ屋がHaskellの副作用について考えてみる - ブートストラッピングでコンパイラを作る日記&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>2010-11-23 08:40:52</published>
  <title>最適化コンパイラ屋がHaskellの副作用について考えてみる</title>
  <type>rich</type>
  <url>https://nineties.hatenadiary.org/entry/20101123/1290469252</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
