D for scientific computing

Walter Bright newshound2 at digitalmars.com
Fri Jan 25 11:36:04 PST 2013


On 1/25/2013 9:45 AM, Rob T wrote:
> I wonder what the main reasons are for the reduction?

Some reasons:

1. elimination of .h files
2. array & string handling was so much more straightforward
3. elimination of need for many constructors and code to initialize things
4. easier cleanup with scope statement
5. templates are much more concise
6. a lot of boilerplate member functions are simply unnecessary in D
7. static if eliminates a lot of template source bloat

> Have you ever translated from D to C++?

Haven't tried that!



More information about the Digitalmars-d mailing list