<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Shugo's Blog comments on A history of continuation</title>
    <link>http://blog.shugo.net/</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Shugo's Blog comments</description>
    <item>
      <title>"A history of continuation" by shugo</title>
      <description>&lt;p&gt;I attended &lt;a href="http://onestepback.org/articles/callcc/"&gt;Jim Weirich and Chad Fowler's tutorial&lt;/a&gt; on RubyConf today.
It was about continuation and quite a interesting one. I learned many about &lt;a href="http://www.zelda.com/"&gt;The Legend of Zelda&lt;/a&gt;:)
Thanks, Jim and Chad.&lt;/p&gt;

&lt;p&gt;Someone asked a question, "Is it similar to &lt;code&gt;goto&lt;/code&gt;?"  Then I remember
why continuation was added to Ruby.&lt;/p&gt;

&lt;p&gt;In 1998, someone requested &lt;code&gt;goto&lt;/code&gt; to Matz.  Matz said that he doesn't
want to add &lt;code&gt;goto&lt;/code&gt; to Ruby because it's difficult to implement and there is
no benefit to do it.  So I asked him, "How about continuation?"  He said,
"Continuation may be acceptable."&lt;/p&gt;

&lt;p&gt;Then, I implemented it using thread implementation.  The first implementaion
was just a 94 lines patch.  Certainly it was an incomplete implementaion, but
it was very easy to implement thanks to thread.  That patch was merged to Ruby finally.&lt;/p&gt;

&lt;p&gt;Continuation may be harmful especially for languages that allow many side
effects such as Ruby.  Maybe it should be removed from Ruby 2.0.
I have not used continuation in real applications, so I can do without
it.&lt;/p&gt;

&lt;p&gt;But it's a very interesting feature, and I want see it in Ruby 2.0.
How about others?&lt;/p&gt;

</description>
      <pubDate>Mon, 17 Oct 2005 14:53:00 JST</pubDate>
      <guid>&lt;a href="/articles/2005/10/17/a-history-of-continuation"&gt;A history of continuation&lt;/a&gt;</guid>
      <link>&lt;a href="/articles/2005/10/17/a-history-of-continuation"&gt;A history of continuation&lt;/a&gt;</link>
    </item>
  </channel>
</rss>
