<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>myOffice Email Message</title>
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"MS Sans Serif";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Trebuchet MS";
        panose-1:2 11 6 3 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-NZ link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>You code wouldn’t even rate on the benchmark! The
test hardware (Toshiba T5800 laptop, in case you missed it) doesn’t
support the specific graphics card you would be relying on!<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I think you’ve misunderstood the object of the exercise.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>It wasn’t about finding the fastest way to do something
using whatever hardware was necessary. It was about comparing the
relative performance of commonly used languages on a given OS (Windows) and hardware
(32-bit x86) combination.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>And note that - aiui - C# still doesn’t compare very
favourably with Delphi in these benchmarks even when using “unsafe”
code (i.e. “direct” memory access).<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> delphi-bounces@delphi.org.nz
[mailto:delphi-bounces@delphi.org.nz] <b>On Behalf Of </b>Leigh Wanstead<br>
<b>Sent:</b> Thursday, 2 July 2009 09:51<br>
<b>To:</b> NZ Borland Developers Group - Delphi List<br>
<b>Subject:</b> Re: [DUG] delphi is fast-very fast<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<div>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>Frankly speaking, I am not impressed. ;-) If you use NVIDIA cuda
platform to run against gtx 280 graphics card, the performance improvement
might be increased 10x to 100 x faster. I have not done that code writing
for this test. But if someone on this dug list willing to pay me to write
a c in cuda code, I am willing to try. ;-)</span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>I will say Delphi got advantage is just simply because Delphi using
plain memory mode, and most other C#, java adds some extra work load. To run
against cuda code, Delphi losing on memory access latency compare to gpu vast
memory bandwidth in the card. The more data volume size will show cuda will be
better than any cpu memory latency restricted code.</span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Have
a nice day</span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Regards</span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Leigh</span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><a
href="http://www.smootharm.com">www.smootharm.com</a></span><o:p></o:p></p>
</div>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>-----Original Message-----<br>
<b>From:</b> delphi-bounces@delphi.org.nz [mailto:delphi-bounces@delphi.org.nz]<b>On
Behalf Of </b>Gary T. Benner<br>
<b>Sent:</b> Wednesday, 1 July 2009 8:41 p.m.<br>
<b>To:</b> delphi@delphi.org.nz<br>
<b>Subject:</b> [DUG] delphi is fast-very fast</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-family:"MS Sans Serif","serif"'>HI all,</span>
<o:p></o:p></p>
<p><span style='font-family:"MS Sans Serif","serif"'>Not yet Friday, but here's
an interesting post re the relative speeds of Delphi to other languages such as
C#, C++, Java, and PHP.</span> <o:p></o:p></p>
<p><span style='font-family:"MS Sans Serif","serif"'>http://compaspascal.blogspot.com/2009/06/delphi-is-fast-very-fast.html</span>
<o:p></o:p></p>
<p><span style='font-family:"MS Sans Serif","serif"'>Here's a taste...</span> <o:p></o:p></p>
<p><span style='font-family:"Trebuchet MS","sans-serif";color:maroon'>Delphi is
fast, very fast</span> <o:p></o:p></p>
<p><span style='font-family:"Trebuchet MS","sans-serif";color:maroon'>Jesper
Hald and others recently did a benchmark of a certain algorithm to figure out,
which was fastest. It evolved into a kind of competition to make the fastest algorithm
to solve this problem:Fill a data structure with 1,000,000 random, unsorted
values from 0-100 Run through this data structure 200 times, counting a) number
of values = 42 b) average for all 1,000,000*200 valuesThe benchmark was run on
a new T5800 Toshiba laptop running 32-bit Windows Vista. Nothing had been done
to the Vista to make it faster or behave in a special way.The results were
interesting, and our conclusions were:</span> <o:p></o:p></p>
<p><span style='font-family:"Trebuchet MS","sans-serif";color:maroon'>...</span>
<o:p></o:p></p>
<p><span style='font-family:"Trebuchet MS","sans-serif";color:black'>Gary</span>
<o:p></o:p></p>
<div>
<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:navy'><br>
<br>
<br>
<o:p></o:p></span></p>
<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:7.5pt;font-family:"Arial","sans-serif";color:navy'>
<hr size=2 width="100%" align=center>
</span></div>
<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:7.5pt;
font-family:"Arial","sans-serif";color:navy'><br>
<br>
<o:p></o:p></span></p>
<table class=MsoNormalTable border=0 cellpadding=0>
<tr>
<td style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal><br>
<span style='font-size:13.5pt;font-family:"Helvetica","sans-serif";
color:black'>Gary Benner </span><o:p></o:p></p>
</td>
</tr>
<tr>
<td style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>e-Engineer, Lecturer, and Software Developer</span><br>
<br>
<br>
<o:p></o:p></p>
</td>
</tr>
<tr>
<td style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#000099'><a href="http://www.benner.co.nz"><span style='text-decoration:
none'>Gary Benner & Associates</span></a></span></b><br>
<br>
<br>
<o:p></o:p></p>
</td>
</tr>
<tr>
<td style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#000099'><a href="http://www.123.net.nz"><span style='text-decoration:
none'>123 Internet Limited</span></a></span></b><br>
<br>
<br>
<o:p></o:p></p>
</td>
</tr>
<tr>
<td style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#000099'><a href="http://www.waiariki.ac.nz"><span style='color:#993333;
text-decoration:none'>Waiariki Institute of Technology</span></a></span></b><br>
<br>
<br>
<o:p></o:p></p>
</td>
</tr>
<tr>
<td style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Helvetica","sans-serif"'>Mob:
021 966 992</span><br>
<br>
<br>
<o:p></o:p></p>
</td>
</tr>
<tr>
<td style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Helvetica","sans-serif"'>Skype:
garybenner</span><br>
<br>
<br>
<o:p></o:p></p>
</td>
</tr>
<tr>
<td style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Helvetica","sans-serif"'>Email:
<a href="mailto:gary@benner.co.nz">gary@benner.co.nz</a> </span><o:p></o:p></p>
</td>
</tr>
</table>
<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:7.5pt;
font-family:"Arial","sans-serif";color:navy'><br>
<br>
<br>
<o:p></o:p></span></p>
</div>
<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:7.5pt;
font-family:"Arial","sans-serif";color:navy'><br>
<br>
Ref#: 41006<o:p></o:p></span></p>
</blockquote>
</div>
</body>
</html>