D vs. C#

Joel Lucsy jjlucsy at gmail.com
Wed Oct 24 13:17:33 PDT 2007


bearophile wrote:
> - C# VM is able to parallelize code by itself, so if you have two CPU cores even small proggies with loops can end being quite faster (up to almost two times faster, in some tests I have done), and you don't need to change your sourcecode to do that (in C++ you can use OpenMP but you have to modify the code and you have to be careful, to avoid breaking your code in many interesting ways).

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. Some links are:

http://msdn.microsoft.com/msdnmag/issues/07/10/PLINQ/default.aspx
http://en.wikipedia.org/wiki/Task_Parallel_Library#TPL

-- 
Joel Lucsy
"The dinosaurs became extinct because they didn't have a space program." 
-- Larry Niven



More information about the Digitalmars-d mailing list