WordCount performance

Walter Bright newshound1 at digitalmars.com
Thu Mar 27 12:10:29 PDT 2008


Saaa wrote:
> And maybe a silly question but how does optimizing D compare to optimizing 
> C++.
> Or is this exactly the same as the backend is that similar? 

The backend is not only similar, it is exactly the same.

Where C++ and D differ is in various opportunities present in the 
language semantics. For example, D has invariants so it can do some more 
aggressive optimizations that C++ cannot.



More information about the Digitalmars-d mailing list