A summary of D's design principles

Juanjo Alvarez fake at fakeemail.com
Sun Sep 26 01:22:59 PDT 2010


On Fri, 17 Sep 2010 14:33:30 -0700, Walter Bright 
<newshound2 at digitalmars.com> wrote:
> Exactly. Much of that can be summed up as D being intended for 
professional 
> production use, rather than:

Anyway you can't ignore D's productivity. As a newcomer after one 
week learning and toying with D my productivity is about 70% of the 
one I have with Python after 8 years doing Python, and higher than 
the one I've with Java or C++. 

I've found that the compiler error messages are usually very 
informative,  which helps, but being able to link with C libs is a 
boost too, compared to Python or Java where you need to write lot 
more than declarations. 

Yesterday I translated some Python code (Quixote's scgi.py) to D in a 
couple hours and now it runs like five times faster (before any 
optimization or D-ization) using 10% of the.memory.  The translation 
was almost direct, line by line which speaks a lot about D's 
expresivity (I only missed something like list.remove(item)).


More information about the Digitalmars-d mailing list