<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://h.suprapedia.de/w/index.php?action=history&amp;feed=atom&amp;title=Continuation</id>
	<title>Continuation - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://h.suprapedia.de/w/index.php?action=history&amp;feed=atom&amp;title=Continuation"/>
	<link rel="alternate" type="text/html" href="https://h.suprapedia.de/w/index.php?title=Continuation&amp;action=history"/>
	<updated>2026-04-05T14:05:39Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in PlusPedia</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>https://h.suprapedia.de/w/index.php?title=Continuation&amp;diff=3273&amp;oldid=prev</id>
		<title>82.113.106.203: Init</title>
		<link rel="alternate" type="text/html" href="https://h.suprapedia.de/w/index.php?title=Continuation&amp;diff=3273&amp;oldid=prev"/>
		<updated>2009-11-17T00:10:25Z</updated>

		<summary type="html">&lt;p&gt;Init&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
Eine &amp;#039;&amp;#039;&amp;#039;Fortsetzung&amp;#039;&amp;#039;&amp;#039; (engl. &amp;#039;&amp;#039;Continuation&amp;#039;&amp;#039;) repräsentiert in der [[Programmierung]] einen bestimmten Punkt in der Ausführung eines Programms. Klassisch bestünde sie aus dem [[Befehlszähler]] und dem aktuellen &amp;#039;&amp;#039;[[Stapelspeicher|Stack]] frame&amp;#039;&amp;#039;. Viele Programmiersprachen erlauben es, zur Laufzeit eine Continuation zu erzeugen und den Programmablauf später an diesem Punkt wieder aufzunehmen. Der Ausdruck wurde von Christopher Strachey, C. P. Wadsworth und John Reynolds geprägt.&lt;br /&gt;
&lt;br /&gt;
Continuations gibt es in verschiedenen Ausprägungen: In der flexibelsten Form kann eine Continuation später mehrfach aufgerufen werden. Häufiger angeboten werden Continuations, die nur einmal aufgerufen werden können, beispielsweise in [[Ruby (Programmiersprache)|Ruby]]. Eine sehr beschränkte Form sind sogenannte &amp;#039;&amp;#039;escape continuations&amp;#039;&amp;#039;, die es nur erlauben den aktuellen Kontext zu verlassen und in einen umgebenden zu springen. Hierzu zählen [[Exception]]s in Sprachen wie [[Java (Programmiersprache)|Java]] und nochmals einfacher auch &amp;lt;code&amp;gt;setjmp&amp;lt;/code&amp;gt; und &amp;lt;code&amp;gt;longjmp&amp;lt;/code&amp;gt; in [[C (Programmiersprache)|C]].&lt;br /&gt;
&lt;br /&gt;
Continuations erlangen in der Webprogrammierung zunehmend Bedeutung, da mit ihrer Hilfe der asynchrone Request/Response-Zyklus, wie er bei [[Hypertext Transfer Protocol|HTTP]] üblich ist, in einen linearen Ablauf umgebogen werden kann. Es lässt sich dabei eine Methode schreiben, die eine Seite an den Benutzer schickt und dann die aktuelle Continuation in die Hosentasche schiebt, um bei der nächsten Aktion des Benutzers hinter dieser Methode mit dem Programm fortzufahren. Kenner warnen allerdings davor den Benutzer solcherart als „Peripheriegerät“ zu behandeln.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
continuation passing style fehlt&lt;br /&gt;
man kann damit tail recursion optimieren, oder?&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
== Continuations in verschiedenen Programmiersprachen ==&lt;br /&gt;
* [[C (Programmiersprache)|C]]: &amp;lt;code&amp;gt;setcontext&amp;lt;/code&amp;gt; et al. ([[UNIX System V]] and [[GNU libc]])&lt;br /&gt;
* [[Ruby (Programmiersprache)|Ruby]]: &amp;lt;code&amp;gt;callcc&amp;lt;/code&amp;gt;&lt;br /&gt;
* [[Haskell (Programmiersprache)|Haskell]]: &amp;lt;code&amp;gt;callCC&amp;lt;/code&amp;gt; (im Modul &amp;lt;code&amp;gt;Control.Monad.Cont&amp;lt;/code&amp;gt;)&lt;br /&gt;
* [[Java (Programmiersprache)|Java]]: Das Web-Framework [http://rifers.org/ RIFE]&lt;br /&gt;
* [[ML (Programmiersprache)|Standard ML]]: &amp;lt;code&amp;gt;SMLofNJ.Cont.callcc&amp;lt;/code&amp;gt;&lt;br /&gt;
* [[Python (Programmiersprache)|Python]]: &amp;lt;code&amp;gt;yield&amp;lt;/code&amp;gt;&amp;lt;ref&amp;gt;[http://docs.python.org/tut/node11.html#SECTION00111000000000000000000 Python Tutorial: 9.10 Generators]&amp;lt;/ref&amp;gt;&lt;br /&gt;
* [[Rhino]]: &amp;lt;code&amp;gt;Continuation&amp;lt;/code&amp;gt;&lt;br /&gt;
* [[Scheme]]: &amp;lt;code&amp;gt;call/cc&amp;lt;/code&amp;gt; (kurz für &amp;lt;code&amp;gt;call-with-current-continuation&amp;lt;/code&amp;gt;)&lt;br /&gt;
* [[Smalltalk (Programmiersprache)|Smalltalk]]: &amp;lt;code&amp;gt;Continuation currentDo:&amp;lt;/code&amp;gt;&lt;br /&gt;
* [[Icon (Programmiersprache)]]: &amp;lt;code&amp;gt;suspend&amp;lt;/code&amp;gt;&lt;br /&gt;
* [[Common Lisp]]: &amp;lt;code&amp;gt;handler-bind, cerror, continue&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Siehe auch ==&lt;br /&gt;
* [[Sprunganweisung]]&lt;br /&gt;
* [[Continuation-passing style]]&lt;br /&gt;
&lt;br /&gt;
== Einzelnachweise ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Weblinks ==&lt;br /&gt;
* [http://www.ps.uni-sb.de/~duchier/python/continuations.html Continuations Made Simple and Illustrated]&lt;br /&gt;
&lt;br /&gt;
[[Kategorie:Programmierung]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Andere Wikipedia Sprachen ==&lt;br /&gt;
* [http://cs.wikipedia.org/wiki/Continuation WPSprache{cs}: Continuation ]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Continuation WPSprache{en}: Continuation ]&lt;br /&gt;
* [http://fr.wikipedia.org/wiki/Continuation WPSprache{fr}: Continuation ]&lt;br /&gt;
* [http://it.wikipedia.org/wiki/Continuazione WPSprache{it}: Continuazione ]&lt;br /&gt;
* [http://ja.wikipedia.org/wiki/継続 WPSprache{ja}: 継続 ]&lt;br /&gt;
* [http://ru.wikipedia.org/wiki/Продолжение WPSprache{ru}: Продолжение ]&lt;br /&gt;
* [http://uk.wikipedia.org/wiki/Продовження_(програмування) WPSprache{uk}: Продовження (програмування) ]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Init-Quelle ==&lt;br /&gt;
Entnommen aus der:&lt;br /&gt;
* [http://de.wikipedia.org/wiki/Continuation Wikipedia] &lt;br /&gt;
* [http://de.wikipedia.org/wiki/Wikipedia:L%C3%B6schkandidaten/20._August_2009#Continuation_.28gel.C3.B6scht.29 Löschdiskussion bei Wikipedia]&lt;br /&gt;
&lt;br /&gt;
Erster Autor: [http://de.wikipedia.org/wiki/Benutzer:D D]&lt;br /&gt;
, Alle Autoren: [http://de.wikipedia.org/wiki/Benutzer:Mark Nowiasz Mark Nowiasz], [http://de.wikipedia.org/wiki/Benutzer:D D], [http://de.wikipedia.org/wiki/Benutzer:STBR STBR], [http://de.wikipedia.org/wiki/Benutzer:Boemmels Boemmels], [http://de.wikipedia.org/wiki/Benutzer:Chiccodoro Chiccodoro], [http://de.wikipedia.org/wiki/Benutzer:Zwobot Zwobot], [http://de.wikipedia.org/wiki/Benutzer:Bota47 Bota47], [http://de.wikipedia.org/wiki/Benutzer:ThePeritus ThePeritus], [http://de.wikipedia.org/wiki/Benutzer:Fomafix Fomafix], [http://de.wikipedia.org/wiki/Benutzer:DodekBot DodekBot], [http://de.wikipedia.org/wiki/Benutzer:Klausikm  Klausikm ], [http://de.wikipedia.org/wiki/Benutzer:Eskimbot Eskimbot], [http://de.wikipedia.org/wiki/Benutzer:DanielSHaischt DanielSHaischt], [http://de.wikipedia.org/wiki/Benutzer:RobotQuistnix RobotQuistnix], [http://de.wikipedia.org/wiki/Benutzer:Schaengel89 Schaengel89], [http://de.wikipedia.org/wiki/Benutzer:Flominator Flominator], [http://de.wikipedia.org/wiki/Benutzer:ErikDunsing ErikDunsing], [http://de.wikipedia.org/wiki/Benutzer:Hydro Hydro], [http://de.wikipedia.org/wiki/Benutzer:DustyDingo DustyDingo], [http://de.wikipedia.org/wiki/Benutzer:Hubi Hubi]&lt;br /&gt;
&lt;br /&gt;
[[Kategorie:WikiPedia Deleted]]&lt;/div&gt;</summary>
		<author><name>82.113.106.203</name></author>
	</entry>
</feed>