D vs. C#

Radu radu.racariu at void.space
Wed Oct 24 05:01:48 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).
>   

Some C++ compilers pretend to do that also, mainly Intel Compilers 
(http://www.intel.com/cd/software/products/asmo-na/eng/compilers/cwin/279578.htm).
I see no reason why D can't do that also, especially with new constructs 
coming in 2.0.






More information about the Digitalmars-d mailing list