<?xml version="1.0" encoding="iso-8859-1" ?>
<rss version="2.0">
  <channel>
    <title>Microsoft .NET pros and cons</title>
    <link>http://www.itwriting.com/phorum/list.php?6</link>
    <description><![CDATA[This is for discussion about the benefits of .NET vs Win32 or other programming platforms such as Java.]]></description>
    <language>EN</language>
    <pubDate>Sun, 03 Oct 2004 09:19:20 +0100</pubDate>
    <lastBuildDate>Sun, 03 Oct 2004 09:19:20 +0100</lastBuildDate>
    <category>Microsoft .NET pros and cons</category>
    <generator>Phorum 5.1.25</generator>
    <ttl>60</ttl>
    <item>
      <title>Re: Against: GUI applications are slow</title>
      <link>http://www.itwriting.com/phorum/read.php?6,3575,3607#msg-3607</link>
      <author>Clyde Davies</author>
      <description><![CDATA[So how will this change in Longhorn/Avalon?  As far as I understand, the managed interfaces will hook directly into DirectDraw.  I could be wrong, of couse....]]></description>
      <category>Microsoft .NET pros and cons</category>
      <guid isPermaLink="true">http://www.itwriting.com/phorum/read.php?6,3575,3607#msg-3607</guid>
      <pubDate>Sun, 03 Oct 2004 09:19:20 +0100</pubDate>
    </item>
    <item>
      <title>Re: Against: GUI applications are slow</title>
      <link>http://www.itwriting.com/phorum/read.php?6,3575,3606#msg-3606</link>
      <author>Tim</author>
      <description><![CDATA[Hermann,<br />
<br />
There is typically a huge difference between the speed of the .NET drawing methods and PInvoke to GDI even in .NET 1.1. I believe Quake 2 uses mostly OpenGL. Still an impressive demo though.<br />
<br />
Tim]]></description>
      <category>Microsoft .NET pros and cons</category>
      <guid isPermaLink="true">http://www.itwriting.com/phorum/read.php?6,3575,3606#msg-3606</guid>
      <pubDate>Sat, 02 Oct 2004 20:40:57 +0100</pubDate>
    </item>
    <item>
      <title>Re: Against: GUI applications are slow</title>
      <link>http://www.itwriting.com/phorum/read.php?6,3575,3605#msg-3605</link>
      <author>Hermann Klinke</author>
      <description><![CDATA[What .NET version were you using? This was a common issue on .NET beta versions. They've fixed it by .NET 1.1. <br />
Do you know that the developer of Quake 2 ported it from C to managed C++ and it was even faster than the original version? For changed something for some reason though, that made it slower than the original version, but not much. You can download the code for free if you want to see it.]]></description>
      <category>Microsoft .NET pros and cons</category>
      <guid isPermaLink="true">http://www.itwriting.com/phorum/read.php?6,3575,3605#msg-3605</guid>
      <pubDate>Sat, 02 Oct 2004 18:39:22 +0100</pubDate>
    </item>
    <item>
      <title>Against: GUI applications are slow</title>
      <link>http://www.itwriting.com/phorum/read.php?6,3575,3575#msg-3575</link>
      <author>Tim</author>
      <description><![CDATA[Windows Forms applications are typically less snappy than Win32 applications. As I understand it, part of the reason is that the drawing library uses GDI+, which does not benefit from the same acceleration as GDI in typical video drivers. There must be other factors too.<br />
<br />
A while back someone coded an application to test the performance of various languages/compilers. C# and VB.NET came out very badly, and I took a look at the code. The application simulated various elements by drawing the movement of atoms on the screen, and most of the time was spent in the drawing routines.  On one example element, the original code was drawing about 350 frames per second on my system. I tweaked the code to use PInvoke to GDI for the performance-critical drawing routines, and the performance increased to around 4500 fames per second. It's an astonishing difference, and simultaneously shows how slow .NET drawing can be, and how you can keep your application in C# but dramatically speed performance with judicious use of a few PInvoke calls.]]></description>
      <category>Microsoft .NET pros and cons</category>
      <guid isPermaLink="true">http://www.itwriting.com/phorum/read.php?6,3575,3575#msg-3575</guid>
      <pubDate>Wed, 22 Sep 2004 22:19:18 +0100</pubDate>
    </item>
  </channel>
</rss>
