A summary of D's design principles

Walter Bright newshound2 at digitalmars.com
Wed Sep 15 12:36:48 PDT 2010


Simen kjaeraas wrote:
> bearophile <bearophileHUGS at lycos.com> wrote:
> 
>> One of yours fixed:
>> - If it works in C, it works (almost) the same or not at all in D.
> 
> Mind giving examples to this one? I thought this was a big no-no.

I'm curious what bearophile is referring to, too. We've worked hard to ensure 
that C code either produces the same result (as defined behavior in C would) or 
fails to compile.

And I'd add to that that the performance of C code written in D should match or 
exceed performance of the same code compiled with a C compiler.

I'd put this under the heading of "D As A Better C".


More information about the Digitalmars-d mailing list