<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0" xmlns:blogChannel="http://backend.userland.com/blogChannelModule">

<channel>
<title><![CDATA[Perl 6: Continuation Passing Style]]></title>
<link>http://www.perlfoundation.org/perl6/index.cgi?continuation_passing_style</link>
<description></description>
<pubDate>Mon, 21 Jan 2008 12:49:07 -0000</pubDate>
<webMaster>synedra@gmail.com</webMaster>
<generator>Socialtext Workspace v2.14.7.2</generator>

<item>
<title><![CDATA[Continuation Passing Style]]></title>
<link>http://www.perlfoundation.org/perl6/index.cgi?continuation_passing_style</link>
<description><![CDATA[<div class="wiki">
<p>
Abbreviated as CPS, this is a technique of a stackless implementation of function call. This basically works by, instead of pushing a new frame to the stack before any subroutine execution, replacing the entire context by a new continuation, that in the end will route to some place else. The &quot;return&quot; concept is a little modified here, because we don't have to simply drop a frame of the stack, but when we want to simulate the standard stack behaviour, the current subroutine should know where it should return to when it finishes.</p>
<p>
This feature is used in <a href="http://www.perlfoundation.org/perl6/index.cgi?smop" title="(7 months)  Simple Meta Object Programming Simple Matter Of Programming is a C based interpreter (runloop) that...">SMOP</a> to support different interpreter implementations in the same run loop.</p>
</div>
]]></description>
<author>Daniel Ruoso</author>
<guid isPermaLink="true">http://www.perlfoundation.org/perl6/index.cgi?continuation_passing_style</guid>
<pubDate>Mon, 21 Jan 2008 12:49:07 -0000</pubDate>
</item>

</channel>
</rss>