D vs. C#

Dave Dave_member at pathlink.com
Wed Oct 24 18:35:23 PDT 2007


"bearophile" <bearophileHUGS at lycos.com> wrote in message 
news:ffodsg$13q2$1 at digitalmars.com...
> Joel Lucsy Wrote:
>> Oh? Since when? I know for a fact it doesn't, especially since MS has a
>> new library they are constructing for .Net 3.5.
>
> I have done real tests of the nbody problem (from the Shootout site) of 
> the C# code on an beta version of dotnet 3.0 and it runs almost two times 
> faster than the D version (and the C++ version without parallel 
> annotations), I have done those tests with a friend :-) I have seen with 
> my eyes that it uses both cores of the CPU while running, while the D 
> version uses one only. So maybe we are talking about a bit different 
> things... There are many ways to mess things with quick tests, so I won't 
> push this topic more :-)
>

That sounds interesting - do you have a download link for the new runtime? 
Lately MS has been allowing the general public to download that type of 
stuff. I just got a dual-core machine and would like to see how it runs.

Last I looked, they had a v3.0 and now v3.5 beta Framework, but that just 
used the v2.xxx runtime.

Thanks.

> Bye,
> bearophile 




More information about the Digitalmars-d mailing list