<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Axum programming language</title>
	<atom:link href="http://blog.cas-group.net/2009/05/axum-programming-language/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.cas-group.net/2009/05/axum-programming-language/</link>
	<description>Complex Adaptive Systems Group</description>
	<lastBuildDate>Mon, 26 Jul 2010 21:11:18 +0000</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Dan</title>
		<link>http://blog.cas-group.net/2009/05/axum-programming-language/comment-page-1/#comment-625</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Sun, 01 Nov 2009 16:01:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cas-group.net/?p=1008#comment-625</guid>
		<description>Take a look at Parallel C# language. Here is how Ping Pong example looks like in this lang:

using System;

public class PingPong {
 movable Ping( (string) =&gt; async ping, () =&gt; string pong ) {
  for ( int i = 0; i  async pong, () =&gt; string ping ) {
  for ( int i = 0; i &lt; 100; i++ ) {
   Console.WriteLine( ping() );
   pong(&quot;pong&quot;);
  }
 }

 string Receive() &amp; async Send(string a) { return a; }

 public static void Main( string[] args ) {
  PingPong pp = new PingPong();
  pp.Ping( pp.Send, pp.Receive );
  pp.Pong( pp.Send, pp.Receive );
  Console.ReadLine();
 }
}

It&#039;s taken from official distribs, should work in distributed mode as well, but I haven&#039;t tested it yet...</description>
		<content:encoded><![CDATA[<p>Take a look at Parallel C# language. Here is how Ping Pong example looks like in this lang:</p>
<p>using System;</p>
<p>public class PingPong {<br />
 movable Ping( (string) =&gt; async ping, () =&gt; string pong ) {<br />
  for ( int i = 0; i  async pong, () =&gt; string ping ) {<br />
  for ( int i = 0; i &lt; 100; i++ ) {<br />
   Console.WriteLine( ping() );<br />
   pong(&quot;pong&quot;);<br />
  }<br />
 }</p>
<p> string Receive() &amp; async Send(string a) { return a; }</p>
<p> public static void Main( string[] args ) {<br />
  PingPong pp = new PingPong();<br />
  pp.Ping( pp.Send, pp.Receive );<br />
  pp.Pong( pp.Send, pp.Receive );<br />
  Console.ReadLine();<br />
 }<br />
}</p>
<p>It&#039;s taken from official distribs, should work in distributed mode as well, but I haven&#039;t tested it yet&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
