<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>FORTH GO &#187; C#</title>
	<atom:link href="http://www.forthgo.com/blog/category/code/c/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.forthgo.com/blog</link>
	<description>Code and Recreations of Xan Gregg</description>
	<lastBuildDate>Wed, 14 Jul 2010 01:20:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>.NET spreading</title>
		<link>http://www.forthgo.com/blog/2005/07/31/net-spreading/</link>
		<comments>http://www.forthgo.com/blog/2005/07/31/net-spreading/#comments</comments>
		<pubDate>Sun, 31 Jul 2005 21:27:40 +0000</pubDate>
		<dc:creator>xan</dc:creator>
				<category><![CDATA[C#]]></category>

		<guid isPermaLink="false">http://www.forthgo.com/blog/2005/07/31/net-spreading/</guid>
		<description><![CDATA[More sites must be moving to .NET because I&#8217;m starting to see .NET stack dumps when visiting web sites. Today&#8217;s occurrence was the second in the week for me. I don&#8217;t remember the first site, but this one appeared to be from the New York Times, but it was actually from http://www.sportsnetwork.com which apparently supplies [...]]]></description>
			<content:encoded><![CDATA[<p>More sites must be moving to .NET because I&#8217;m starting to see .NET stack dumps when visiting web sites. Today&#8217;s occurrence was the second in the week for me. I don&#8217;t remember the first site, but this one appeared to be from the <a href='http://nytimes.com/'>New York Times</a>, but it was actually from <a href='http://www.sportsnetwork.com'>http://www.sportsnetwork.com</a> which apparently supplies some of the sports content. Below is the message, with some suggestions for turning on debug more removed. </p>
<p>I don&#8217;t remember seeing Java servlet stack dumps on production web sites, but that could be selective memory&#8230;</p>
<p>The stack dump is not very big, but when I viewed the html source, it showed a more complete stack dump in a comment.</p>
<p>            <b>Server Error in &#8216;/Merge&#8217; Application.<br />
<hr width=100% size=1 color=silver/></b></p>
<p>            <i>Your transaction (process ID #329) was deadlocked with another process and has been chosen as the deadlock victim. Rerun your transaction.</i></p>
<p>            <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "></p>
<p>            <b> Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.</p>
<p>            <b> Exception Details: </b>System.Data.SqlClient.SqlException: Your transaction (process ID #329) was deadlocked with another process and has been chosen as the deadlock victim. Rerun your transaction.</p>
<p></p>
<p>            <b>Stack Trace:</b> </p>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
                      <code>
<pre>
[SqlException: Your transaction (process ID #329) was deadlocked
 with another process and has been chosen as the deadlock victim.
Rerun your transaction.]
   System.Data.SqlClient.SqlDataReader.Read() +176
   ASP.scoreboard_aspx.Page_Load(Object Source, EventArgs E) +17232
   System.Web.UI.Control.OnLoad(EventArgs e) +67
   System.Web.UI.Control.LoadRecursive() +35
   System.Web.UI.Page.ProcessRequestMain() +750
</pre>
<p></code>
                  </td>
</tr>
</table>
<p></p>
<hr width=100% size=1 color=silver/>
<p>            <b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032</p>
<p>            </font></p>
]]></content:encoded>
			<wfw:commentRss>http://www.forthgo.com/blog/2005/07/31/net-spreading/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Find Primes Updated</title>
		<link>http://www.forthgo.com/blog/2005/06/23/find-primes-updated/</link>
		<comments>http://www.forthgo.com/blog/2005/06/23/find-primes-updated/#comments</comments>
		<pubDate>Fri, 24 Jun 2005 00:34:38 +0000</pubDate>
		<dc:creator>xan</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.forthgo.com/blog/2005/06/23/find-primes-updated/</guid>
		<description><![CDATA[I&#8217;ve updated the FindPrimes Benchmark page with results running under Windows. I also updated the C++ code to work around the GCC compiler bug that produced incorrect results at higher levels of optimization, so now the Xcode C++ times are as fast as the Java times. On Windows, all the languages produce about the same [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve updated the <a href='http://www.forthgo.com/blog/java-vs-c-vs-c-at-finding-primes/'>FindPrimes Benchmark page</a> with results running under Windows. I also updated the C++ code to work around the GCC compiler bug that produced incorrect results at higher levels of optimization, so now the Xcode C++ times are as fast as the Java times. On Windows, all the languages produce about the same times except that the Java version is slower on the first test (Linked List).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.forthgo.com/blog/2005/06/23/find-primes-updated/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>FindPrimes Benchmark</title>
		<link>http://www.forthgo.com/blog/2005/06/21/findprimes-benchmark/</link>
		<comments>http://www.forthgo.com/blog/2005/06/21/findprimes-benchmark/#comments</comments>
		<pubDate>Wed, 22 Jun 2005 00:33:59 +0000</pubDate>
		<dc:creator>xan</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.forthgo.com/blog/2005/06/21/findprimes-benchmark/</guid>
		<description><![CDATA[I&#8217;ve posted a short write-up with code of a FindPrimes Benchmark to compare Java, C++ and C# execution speeds on my Mac. Summary: C++ takes 1.5 &#8211; 2 times as long as Java and C# takes 3 times as long as Java. I didn&#8217;t expect much from C# (Mono) on the Mac, but who knew [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve posted a short write-up with code of a <a href='/blog/java-vs-c-vs-c-at-finding-primes/'>FindPrimes Benchmark</a> to compare Java, C++ and C# execution speeds on my Mac. Summary: C++ takes 1.5 &#8211; 2 times as long as Java and C# takes 3 times as long as Java. I didn&#8217;t expect much from C# (Mono) on the Mac, but who knew Mac Java was so good or that Mac C++ compilers/libraries were so bad?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.forthgo.com/blog/2005/06/21/findprimes-benchmark/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
